Advertisement
Guest User

Untitled

a guest
Jul 31st, 2020
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. CMake Deprecation Warning at CMakeLists.txt:23 (cmake_policy):
  2. The OLD behavior for policy CMP0046 will be removed from a future version
  3. of CMake.
  4.  
  5. The cmake-policies(7) manual explains that the OLD behaviors of all
  6. policies are deprecated and that a policy should be set to OLD only under
  7. specific short-term circumstances. Projects should be ported to the NEW
  8. behavior and not rely on setting a policy to OLD.
  9.  
  10. -- The C compiler identification is AppleClang 11.0.3.11030032
  11. -- The CXX compiler identification is AppleClang 11.0.3.11030032
  12. -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  13. -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - works
  14. -- Detecting C compiler ABI info
  15. -- Detecting C compiler ABI info - done
  16. -- Detecting C compile features
  17. -- Detecting C compile features - done
  18. -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
  19. -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - broken
  20. CMake Error at /usr/local/Cellar/cmake/3.17.3/share/cmake/Modules/CMakeTestCXXCompiler.cmake:53 (message):
  21. The C++ compiler
  22.  
  23. "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++"
  24. is not able to compile a simple test program.
  25.  
  26. It fails with the following output:
  27.  
  28. Change Dir: /Users/user/Documents/gitpackages/LibreSprite/build/CMakeFiles/CMakeTmp
  29.  
  30. Run Build Command(s):/Users/user/deps/depot_tools/ninja cmTC_ca431 && [1/2] Building CXX object CMakeFiles/cmTC_ca431.dir/testCXXCompiler.cxx.o
  31. clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
  32. [2/2] Linking CXX executable cmTC_ca431
  33. FAILED: cmTC_ca431
  34. : && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.7 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_ca431.dir/testCXXCompiler.cxx.o -o cmTC_ca431 && :
  35. clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
  36. ld: library not found for -lstdc++
  37. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  38. ninja: build stopped: subcommand failed.
  39. CMake will not be able to correctly generate this project.
  40. Call Stack (most recent call first):
  41. CMakeLists.txt:39 (project)
  42.  
  43. -- Configuring incomplete, errors occurred!
  44. See also "/Users/user/Documents/gitpackages/LibreSprite/build/CMakeFiles/CMakeOutput.log".
  45. See also "/Users/user/Documents/gitpackages/LibreSprite/build/CMakeFiles/CMakeError.log".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement