camenduru's picture
ceres-solver
54d9088
Performing C++ SOURCE FILE Test HAVE_BIGOBJ failed with the following output:
Change Dir: /content/ceres-bin/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_53811/fast && /usr/bin/make -f CMakeFiles/cmTC_53811.dir/build.make CMakeFiles/cmTC_53811.dir/build
make[1]: Entering directory '/content/ceres-bin/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_53811.dir/src.cxx.o
/usr/bin/c++ -DHAVE_BIGOBJ -fPIE /bigobj -o CMakeFiles/cmTC_53811.dir/src.cxx.o -c /content/ceres-bin/CMakeFiles/CMakeTmp/src.cxx
c++: error: /bigobj: No such file or directory
CMakeFiles/cmTC_53811.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_53811.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_53811.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/content/ceres-bin/CMakeFiles/CMakeTmp'
Makefile:127: recipe for target 'cmTC_53811/fast' failed
make: *** [cmTC_53811/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/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_c8b58/fast && /usr/bin/make -f CMakeFiles/cmTC_c8b58.dir/build.make CMakeFiles/cmTC_c8b58.dir/build
make[1]: Entering directory '/content/ceres-bin/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c8b58.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -fPIC -fPIE -o CMakeFiles/cmTC_c8b58.dir/src.c.o -c /content/ceres-bin/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_c8b58
/usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c8b58.dir/link.txt --verbose=1
/usr/bin/cc -fPIC CMakeFiles/cmTC_c8b58.dir/src.c.o -o cmTC_c8b58
CMakeFiles/cmTC_c8b58.dir/src.c.o: In function `main':
src.c:(.text+0x3e): undefined reference to `pthread_create'
src.c:(.text+0x4a): undefined reference to `pthread_detach'
src.c:(.text+0x56): undefined reference to `pthread_cancel'
src.c:(.text+0x67): undefined reference to `pthread_join'
src.c:(.text+0x7b): undefined reference to `pthread_atfork'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_c8b58.dir/build.make:98: recipe for target 'cmTC_c8b58' failed
make[1]: *** [cmTC_c8b58] Error 1
make[1]: Leaving directory '/content/ceres-bin/CMakeFiles/CMakeTmp'
Makefile:127: recipe for target 'cmTC_c8b58/fast' failed
make: *** [cmTC_c8b58/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/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_cd4f7/fast && /usr/bin/make -f CMakeFiles/cmTC_cd4f7.dir/build.make CMakeFiles/cmTC_cd4f7.dir/build
make[1]: Entering directory '/content/ceres-bin/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_cd4f7.dir/CheckFunctionExists.c.o
/usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -fPIE -o CMakeFiles/cmTC_cd4f7.dir/CheckFunctionExists.c.o -c /usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.22/Modules/CheckFunctionExists.c
Linking C executable cmTC_cd4f7
/usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cd4f7.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_cd4f7.dir/CheckFunctionExists.c.o -o cmTC_cd4f7 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_cd4f7.dir/build.make:98: recipe for target 'cmTC_cd4f7' failed
make[1]: *** [cmTC_cd4f7] Error 1
make[1]: Leaving directory '/content/ceres-bin/CMakeFiles/CMakeTmp'
Makefile:127: recipe for target 'cmTC_cd4f7/fast' failed
make: *** [cmTC_cd4f7/fast] Error 2
Determining if the function sgemm_ exists failed with the following output:
Change Dir: /content/ceres-bin/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_b1eb4/fast && /usr/bin/make -f CMakeFiles/cmTC_b1eb4.dir/build.make CMakeFiles/cmTC_b1eb4.dir/build
make[1]: Entering directory '/content/ceres-bin/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b1eb4.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=sgemm_ -fPIE -o CMakeFiles/cmTC_b1eb4.dir/CheckFunctionExists.c.o -c /usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.22/Modules/CheckFunctionExists.c
Linking C executable cmTC_b1eb4
/usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1eb4.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=sgemm_ CMakeFiles/cmTC_b1eb4.dir/CheckFunctionExists.c.o -o cmTC_b1eb4
CMakeFiles/cmTC_b1eb4.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x10): undefined reference to `sgemm_'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_b1eb4.dir/build.make:98: recipe for target 'cmTC_b1eb4' failed
make[1]: *** [cmTC_b1eb4] Error 1
make[1]: Leaving directory '/content/ceres-bin/CMakeFiles/CMakeTmp'
Makefile:127: recipe for target 'cmTC_b1eb4/fast' failed
make: *** [cmTC_b1eb4/fast] Error 2