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