james tittle wrote:
...Is anyone having success using the fink glut and apple's X11? I'm currently trying to use it but coming up with errors, and it's odd because the port is only trying to use glut for some of it's primitive drawing capabilities (ie. not for windowing or events)...

...here's a typical problem:

cc -DPD -O0 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -g -I/Users/tigital/puredataDev/pd-0.38-4/src -I/Users/tigital/puredataDev/pdp-0.12.4/include -I/Users/tigital/puredataDev/pdp-0.12.4/opengl/include -I/usr/X11R6/include -I/sw/include -Wno-long-double -o pdp_texture.o -c pdp_texture.c In file included from /Users/tigital/puredataDev/pdp-0.12.4/opengl/include/pdp_opengl.h:35,
                 from pdp_texture.c:26:
/sw/include/GL/glut.h:63:1: error: "APIENTRY" redefined
In file included from /sw/include/GL/glut.h:58,
from /Users/tigital/puredataDev/pdp-0.12.4/opengl/include/pdp_opengl.h:35,
                 from pdp_texture.c:26:
/usr/X11R6/include/GL/gl.h:90:1: error: this is the location of the previous definition

...so, it seems there's some conflict between apple's x11 gl headers and glut as installed by fink: is it better to use freeglut?

It is perhaps better to use freeglut, but you could also just remove the -Werror from your Makefile.config, so that this "conflict" gives only a warning, not an error.

--
Martin



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to