Re: How to get rid of multiply defined OpenGL warnings on OS X?
Re: How to get rid of multiply defined OpenGL warnings on OS X?
- Subject: Re: How to get rid of multiply defined OpenGL warnings on OS X?
- From: Rich Cook <email@hidden>
- Date: Fri, 1 Sep 2006 17:22:27 -0700
Other libs live in X11 space as well, this program is not an Aqua
application. I've always been confused about this. If I use Apple's
GL lib, will it play nice with X11? Can I mix frameworks
indiscriminately with other libraries?
On Sep 1, 2006, at 4:04 PM, renambot wrote:
Why using X11 ?
gcc -c -FGLUT -FOpenGL prog.c
gcc -o prog prog.o -framework GLUT -framework OpenGL
Luc
On Sep 1, 2006, at 5:27 PM, Rich Cook wrote:
While building the OpenGL examples for the Redbook, I am getting
the following warnings and would like to eliminate them. Anyone
know what is causing this? I am not explicitely asking for any
frameworks, but it seems to be automatically getting picked up
somehow.
Thanks.
/usr/bin/cc -o texprox -g -Os -Wall -Wpointer-arith -no-cpp-
precomp -L/usr/X11R6/lib texprox.o /sw/lib/libglut.a -lXmu -
lXext -lXext -lX11 -lGL -lGLU -lm
/usr/bin/ld: warning multiple definitions of symbol
_glPointParameteri
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib(gll_api.o) definition of _glPointParameteri
/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of
_glPointParameteri
/usr/bin/ld: warning multiple definitions of symbol
_glPointParameteriv
--
"There's no time to stop for gas, we're already late"-- Karin Donker
--
Rich "wealthychef" Cook
<http://web.mac.com/wealthychef/iWeb/Site/Urinetown.html>
925-784-3077
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Scitech mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
"There's no time to stop for gas, we're already late"-- Karin Donker
--
Rich "wealthychef" Cook
<http://web.mac.com/wealthychef/iWeb/Site/Urinetown.html>
925-784-3077
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden