Compiling on OS X Big Sur

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
User avatar
PaganRaven
Posts: 439
Joined: Fri Oct 14, 2005 2:21 pm

Compiling on OS X Big Sur

Post by PaganRaven »

I tried to follow this guide but clearly some new complications were thrown in since then. I tried installing the dependencies on MacPorts and changing the CMAKE variables as such in the text I'm writing to update the wiki page:


Code: Select all

sudo port install libjpeg-turbo fluidsynth openal-soft libsndfile mpg123 

Uncheck OPENAL_DY

Set JPEG_INCLUDE_DIR to /opt/local/include

Set JPEG_LIBRARY_RELEASE to /opt/local/lib/libturbojpeg.dylib

Set PKG_CONFIG_EXECUTABLE to /opt/local/bin/pkg-config

Set ZMUSI_INCLUDE_DIR to /opt/local/include/AL

Set ZMUSI_LIBRARIES to /opt/local/lib/libopenal.dylib

Press configure

Set OPENAL_INCLUDE_DIR to /opt/local/include/AL

Set OPENAL_LIBRARY to /opt/local/lib/libopenal.dylib

If somebody has been able to do it please help.

Also, I have the new mac mini with the M1 chip apple silicon. Fluidsynth works inside gzdoom, but not from the terminal

Code: Select all

~ % fluidsynth      
FluidSynth runtime version 2.0.5
Copyright (C) 2000-2019 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of E-mu Systems, Inc.

fluidsynth: error: Failed to get the default audio device
Failed to create the audio driver
User avatar
PaganRaven
Posts: 439
Joined: Fri Oct 14, 2005 2:21 pm

Re: Compiling on OS X Big Sur

Post by PaganRaven »

I found this "zmusic" folder inside bin/windows, and there is no osx variant folder. Can someone explain how this new fangled zmusic would have to be set up?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 48057
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Compiling on OS X Big Sur

Post by Graf Zahl »

Get it here: https://github.com/coelckers/ZMusic
It needs to be installed prior to compiling GZDoom.
Cacodemon345
Posts: 398
Joined: Fri Dec 22, 2017 1:53 am
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Compiling on OS X Big Sur

Post by Cacodemon345 »

As for standalone FluidSynth, try compiling it from the upstream repository and see if it helps. You can try opening a issue there if you can't get it to work on your system.
User avatar
PaganRaven
Posts: 439
Joined: Fri Oct 14, 2005 2:21 pm

Re: Compiling on OS X Big Sur

Post by PaganRaven »

Okay, I got it to spit out two libraries.
Screen Shot 2021-03-09 at 8.39.18 AM.png
So I use libzmusic.1.1.4.dylib for ZMUSIC_LIBRARIES. Check.

What do I use for ZMUSIC_INCLUDE_DIR? It didn't appear to make any .h files or include folder.
You do not have the required permissions to view the files attached to this post.
_mental_
 
 
Posts: 3774
Joined: Sun Aug 07, 2011 4:32 am

Re: Compiling on OS X Big Sur

Post by _mental_ »

You can use include folder in the root of ZMusic Git repository.
User avatar
PaganRaven
Posts: 439
Joined: Fri Oct 14, 2005 2:21 pm

Re: Compiling on OS X Big Sur

Post by PaganRaven »

I get this error when I configure.

Code: Select all

Building for target architecture: arm64
CMake Error at src/CMakeLists.txt:369 (message):
  C++ compiler doesn't support thread_local storage duration specifier
I think this is something to do with my xcode command line tools (I installed the stuff like, last week)
_mental_
 
 
Posts: 3774
Joined: Sun Aug 07, 2011 4:32 am

Re: Compiling on OS X Big Sur

Post by _mental_ »

What is the version you are trying to build? Please post commit hash or tag because answers like “latest”, “current”, “yesterday’s”, etc are meaningless.
User avatar
PaganRaven
Posts: 439
Joined: Fri Oct 14, 2005 2:21 pm

Re: Compiling on OS X Big Sur

Post by PaganRaven »

I cloned it off github, and re-clone it when things are messed up.

