[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: troubles with OpenGL



Hmm..   Shouldn't  you   be  linking   /usr/lib/libGL.so   instead  of
/usr/X11R6/lib/libGL.a? Maybe if you can  figure out how to make it do
that, the linking problems will go away.. 

-chris

Mario Olimpio de Menezes <mario@curiango.ipen.br> writes:

> Hi,
> 
> 	I'm trying to compile some examples from GEANT4 (from Cern)
> using the opengl visualization driver (X Windows) version.
> 	The program compile fine but fail to link, giving me the
> messages:
> 
> [...]
> Compiling exampleN01.cc ...
> Using granular libraries ...
> Linking exampleN01 ...
> /usr/X11R6/lib/libGL.a(glthread.o): In function `_glthread_InitTSD':
> glthread.o(.text+0x21): undefined reference to `pthread_key_create'
> /usr/X11R6/lib/libGL.a(glthread.o): In function `_glthread_GetTSD':
> glthread.o(.text+0x75): undefined reference to `pthread_getspecific'
> /usr/X11R6/lib/libGL.a(glthread.o): In function `_glthread_SetTSD':
> glthread.o(.text+0xa8): undefined reference to `pthread_setspecific'
> collect2: ld returned 1 exit status
> make: *** [/usr/local/geant4.3.2/bin/Linux-g++/exampleN01] Error 1
> 
> 	I have a NVidia TNT2 M64 card installed and working fine; have
> xlibmesa3, xlibmesa-dev, xlibosmesa3, xlibosmesa-dev installed as well
> nvidia-glx nvidia-glx-dev.
> 	Any help,
> []s
> Mario O.de Menezes            "Many are the plans in a man's heart, but
>     IPEN-CNEN/SP                 is the Lord's purpose that prevails"
> http://curiango.ipen.br/~mario                 Prov. 19.21
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: