[vtkusers] Error while building VTK 4.2.1 with CMake on Linux
William A. Hoffman
billlist at nycap.rr.com
Mon Mar 10 10:30:11 EST 2003
I am not sure how you are getting this error.
What version of cmake are you using, and exactly how
are you running it?
-Bill
At 06:56 PM 3/6/2003, Joseph Barraud wrote:
>Dear all,
>
>I am on Linux Mandrake 9.1 and CMake gives me the following error message when I try to configure the makefiles for the building of VTK 4.2.1 (i.e. with ccmake, before the display of the list of options):
>
>Determining if the function pthread_create exists in the pthreads failed with the following output:
>echo "Building object file CheckFunctionExists.o..."
>Building object file CheckFunctionExists.o...
>gcc -o CheckFunctionExists.o -DCHECK_FUNCTION_EXISTS=pthread_create -I/home/joseph/ITK_Stuff/VTK/vtk-build/CMakeTmp -c /usr/local/share/CMake/Modules/CheckFunctionExists.c
>echo "Building executable cmTryCompileExec..."
>Building executable cmTryCompileExec...
>gcc -rdynamic -DCHECK_FUNCTION_EXISTS=pthread_create CheckFunctionExists.o -o cmTryCompileExec -rdynamic -lpthreads
>/usr//bin/ld: cannot find -lpthreads
>collect2: ld returned 1 exit status
>gmake: *** [cmTryCompileExec] Erreur 1
>
>Do you understand the problem ?
>
>Many thanks,
>Joseph.
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list