git clone https://github.com/coelckers/gzdoom.git

Also the .h file in that include folder is a bunch of windows headers.

Is this the precious tag you want? 3037c08840f209f9f6b6d7e6c2c69632472a5d54

It's v 4.5 that git clone clones, right? Not that 4.6 pre tag?
Last edited by PaganRaven on Tue Mar 09, 2021 12:37 pm, edited 1 time in total.
Cacodemon345
Posts: 398
Joined: Fri Dec 22, 2017 1:53 am
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Compiling on OS X Big Sur

Post by Cacodemon345 »

What Xcode version are you using?
User avatar
PaganRaven
Posts: 439
Joined: Fri Oct 14, 2005 2:21 pm

Re: Compiling on OS X Big Sur

Post by PaganRaven »

Xcode Version 12.4 (12D4e)
Cacodemon345
Posts: 398
Joined: Fri Dec 22, 2017 1:53 am
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Compiling on OS X Big Sur

Post by Cacodemon345 »

You have to use the master branch.
_mental_
 
 
Posts: 3774
Joined: Sun Aug 07, 2011 4:32 am

Re: Compiling on OS X Big Sur

Post by _mental_ »

If you really need 4.5, delete these lines in your local copy.
User avatar
PaganRaven
Posts: 439
Joined: Fri Oct 14, 2005 2:21 pm

Re: Compiling on OS X Big Sur

Post by PaganRaven »

Thanks for that mental! Getting warmer... now it can configure and generate at least, but it makes a corrupted app.

Code: Select all

