Skip to content

Instantly share code, notes, and snippets.

@alexattia
Created July 24, 2017 20:20
Show Gist options
  • Save alexattia/24972ba1697198de0fa8603348961669 to your computer and use it in GitHub Desktop.
Save alexattia/24972ba1697198de0fa8603348961669 to your computer and use it in GitHub Desktop.
debug output
Running with debug output on.
-- The C compiler identification is AppleClang 8.1.0.8020042
Called from: [3] /opt/local/share/cmake-3.9/Modules/CMakeDetermineCompilerId.cmake
[2] /opt/local/share/cmake-3.9/Modules/CMakeDetermineCCompiler.cmake
[1] /Users/alexandreattia/src/dlib-19.4/CMakeLists.txt
-- The CXX compiler identification is AppleClang 8.1.0.8020042
Called from: [3] /opt/local/share/cmake-3.9/Modules/CMakeDetermineCompilerId.cmake
[2] /opt/local/share/cmake-3.9/Modules/CMakeDetermineCXXCompiler.cmake
[1] /Users/alexandreattia/src/dlib-19.4/CMakeLists.txt
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Called from: [3] /opt/local/share/cmake-3.9/Modules/CMakeTestCompilerCommon.cmake
[2] /opt/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake
[1] /Users/alexandreattia/src/dlib-19.4/CMakeLists.txt
CMake Warning (dev) at /opt/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:37 (try_compile):
Policy CMP0066 is not set: Honor per-config flags in try_compile()
source-file signature. Run "cmake --help-policy CMP0066" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
For compatibility with older versions of CMake, try_compile is not honoring
caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the
test project.
Call Stack (most recent call first):
CMakeLists.txt
This warning is for project developers. Use -Wno-dev to suppress it.
Called from: [2] /opt/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake
[1] /Users/alexandreattia/src/dlib-19.4/CMakeLists.txt
CMake Warning (dev) at /opt/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:37 (try_compile):
Policy CMP0056 is not set: Honor link flags in try_compile() source-file
signature. Run "cmake --help-policy CMP0056" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
For compatibility with older versions of CMake, try_compile is not honoring
caller link flags (e.g. CMAKE_EXE_LINKER_FLAGS) in the test project.
Call Stack (most recent call first):
CMakeLists.txt
This warning is for project developers. Use -Wno-dev to suppress it.
Called from: [2] /opt/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake
[1] /Users/alexandreattia/src/dlib-19.4/CMakeLists.txt
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- broken
Called from: [3] /opt/local/share/cmake-3.9/Modules/CMakeTestCompilerCommon.cmake
[2] /opt/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake
[1] /Users/alexandreattia/src/dlib-19.4/CMakeLists.txt
CMake Error at /opt/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/alexandreattia/src/dlib-19.4/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f9c5f/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTC_f9c5f.dir/build.make CMakeFiles/cmTC_f9c5f.dir/build
Building C object CMakeFiles/cmTC_f9c5f.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-o CMakeFiles/cmTC_f9c5f.dir/testCCompiler.c.o -c
/Users/alexandreattia/src/dlib-19.4/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_f9c5f
/opt/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_f9c5f.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-Wl,-search_paths_first -Wl,-headerpad_max_install_names
/usr/local/opt/qt/lib CMakeFiles/cmTC_f9c5f.dir/testCCompiler.c.o -o
cmTC_f9c5f
ld: can't map file, errno=22 file '/usr/local/opt/qt/lib' for architecture
x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[1]: *** [cmTC_f9c5f] Error 1
make: *** [cmTC_f9c5f/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt
Called from: [2] /opt/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake
[1] /Users/alexandreattia/src/dlib-19.4/CMakeLists.txt
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0025 is not set: Compiler id for Apple Clang is now AppleClang.
Run "cmake --help-policy CMP0025" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Converting C compiler id "AppleClang" to "Clang" for compatibility.
This warning is for project developers. Use -Wno-dev to suppress it.
Called from: [1] /Users/alexandreattia/src/dlib-19.4/CMakeLists.txt
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0025 is not set: Compiler id for Apple Clang is now AppleClang.
Run "cmake --help-policy CMP0025" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Converting CXX compiler id "AppleClang" to "Clang" for compatibility.
This warning is for project developers. Use -Wno-dev to suppress it.
Called from: [1] /Users/alexandreattia/src/dlib-19.4/CMakeLists.txt
-- Configuring incomplete, errors occurred!
See also "/Users/alexandreattia/src/dlib-19.4/build/CMakeFiles/CMakeOutput.log".
See also "/Users/alexandreattia/src/dlib-19.4/build/CMakeFiles/CMakeError.log".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment