Matt Sephton
Matt Sephton
No, I had not 🔰 On it...
So close! ``` ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Run script build phase 'Generate...
Just to make sure, I'm doing: ``` cmake .. \ -D MACOS_BUNDLE=true \ -G Xcode \ -D CMAKE_C_COMPILER="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc" \ -D CMAKE_CXX_COMPILER="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++" \ -D CMAKE_OSX_ARCHITECTURES="arm64;x86_64" ``` and ``` sudo cmake --build...
Yeah, the feeling I get is that `-D CMAKE_OSX_ARCHITECTURES="arm64;x86_64"` is not enough for universal build. I have just built Apple silicon only version using `cmake .. -D MACOS_BUNDLE=true -G Xcode`...
Just added a quick change to macOS build doc, as #66
For build script/instructions see https://github.com/fallahn/crogine/issues/68#issuecomment-1468782756
Building 1.12.1 fails with the following error regarding MenuAvatars.cpp Is this the llvm/clang issue you were referring to on Twitter? ``` ** BUILD FAILED ** The following build commands failed:...
Sadly still the same "BUILD FAILED" error.
LOL, sorry. ``` /Users/matt/Downloads/2023-04-26/crogine/crogine-golf-v1.12.1/samples/golf/src/golf/MenuAvatars.cpp:1650:26: error: 'remove_all' is unavailable: introduced in macOS 10.15 std::filesystem::remove_all(path, ec); ^ In file included from /Users/matt/Downloads/2023-04-26/crogine/crogine-golf-v1.12.1/samples/golf/src/golf/MenuAvatars.cpp:50: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/filesystem:2246:44: note: 'remove_all' has been explicitly marked unavailable here inline...
D'oh! I had unzipped a fresh source and forgot to edit the CMake file again. Bumping it to 10.15 and it builds! I have updated my build script to automatically...