Last login: Tue Mar  9 11:20:03 on ttys000
bill@Williams-Mac-mini ~ % cd /Users/bill/Documents/GitHub/gzdoom/build 
bill@Williams-Mac-mini build % make
[  0%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/7zArcIn.c.o
[  0%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/7zBuf.c.o
[  0%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/7zCrc.c.o
[  0%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/7zCrcOpt.c.o
[  1%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/7zDec.c.o
[  1%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/7zStream.c.o
[  1%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/Bcj2.c.o
[  1%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/Bra.c.o
[  1%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/Bra86.c.o
[  2%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/BraIA64.c.o
[  2%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/CpuArch.c.o
[  2%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/Delta.c.o
[  2%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/LzFind.c.o
[  2%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/Lzma2Dec.c.o
[  2%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/LzmaDec.c.o
[  3%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/LzmaEnc.c.o
[  3%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/Ppmd7.c.o
[  3%] Building C object libraries/lzma/CMakeFiles/lzma.dir/C/Ppmd7Dec.c.o
[  3%] Linking C static library liblzma.a
[  3%] Built target lzma
[  3%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/bitmap.cc.o
[  4%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/emit_action.cc.o
[  4%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/emit_dfa.cc.o
[  4%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/label.cc.o
[  4%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/go_construct.cc.o
[  4%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/go_destruct.cc.o
[  5%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/go_emit.cc.o
[  5%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/go_used_labels.cc.o
[  5%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/input_api.cc.o
[  5%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/output.cc.o
[  5%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/codegen/print.cc.o
[  6%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/conf/msg.cc.o
[  6%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/conf/opt.cc.o
[  6%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/conf/parse_opts.cc.o
[  6%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/conf/warn.cc.o
[  6%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/nfa/calc_size.cc.o
[  6%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/nfa/nfa.cc.o
[  7%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/nfa/split.cc.o
[  7%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/adfa/adfa.cc.o
[  7%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/adfa/prepare.cc.o
[  7%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/dfa/determinization.cc.o
[  7%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/dfa/fillpoints.cc.o
[  8%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/dfa/minimization.cc.o
[  8%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/display.cc.o
[  8%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/encoding/enc.cc.o
[  8%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/encoding/range_suffix.cc.o
[  8%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/encoding/utf8/utf8_regexp.cc.o
[  9%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/encoding/utf8/utf8_range.cc.o
[  9%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/encoding/utf8/utf8.cc.o
[  9%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/encoding/utf16/utf16_regexp.cc.o
[  9%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/encoding/utf16/utf16.cc.o
[  9%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/encoding/utf16/utf16_range.cc.o
[ 10%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/fixed_length.cc.o
[ 10%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/regexp/regexp.cc.o
[ 10%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/compile.cc.o
[ 10%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/rule_rank.cc.o
[ 10%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/skeleton/control_flow.cc.o
[ 10%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/skeleton/generate_code.cc.o
[ 11%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/skeleton/generate_data.cc.o
[ 11%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/skeleton/match_empty.cc.o
[ 11%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/skeleton/maxlen.cc.o
[ 11%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/skeleton/skeleton.cc.o
[ 11%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/skeleton/unreachable.cc.o
[ 12%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/ir/skeleton/way.cc.o
[ 12%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/main.cc.o
[ 12%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/parse/code.cc.o
[ 12%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/parse/input.cc.o
[ 12%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/parse/lex.cc.o
[ 13%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/parse/lex_conf.cc.o
[ 13%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/parse/parser.cc.o
[ 13%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/parse/scanner.cc.o
[ 13%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/parse/unescape.cc.o
[ 13%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/util/s_to_n32_unsafe.cc.o
[ 14%] Building CXX object tools/re2c/CMakeFiles/re2c.dir/src/util/range.cc.o
[ 14%] Linking CXX executable re2c
[ 14%] Built target re2c
[ 14%] Building C object tools/lemon/CMakeFiles/lemon.dir/lemon.c.o
[ 14%] Linking C executable lemon
/Users/bill/Documents/GitHub/gzdoom/build/tools/lemon
[ 14%] Built target lemon
[ 14%] Building C object tools/zipdir/CMakeFiles/zipdir.dir/zipdir.c.o
[ 15%] Linking C executable zipdir
[ 15%] Built target zipdir
[ 15%] Building C object libraries/gdtoa/CMakeFiles/gdtoa.dir/dmisc.c.o
[ 15%] Building C object libraries/gdtoa/CMakeFiles/gdtoa.dir/dtoa.c.o
[ 16%] Building C object libraries/gdtoa/CMakeFiles/gdtoa.dir/misc.c.o
/Users/bill/Documents/GitHub/gzdoom/libraries/gdtoa/misc.c:70:50: warning: 
      comparison of integers of different signs: 'long' and 'unsigned long'
      [-Wsign-compare]
                if (k <= Kmax && pmem_next - private_mem + len <= PRIVATE_mem) {
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~
1 warning generated.
[ 16%] Linking C static library libgdtoa.a
[ 16%] Built target gdtoa
src/gitinfo.h updated to commit g4.6pre-37-gaa57562cd-m.
[ 16%] Built target revision_check
[ 16%] Generating zcc-parse.c, zcc-parse.h
[ 16%] Generating sc_man_scanner.h
[ 16%] Generating xlat_parser.c, xlat_parser.h
[ 16%] Building CXX object src/CMakeFiles/zdoom.dir/common/platform/posix/cocoa/i_input.mm.o
[ 17%] Building CXX object src/CMakeFiles/zdoom.dir/common/platform/posix/cocoa/i_joystick.cpp.o
[ 17%] Building CXX object src/CMakeFiles/zdoom.dir/common/platform/posix/cocoa/i_main.mm.o
[ 17%] Building CXX object src/CMakeFiles/zdoom.dir/common/platform/posix/cocoa/i_system.mm.o
[ 17%] Building CXX object src/CMakeFiles/zdoom.dir/common/platform/posix/cocoa/i_video.mm.o
[ 17%] Building CXX object src/CMakeFiles/zdoom.dir/common/platform/posix/cocoa/st_console.mm.o
[ 18%] Building CXX object src/CMakeFiles/zdoom.dir/common/platform/posix/cocoa/st_start.mm.o
[ 18%] Building CXX object src/CMakeFiles/zdoom.dir/posix/i_steam.cpp.o
[ 18%] Building CXX object src/CMakeFiles/zdoom.dir/common/platform/posix/i_system_posix.cpp.o
[ 18%] Building CXX object src/CMakeFiles/zdoom.dir/common/platform/posix/osx/iwadpicker_cocoa.mm.o
[ 18%] Building CXX object src/CMakeFiles/zdoom.dir/common/platform/posix/osx/i_specialpaths.mm.o
[ 19%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/swrenderer/r_all.cpp.o
[ 19%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/swrenderer/r_swscene.cpp.o
[ 19%] Building CXX object src/CMakeFiles/zdoom.dir/common/rendering/polyrenderer/poly_all.cpp.o
[ 19%] Building CXX object src/CMakeFiles/zdoom.dir/common/textures/hires/hqnx/init.cpp.o
[ 19%] Building CXX object src/CMakeFiles/zdoom.dir/common/textures/hires/hqnx/hq2x.cpp.o
[ 20%] Building CXX object src/CMakeFiles/zdoom.dir/common/textures/hires/hqnx/hq3x.cpp.o
[ 20%] Building CXX object src/CMakeFiles/zdoom.dir/common/textures/hires/hqnx/hq4x.cpp.o
[ 20%] Building CXX object src/CMakeFiles/zdoom.dir/common/textures/hires/xbr/xbrz.cpp.o
[ 20%] Building CXX object src/CMakeFiles/zdoom.dir/common/textures/hires/xbr/xbrz_old.cpp.o
[ 20%] Building C object src/CMakeFiles/zdoom.dir/common/rendering/gl_load/gl_load.c.o
[ 20%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/hw_dynlightdata.cpp.o
[ 21%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_bsp.cpp.o
[ 21%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_fakeflat.cpp.o
[ 21%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_decal.cpp.o
[ 21%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_drawinfo.cpp.o
[ 21%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_drawlist.cpp.o
[ 22%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_clipper.cpp.o
[ 22%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_flats.cpp.o
[ 22%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_portal.cpp.o
[ 22%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_renderhacks.cpp.o
[ 22%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_sky.cpp.o
[ 23%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_skyportal.cpp.o
[ 23%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_sprites.cpp.o
[ 23%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_spritelight.cpp.o
[ 23%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_walls.cpp.o
[ 23%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_walls_vertex.cpp.o
[ 24%] Building CXX object src/CMakeFiles/zdoom.dir/rendering/hwrenderer/scene/hw_weapon.cpp.o
[ 24%] Building CXX object src/CMakeFiles/zdoom.dir/common/utility/matrix.cpp.o
[ 24%] Building CXX object src/CMakeFiles/zdoom.dir/common/rendering/polyrenderer/backend/poly_framebuffer.cpp.o
[ 24%] Building CXX object src/CMakeFiles/zdoom.dir/common/rendering/polyrenderer/backend/poly_buffers.cpp.o
[ 24%] Building CXX object src/CMakeFiles/zdoom.dir/common/rendering/polyrenderer/backend/poly_hwtexture.cpp.o
[ 25%] Building CXX object src/CMakeFiles/zdoom.dir/common/rendering/polyrenderer/backend/poly_renderstate.cpp.o
[ 25%] Building CXX object src/CMakeFiles/zdoom.dir/am_map.cpp.o
[ 25%] Building CXX object src/CMakeFiles/zdoom.dir/playsim/bots/b_bot.cpp.o
[ 25%] Building CXX object src/CMakeFiles/zdoom.dir/playsim/bots/b_func.cpp.o
[ 25%] Building CXX object src/CMakeFiles/zdoom.dir/playsim/bots/b_game.cpp.o
[ 25%] Building CXX object src/CMakeFiles/zdoom.dir/playsim/bots/b_move.cpp.o
[ 26%] Building CXX object src/CMakeFiles/zdoom.dir/playsim/bots/b_think.cpp.o
[ 26%] Building CXX object src/CMakeFiles/zdoom.dir/bbannouncer.cpp.o
[ 26%] Building CXX object src/CMakeFiles/zdoom.dir/console/c_cmds.cpp.o
[ 26%] Building CXX object src/CMakeFiles/zdoom.dir/console/c_notifybuffer.cpp.o
[ 26%] Building CXX object src/CMakeFiles/zdoom.dir/console/c_functions.cpp.o
[ 27%] Building CXX object src/CMakeFiles/zdoom.dir/ct_chat.cpp.o
[ 27%] Building CXX object src/CMakeFiles/zdoom.dir/d_iwad.cpp.o
[ 27%] Building CXX object src/CMakeFiles/zdoom.dir/d_main.cpp.o
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:447:3: error: use of
      undeclared identifier 'M_ClearMenus'; did you mean 'V_ClearFonts'?
                M_ClearMenus();
                ^~~~~~~~~~~~
                V_ClearFonts
/Users/bill/Documents/GitHub/gzdoom/src/common/fonts/v_font.h:188:6: note: 
      'V_ClearFonts' declared here
void V_ClearFonts();
     ^
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:1088:5: error: use of
      undeclared identifier 'M_Drawer'; did you mean 'F_Drawer'?
                                M_Drawer ();
                                ^~~~~~~~
                                F_Drawer
/Users/bill/Documents/GitHub/gzdoom/src/./intermission/intermission.h:321:6: note: 
      'F_Drawer' declared here
void F_Drawer ();
     ^
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:1159:3: error: use of
      undeclared identifier 'M_Drawer'; did you mean 'F_Drawer'?
                M_Drawer ();                    // menu is drawn even o...
                ^~~~~~~~
                F_Drawer
/Users/bill/Documents/GitHub/gzdoom/src/./intermission/intermission.h:321:6: note: 
      'F_Drawer' declared here
void F_Drawer ();
     ^
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:1192:4: error: use of
      undeclared identifier 'M_Drawer'; did you mean 'F_Drawer'?
                        M_Drawer ();                    // menu are draw...
                        ^~~~~~~~
                        F_Drawer
/Users/bill/Documents/GitHub/gzdoom/src/./intermission/intermission.h:321:6: note: 
      'F_Drawer' declared here
void F_Drawer ();
     ^
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:1220:2: error: use of
      undeclared identifier 'M_ClearMenus'; did you mean 'V_ClearFonts'?
        M_ClearMenus ();
        ^~~~~~~~~~~~
        V_ClearFonts
/Users/bill/Documents/GitHub/gzdoom/src/common/fonts/v_font.h:188:6: note: 
      'V_ClearFonts' declared here
void V_ClearFonts();
     ^
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:1276:5: error: use of
      undeclared identifier 'M_Ticker'
                                M_Ticker ();
                                ^
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:2794:29: error: use of
      undeclared identifier 'CurrentMenu'
                (menuactive == MENU_On && CurrentMenu && !CurrentMenu->I...
                                          ^
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:2794:45: error: use of
      undeclared identifier 'CurrentMenu'
                (menuactive == MENU_On && CurrentMenu && !CurrentMenu->I...
                                                          ^
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:3454:3: error: use of
      undeclared identifier 'M_Init'
                M_Init();
                ^
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:3558:4: error: use of
      undeclared identifier 'UpdateVRModes'
                        UpdateVRModes();
                        ^
/Users/bill/Documents/GitHub/gzdoom/src/d_main.cpp:3708:2: error: use of
      undeclared identifier 'M_ClearMenus'; did you mean 'V_ClearFonts'?
        M_ClearMenus();                                 // close menu if open
        ^~~~~~~~~~~~
        V_ClearFonts
/Users/bill/Documents/GitHub/gzdoom/src/common/fonts/v_font.h:188:6: note: 
      'V_ClearFonts' declared here
void V_ClearFonts();
     ^
11 errors generated.
make[2]: *** [src/CMakeFiles/zdoom.dir/d_main.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
bill@Williams-Mac-mini build % 
_mental_
 
 
Posts: 3774
Joined: Sun Aug 07, 2011 4:32 am

Re: Compiling on OS X Big Sur

Post by _mental_ »

Have no idea what went wrong, but it doesn’t really matter. I forgot to mention that 4.5 needs more fixes to run on Apple M1.
I suggest you to switch to master branch that has better support for macOS on Intel and ARM CPUs.

Return to “Technical Issues”