On 1 avr. 2004, at 16:21, Olivier Marti wrote:

I'm trying to install the VTK graphic package.

The installation seems to be OK. But when executing I got :

/usr/X11R6/lib/libGL.1.dylib undefined reference to _glGetColorTableParameteriv
expected to be defined in OpenGL


And there is several hundreds of lines like this, all refering to the same library, but with different _gl*. /usr/X11R6/lib/libGL.1.dylib is a link to /usr/X11R6/lib/libGL.1.2.dylib.

What versions of OSX, of X11, and what exactly do you execute?


The symbol _glGetColorTableParameteriv is defined in /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib on Panther. If you are starting /sw/bin/vtk, this is pulled in automatically. If you are linking with -lGL, you would also need the flag -framework OpenGL, I think.

--
Martin



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to