Skip to content

Instantly share code, notes, and snippets.

@vovs03
Created October 29, 2018 10:12
Show Gist options
  • Save vovs03/c03ec1cf8714e1a79e1b91cde2f69605 to your computer and use it in GitHub Desktop.
Save vovs03/c03ec1cf8714e1a79e1b91cde2f69605 to your computer and use it in GitHub Desktop.
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --c++
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: --ec++
The output was:
No such file or directory
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_39dce/fast"
/usr/bin/make -f CMakeFiles/cmTC_39dce.dir/build.make CMakeFiles/cmTC_39dce.dir/build
make[1]: Entering directory '/home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_39dce.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_39dce.dir/CheckSymbolExists.c.o -c /home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_39dce
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_39dce.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_39dce.dir/CheckSymbolExists.c.o -o cmTC_39dce
CMakeFiles/cmTC_39dce.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_39dce.dir/build.make:97: recipe for target 'cmTC_39dce' failed
make[1]: *** [cmTC_39dce] Error 1
make[1]: Leaving directory '/home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_39dce/fast' failed
make: *** [cmTC_39dce/fast] Error 2
File /home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_6b2c6/fast"
/usr/bin/make -f CMakeFiles/cmTC_6b2c6.dir/build.make CMakeFiles/cmTC_6b2c6.dir/build
make[1]: Entering directory '/home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6b2c6.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_6b2c6.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_6b2c6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6b2c6.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_6b2c6.dir/CheckFunctionExists.c.o -o cmTC_6b2c6 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_6b2c6.dir/build.make:97: recipe for target 'cmTC_6b2c6' failed
make[1]: *** [cmTC_6b2c6] Error 1
make[1]: Leaving directory '/home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_6b2c6/fast' failed
make: *** [cmTC_6b2c6/fast] Error 2
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_438e9/fast"
/usr/bin/make -f CMakeFiles/cmTC_438e9.dir/build.make CMakeFiles/cmTC_438e9.dir/build
make[1]: Entering directory '/home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_438e9.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_438e9.dir/CheckSymbolExists.c.o -c /home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_438e9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_438e9.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_438e9.dir/CheckSymbolExists.c.o -o cmTC_438e9
CMakeFiles/cmTC_438e9.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_438e9.dir/build.make:97: recipe for target 'cmTC_438e9' failed
make[1]: *** [cmTC_438e9] Error 1
make[1]: Leaving directory '/home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_438e9/fast' failed
make: *** [cmTC_438e9/fast] Error 2
File /home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_eca3d/fast"
/usr/bin/make -f CMakeFiles/cmTC_eca3d.dir/build.make CMakeFiles/cmTC_eca3d.dir/build
make[1]: Entering directory '/home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_eca3d.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_eca3d.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_eca3d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_eca3d.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_eca3d.dir/CheckFunctionExists.c.o -o cmTC_eca3d -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_eca3d.dir/build.make:97: recipe for target 'cmTC_eca3d' failed
make[1]: *** [cmTC_eca3d] Error 1
make[1]: Leaving directory '/home/keyjoo/Downloads/radiotray-lite-master/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_eca3d/fast' failed
make: *** [cmTC_eca3d/fast] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment