Open fire9291 opened 2 years ago
Run Build Command(s):/usr/bin/make cmTC_bc9da/fast && /usr/bin/make -f CMakeFiles/cmTC_bc9da.dir/build.make CMakeFiles/cmTC_bc9da.dir/build
make[1]: Entering directory '/home/yang/Downloads/minc-toolkit-v2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_bc9da.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -fPIE -o CMakeFiles/cmTC_bc9da.dir/src.c.o -c /home/yang/Downloads/minc-toolkit-v2/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_bc9da
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bc9da.dir/link.txt --verbose=1
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD CMakeFiles/cmTC_bc9da.dir/src.c.o -o cmTC_bc9da
/usr/bin/ld: CMakeFiles/cmTC_bc9da.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+0x63): undefined reference to
pthread_join'
collect2: error: ld returned 1 exit status
make[1]: [CMakeFiles/cmTC_bc9da.dir/build.make:87: cmTC_bc9da] Error 1
make[1]: Leaving directory '/home/yang/Downloads/minc-toolkit-v2/build/CMakeFiles/CMakeTmp'
make: [Makefile:121: cmTC_bc9da/fast] Error 2
maybe use pre-built binaries from https://bic-mni.github.io/ or from conda?
I am very new to programing. But I need this toolkit for Pydpiper. I got a long error log when
cmake ..
.Can anyone help me? CMakeError.log