77 lines
4.2 KiB
Plaintext
77 lines
4.2 KiB
Plaintext
Determining if the pthread_create exist failed with the following output:
|
|
Change Dir: /home/cs18/Desktop/games101_homework/08/CGL/build/CMakeFiles/CMakeTmp
|
|
|
|
Run Build Command:"/usr/bin/make" "cmTC_4e9e8/fast"
|
|
/usr/bin/make -f CMakeFiles/cmTC_4e9e8.dir/build.make CMakeFiles/cmTC_4e9e8.dir/build
|
|
make[1]: Entering directory '/home/cs18/Desktop/games101_homework/08/CGL/build/CMakeFiles/CMakeTmp'
|
|
Building C object CMakeFiles/cmTC_4e9e8.dir/CheckSymbolExists.c.o
|
|
/usr/bin/cc -o CMakeFiles/cmTC_4e9e8.dir/CheckSymbolExists.c.o -c /home/cs18/Desktop/games101_homework/08/CGL/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
|
Linking C executable cmTC_4e9e8
|
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4e9e8.dir/link.txt --verbose=1
|
|
/usr/bin/cc -rdynamic CMakeFiles/cmTC_4e9e8.dir/CheckSymbolExists.c.o -o cmTC_4e9e8
|
|
CMakeFiles/cmTC_4e9e8.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_4e9e8.dir/build.make:97: recipe for target 'cmTC_4e9e8' failed
|
|
make[1]: *** [cmTC_4e9e8] Error 1
|
|
make[1]: Leaving directory '/home/cs18/Desktop/games101_homework/08/CGL/build/CMakeFiles/CMakeTmp'
|
|
Makefile:126: recipe for target 'cmTC_4e9e8/fast' failed
|
|
make: *** [cmTC_4e9e8/fast] Error 2
|
|
|
|
File /home/cs18/Desktop/games101_homework/08/CGL/build/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/cs18/Desktop/games101_homework/08/CGL/build/CMakeFiles/CMakeTmp
|
|
|
|
Run Build Command:"/usr/bin/make" "cmTC_aea04/fast"
|
|
/usr/bin/make -f CMakeFiles/cmTC_aea04.dir/build.make CMakeFiles/cmTC_aea04.dir/build
|
|
make[1]: Entering directory '/home/cs18/Desktop/games101_homework/08/CGL/build/CMakeFiles/CMakeTmp'
|
|
Building C object CMakeFiles/cmTC_aea04.dir/CheckFunctionExists.c.o
|
|
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_aea04.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
|
|
Linking C executable cmTC_aea04
|
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_aea04.dir/link.txt --verbose=1
|
|
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_aea04.dir/CheckFunctionExists.c.o -o cmTC_aea04 -lpthreads
|
|
/usr/bin/ld: cannot find -lpthreads
|
|
collect2: error: ld returned 1 exit status
|
|
CMakeFiles/cmTC_aea04.dir/build.make:97: recipe for target 'cmTC_aea04' failed
|
|
make[1]: *** [cmTC_aea04] Error 1
|
|
make[1]: Leaving directory '/home/cs18/Desktop/games101_homework/08/CGL/build/CMakeFiles/CMakeTmp'
|
|
Makefile:126: recipe for target 'cmTC_aea04/fast' failed
|
|
make: *** [cmTC_aea04/fast] Error 2
|
|
|
|
|
|
Determining if the function glXGetProcAddressEXT exists failed with the following output:
|
|
Change Dir: /home/cs18/Desktop/games101_homework/08/CGL/build/CMakeFiles/CMakeTmp
|
|
|
|
Run Build Command:"/usr/bin/make" "cmTC_d5fb6/fast"
|
|
/usr/bin/make -f CMakeFiles/cmTC_d5fb6.dir/build.make CMakeFiles/cmTC_d5fb6.dir/build
|
|
make[1]: Entering directory '/home/cs18/Desktop/games101_homework/08/CGL/build/CMakeFiles/CMakeTmp'
|
|
Building C object CMakeFiles/cmTC_d5fb6.dir/CheckFunctionExists.c.o
|
|
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=glXGetProcAddressEXT -o CMakeFiles/cmTC_d5fb6.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
|
|
Linking C executable cmTC_d5fb6
|
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d5fb6.dir/link.txt --verbose=1
|
|
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=glXGetProcAddressEXT -rdynamic CMakeFiles/cmTC_d5fb6.dir/CheckFunctionExists.c.o -o cmTC_d5fb6 /usr/lib/x86_64-linux-gnu/libGL.so
|
|
CMakeFiles/cmTC_d5fb6.dir/CheckFunctionExists.c.o: In function `main':
|
|
CheckFunctionExists.c:(.text+0x10): undefined reference to `glXGetProcAddressEXT'
|
|
collect2: error: ld returned 1 exit status
|
|
CMakeFiles/cmTC_d5fb6.dir/build.make:98: recipe for target 'cmTC_d5fb6' failed
|
|
make[1]: *** [cmTC_d5fb6] Error 1
|
|
make[1]: Leaving directory '/home/cs18/Desktop/games101_homework/08/CGL/build/CMakeFiles/CMakeTmp'
|
|
Makefile:126: recipe for target 'cmTC_d5fb6/fast' failed
|
|
make: *** [cmTC_d5fb6/fast] Error 2
|
|
|
|
|