Skip to content

Instantly share code, notes, and snippets.

@alexattia
Created July 17, 2017 17:39
Show Gist options
  • Save alexattia/1e54ffb87c9eb4c811033f5cadd90331 to your computer and use it in GitHub Desktop.
Save alexattia/1e54ffb87c9eb4c811033f5cadd90331 to your computer and use it in GitHub Desktop.
End of the --trace expand
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeCInformation.cmake(209): mark_as_advanced(CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeCInformation.cmake(216): set(CMAKE_C_INFORMATION_LOADED 1 )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(5): if(CMAKE_C_COMPILER_FORCED )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(12): include(CMakeTestCompilerCommon )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCompilerCommon.cmake(5): function(PrintTestCompilerStatus LANG MSG )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(16): unset(CMAKE_C_COMPILER_WORKS CACHE )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(23): if(NOT CMAKE_C_COMPILER_WORKS )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(24): PrintTestCompilerStatus(C )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCompilerCommon.cmake(6): message(STATUS Check for working C compiler: /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
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(25): file(WRITE /Users/alexandreattia/src/dlib-18.16/build/CMakeFiles/CMakeTmp/testCCompiler.c #ifdef __cplusplus
# error "The CMAKE_C_COMPILER is set to a C++ compiler"
#endif
#if defined(__CLASSIC_C__)
int main(argc, argv)
int argc;
char* argv[];
#else
int main(int argc, char* argv[])
#endif
{ (void)argv; return argc-1;}
)
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(37): try_compile(CMAKE_C_COMPILER_WORKS /Users/alexandreattia/src/dlib-18.16/build /Users/alexandreattia/src/dlib-18.16/build/CMakeFiles/CMakeTmp/testCCompiler.c OUTPUT_VARIABLE __CMAKE_C_COMPILER_OUTPUT )
CMake Warning (dev) at /usr/local/Cellar/cmake/3.8.2/share/cmake/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.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.8.2/share/cmake/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.
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(41): set(CMAKE_C_COMPILER_WORKS FALSE )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(42): unset(CMAKE_C_COMPILER_WORKS CACHE )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(43): set(C_TEST_WAS_RUN 1 )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(46): if(NOT CMAKE_C_COMPILER_WORKS )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(47): PrintTestCompilerStatus(C -- broken )
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCompilerCommon.cmake(6): message(STATUS Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- broken )
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- broken
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(48): file(APPEND /Users/alexandreattia/src/dlib-18.16/build/CMakeFiles/CMakeError.log Determining if the C compiler works failed with the following output:
Change Dir: /Users/alexandreattia/src/dlib-18.16/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_05e45/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_05e45.dir/build.make CMakeFiles/cmTC_05e45.dir/build
Building C object CMakeFiles/cmTC_05e45.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o CMakeFiles/cmTC_05e45.dir/testCCompiler.c.o -c /Users/alexandreattia/src/dlib-18.16/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_05e45
/usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_05e45.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_05e45.dir/testCCompiler.c.o -o cmTC_05e45
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_05e45] Error 1
make: *** [cmTC_05e45/fast] Error 2
)
/usr/local/Cellar/cmake/3.8.2/share/cmake/Modules/CMakeTestCCompiler.cmake(51): message(FATAL_ERROR 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-18.16/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_05e45/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_05e45.dir/build.make CMakeFiles/cmTC_05e45.dir/build
Building C object CMakeFiles/cmTC_05e45.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o CMakeFiles/cmTC_05e45.dir/testCCompiler.c.o -c /Users/alexandreattia/src/dlib-18.16/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_05e45
/usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_05e45.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_05e45.dir/testCCompiler.c.o -o cmTC_05e45
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_05e45] Error 1
make: *** [cmTC_05e45/fast] Error 2
CMake will not be able to correctly generate this project. )
CMake Error at /usr/local/Cellar/cmake/3.8.2/share/cmake/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-18.16/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_05e45/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTC_05e45.dir/build.make CMakeFiles/cmTC_05e45.dir/build
Building C object CMakeFiles/cmTC_05e45.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-o CMakeFiles/cmTC_05e45.dir/testCCompiler.c.o -c
/Users/alexandreattia/src/dlib-18.16/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_05e45
/usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_05e45.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_05e45.dir/testCCompiler.c.o -o
cmTC_05e45
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_05e45] Error 1
make: *** [cmTC_05e45/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
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.
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.
-- Configuring incomplete, errors occurred!
See also "/Users/alexandreattia/src/dlib-18.16/build/CMakeFiles/CMakeOutput.log".
See also "/Users/alexandreattia/src/dlib-18.16/build/CMakeFiles/CMakeError.log".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment