My issue was that /Applications/XCode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.15.sdk was not the actual location of my MacOS SDK. I had everything set up in the right place, but couldn’t get it to make something for ninja to compile. Namely getting both cmake and ninja installed via Homebrew. I know this is a super necro, but I was struggling with this and couldn’t find a solid answer anywhere, so I figured I would post it here. Ninja: error: loading 'build.ninja': No such file or build % See also "/Users/Me/aseprite/build/CMakeFiles/CMakeError.log". See also "/Users/Me/aseprite/build/CMakeFiles/CMakeOutput.log". Configuring incomplete, errors occurred! : & /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_5f62e.dir/testCCompiler.c.o -o cmTC_5f62e & :Ĭlang: error: linker command failed with exit code 1 (use -v to see invocation)ĬMake will not be able to correctly generate this project. Run Build Command(s):/opt/homebrew/bin/ninja cmTC_5f62e & Building C object CMakeFiles/cmTC_5f62e.dir/testCCompiler.c.o Is not able to compile a simple test program.Ĭhange Dir: /Users/Me/aseprite/build/CMakeFiles/CMakeTmp "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc" Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - brokenĬMake Error at /opt/homebrew/Cellar/cmake/3.21.1/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message): Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc The CXX compiler identification is AppleClang 12.0022 The C compiler identification is AppleClang 12.0022 opt/homebrew/Cellar/cmake/3.21.1/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:21 (include) Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.15.sdk Projects should be ported to the NEWīehavior and not rely on setting a policy to OLD.ĬMake Warning at /opt/homebrew/Cellar/cmake/3.21.1/share/cmake/Modules/Platform/Darwin-Initialize.cmake:303 (message): Policies are deprecated and that a policy should be set to OLD only under The cmake-policies(7) manual explains that the OLD behaviors of all The OLD behavior for policy CMP0046 will be removed from a future version DSKIA_LIBRARY=$HOME/deps/skia/out/Release-圆4/libskia.a \ĬMake Deprecation Warning at CMakeLists.txt:16 (cmake_policy): DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.15.sdk \ When I tried to code from Github cd aseprite Directory: Users/Me/aseprite have build folder in itĭirectroy: Users/Me/deps/skia …/Skia-macOS-Release-圆4 have build folder and CMakeLists.txt in it, depot_tools folder installed
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |