Advertisement
Guest User

zig cc

a guest
Mar 25th, 2020
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. -- The C compiler identification is Clang 10.0.0
  2. -- The CXX compiler identification is Clang 10.0.0
  3. -- Check for working C compiler: /Users/adamkowalski/Downloads/zig/zig
  4. -- Check for working C compiler: /Users/adamkowalski/Downloads/zig/zig - works
  5. -- Detecting C compiler ABI info
  6. -- Detecting C compiler ABI info - done
  7. -- Detecting C compile features
  8. -- Detecting C compile features - done
  9. -- Check for working CXX compiler: /Users/adamkowalski/Downloads/zig/zig
  10. -- Check for working CXX compiler: /Users/adamkowalski/Downloads/zig/zig - broken
  11. CMake Error at /usr/local/Cellar/cmake/3.17.0/share/cmake/Modules/CMakeTestCXXCompiler.cmake:53 (message):
  12. The C++ compiler
  13.  
  14. "/Users/adamkowalski/Downloads/zig/zig"
  15.  
  16. is not able to compile a simple test program.
  17.  
  18. It fails with the following output:
  19.  
  20. Change Dir: /Users/adamkowalski/zig/build/CMakeFiles/CMakeTmp
  21.  
  22. Run Build Command(s):/usr/local/bin/ninja cmTC_482f1 && [1/2] Building CXX object CMakeFiles/cmTC_482f1.dir/testCXXCompiler.cxx.o
  23. [2/2] Linking CXX executable cmTC_482f1
  24. FAILED: cmTC_482f1
  25. : && /Users/adamkowalski/Downloads/zig/zig cc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_482f1.dir/testCXXCompiler.cxx.o -o cmTC_482f1 && :
  26. warning: unsupported linker arg: -search_paths_first
  27. warning: unsupported linker arg: -headerpad_max_install_names
  28. Undefined symbol: CMakeFiles/cmTC_482f1.dir/testCXXCompiler.cxx.o: vtable for __cxxabiv1::__function_type_info
  29. symbol(s) not found
  30.  
  31. ninja: build stopped: subcommand failed.
  32.  
  33.  
  34.  
  35.  
  36.  
  37. CMake will not be able to correctly generate this project.
  38. Call Stack (most recent call first):
  39. CMakeLists.txt:18 (project)
  40.  
  41.  
  42. -- Configuring incomplete, errors occurred!
  43. See also "/Users/adamkowalski/zig/build/CMakeFiles/CMakeOutput.log".
  44. See also "/Users/adamkowalski/zig/build/CMakeFiles/CMakeError.log".
  45. ninja: error: loading 'build.ninja': No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement