Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Anyone want to help troubleshoot compiling on MacOS?

(I'm not an experienced dev, but I can usually get stuff to compile...)

MacOSX 10.13.x, using latest stable branch. I got CMAKE to run fine, make fails with:
[  2%] Building CXX object sdk/libcore/CMakeFiles/libcore.dir/src/c_wrapper.cpp.o
error: trigraphs was enabled in PCH file but is currently disabled
1 error generated.
make[2]: *** [sdk/libcore/CMakeFiles/libcore.dir/src/c_wrapper.cpp.o] Error 1
make[1]: *** [sdk/libcore/CMakeFiles/libcore.dir/all] Error 2
make: *** [all] Error 2

I know this isn't a DE specific thing, probably a clang compiler setting/flag thing... (As I go through, I could write up some additions to the "how to compile" entry, as well.

Comments

  • I get this error on macOS if the DENG_ENABLE_COTIRE build option is enabled. I'm typically using ccache myself, which disables cotire, so I haven't noticed this has been broken. :#

    I just pushed a change that disables cotire on the Mac by default, so it should avoid this issue. Please check your build config and/or pull the latest revision and reconfigure.
  • That worked around the problem, thanks! (My notification settings were such I didn't see your reply earlier.)

    Always fun to troubleshoot a complex build system you don't know, on a non-trivial codebase, and learning git features at the same time. :tongue:
Sign In or Register to comment.