camenduru's picture
ceres-solver-v2
01fbe06
Performing C++ SOURCE FILE Test HAVE_BIGOBJ failed with the following output:
Change Dir: /content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-fsaIOM
Run Build Command(s):/usr/bin/make -f Makefile cmTC_401d4/fast && /usr/bin/make -f CMakeFiles/cmTC_401d4.dir/build.make CMakeFiles/cmTC_401d4.dir/build
make[1]: Entering directory '/content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-fsaIOM'
Building CXX object CMakeFiles/cmTC_401d4.dir/src.cxx.o
/usr/bin/c++ -DHAVE_BIGOBJ -fPIE /bigobj -o CMakeFiles/cmTC_401d4.dir/src.cxx.o -c /content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-fsaIOM/src.cxx
c++: error: /bigobj: No such file or directory
make[1]: *** [CMakeFiles/cmTC_401d4.dir/build.make:78: CMakeFiles/cmTC_401d4.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-fsaIOM'
make: *** [Makefile:127: cmTC_401d4/fast] Error 2
Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-KgJkYM
Run Build Command(s):/usr/bin/make -f Makefile cmTC_93c5c/fast && /usr/bin/make -f CMakeFiles/cmTC_93c5c.dir/build.make CMakeFiles/cmTC_93c5c.dir/build
make[1]: Entering directory '/content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-KgJkYM'
Building C object CMakeFiles/cmTC_93c5c.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -fPIC -fPIE -o CMakeFiles/cmTC_93c5c.dir/src.c.o -c /content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-KgJkYM/src.c
Linking C executable cmTC_93c5c
/usr/local/lib/python3.9/dist-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_93c5c.dir/link.txt --verbose=1
/usr/bin/cc -fPIC CMakeFiles/cmTC_93c5c.dir/src.c.o -o cmTC_93c5c
/usr/bin/ld: CMakeFiles/cmTC_93c5c.dir/src.c.o: in function `main':
src.c:(.text+0x46): undefined reference to `pthread_create'
/usr/bin/ld: src.c:(.text+0x52): undefined reference to `pthread_detach'
/usr/bin/ld: src.c:(.text+0x5e): undefined reference to `pthread_cancel'
/usr/bin/ld: src.c:(.text+0x6f): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_93c5c.dir/build.make:99: cmTC_93c5c] Error 1
make[1]: Leaving directory '/content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-KgJkYM'
make: *** [Makefile:127: cmTC_93c5c/fast] Error 2
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-L47FkJ
Run Build Command(s):/usr/bin/make -f Makefile cmTC_212ee/fast && /usr/bin/make -f CMakeFiles/cmTC_212ee.dir/build.make CMakeFiles/cmTC_212ee.dir/build
make[1]: Entering directory '/content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-L47FkJ'
Building C object CMakeFiles/cmTC_212ee.dir/CheckFunctionExists.c.o
/usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -fPIE -o CMakeFiles/cmTC_212ee.dir/CheckFunctionExists.c.o -c /content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-L47FkJ/CheckFunctionExists.c
Linking C executable cmTC_212ee
/usr/local/lib/python3.9/dist-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_212ee.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_212ee.dir/CheckFunctionExists.c.o -o cmTC_212ee -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_212ee.dir/build.make:99: cmTC_212ee] Error 1
make[1]: Leaving directory '/content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-L47FkJ'
make: *** [Makefile:127: cmTC_212ee/fast] Error 2
Determining if the function sgemm_ exists failed with the following output:
Change Dir: /content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-As5JpL
Run Build Command(s):/usr/bin/make -f Makefile cmTC_bd285/fast && /usr/bin/make -f CMakeFiles/cmTC_bd285.dir/build.make CMakeFiles/cmTC_bd285.dir/build
make[1]: Entering directory '/content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-As5JpL'
Building C object CMakeFiles/cmTC_bd285.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=sgemm_ -fPIE -o CMakeFiles/cmTC_bd285.dir/CheckFunctionExists.c.o -c /content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-As5JpL/CheckFunctionExists.c
Linking C executable cmTC_bd285
/usr/local/lib/python3.9/dist-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd285.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=sgemm_ CMakeFiles/cmTC_bd285.dir/CheckFunctionExists.c.o -o cmTC_bd285
/usr/bin/ld: CMakeFiles/cmTC_bd285.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text+0x14): undefined reference to `sgemm_'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_bd285.dir/build.make:99: cmTC_bd285] Error 1
make[1]: Leaving directory '/content/ceres-bin/CMakeFiles/CMakeScratch/TryCompile-As5JpL'
make: *** [Makefile:127: cmTC_bd285/fast] Error 2