Re: FW: bug? when installing geomview graphic package
Re: FW: bug? when installing geomview graphic package
- Subject: Re: FW: bug? when installing geomview graphic package
- From: gérard rio <email@hidden>
- Date: Thu, 13 Feb 2003 09:39:42 +0100
Le mercredi, 12 fiv 2003, ` 18:03 Europe/Paris, Frank Malinowski a
icrit :
Your program may be looking at both openGL installations. Try
inserting the
following code into your program so that it will only look at one or
the
other.
#if defined(__APPLE__) && !defined(__APPLE_X11)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
--
are you sure that this symbol belong to glut lib ?
If you are using glut, the glut.h file is the one that calls gl.h and
glu.h
so if you're program is not accessing the correct glut.h you can see
problems like this one.
1) ok, I have change all the include, -> nothing better
2) In the error message, the ld program propose to use the option:
-bind_at_load , after try this idea, it seems this option dos'nt work
with the other option : -force_flat_namespace which is present. But
without this last option it don't work also !!
3) After this I try to temporarily hide one of the two gl lib (from
framework or from X11) : result is many new references are missing, so
it means that there is not exactly the same things in this two gl lib
(which have the same name ??)
4) I locate the only one file that is responsable of the problem, it is
"gvcamui.c". I try to modify the include by specify explicitly the
framework include: nothing better !!
I don't know what to do more. If somebody have an idea, I 'll be very
pleased !
email@hidden
------ Forwarded Message
From: girard rio <email@hidden>
Date: Wed, 12 Feb 2003 15:57:14 +0100
To: email@hidden
Subject: bug? when installing geomview graphic package
I am trying to install geomview free software and at the ld phase I
get
the error message:
"
ld: multiple definitions of symbol _glGetColorTableEXT
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib(gll_api.o) definition of _glGetColorTableEXT
/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
_glGetColorTableEXT
"
is-it a bug with X11 or is-it normal ?? how can we do to overcome
this
problem ?
_______________________________________________
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.