im on mac os snow leopard gcc 4.5.4 | gcc 4.2.1, trying to build the tutorials http://www.arcsynthesis.org/gltut/
one needs to build dir glsdk first. I install free
my X11 is broken** and this seems to be the problem. since it's tricky to build this set of tutorials, I repeat the steps I followed for anyone facing similar trouble
--"freeglut/freeglut.lua
, in premake4.lua./premake gmake
and then make config=release
LOCAL_FILE_DIR
& GLOBAL_FILE_DIR
with "./data/" "./data/"
& "../data/"
respectively and comment out #include "directories.h"
-I../glsdk/glutil/include
and -L../glsdk/glutil/lib
with paths from freeglut build via macports. Also in the same makefile link with -lglut
instead of -lfreeglut
**dyld: Symbol not found: __cg_DGifGetLine
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /opt/local/lib/libGIF.dylib
in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO