[vtkusers] Compile error on FreeBSD4.5

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Fri Oct 25 08:49:41 EDT 2002


hi,

>>>>> "GL" == Goodwin Lawlor <goodwin.lawlor at ucd.ie> writes:

    GL> Maybe things have changed and one of these should be set to 1
    GL> instead:

    GL> CMAKE_USE_PTHREADS CMAKE_HP_PTHREADS CMAKE_THREAD_LIBS

Well, maybe turning CMAKE_USE_PTHREADS to ON will help.   Here is what
my configuration on Debian GNU/Linux is:

//Thread library used
CMAKE_THREAD_LIBS:STRING=-lpthread

//Use the pthreads library
CMAKE_USE_PTHREADS:BOOL=ON

I think the -lpthread was auto detected.  So I'd suggest turning on
the PTHREADS bool and redoing cmake and see if it picks up pthread.

cheers,
prabhu



More information about the vtkusers mailing list