Thanks for all the responces, still can't get past this glm symbol problem. I've always been removing the config.cache file before ./configure. configure finds the glm library, and it finds GlutSolidTeapot as well.
I have a libglut.so registered by ldconfig.
I looked though the Makefile and made a few changes. This is the Makefile produced by the ./configure:
LDFLAGS = -L/usr/X11R6/lib -L../../../GemLibs/glm -L../../../gem-0.86/src/AuxLibs/liborb -L../../../gem-0.86/src/AuxLibs/particle LIBS = -L/usr/lib -lglib -lz -lparticle -lorb -lgltt -lttf -ljpeg -ltiff -lglm -lmpeg3 -lmpeg -lglib -lpng -lquicktime -lglut -lGLU -lGL -lm -Wl,-shared -Wl,-export-dynamic -lXxf86vm -lXext -lX11 INCLUDES = -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gltt -I../../../gem-0.86/src/AuxLibs/particle -I../../../gem-0.86/src/AuxLibs/liborb -I../../../glut-3.6/progs/demos/smooth -I/usr/local/include -I..
I tried making these changes:
LDFLAGS = -L/usr/X11R6/lib -L../../../GemLibs/glm -L../../../GemLibs/liborb -L../../../GemLibs/particle -L/usr/lib/ LIBS = -L/usr/lib -lglib -lz -lparticle -lorb -lgltt -lttf -ljpeg -ltiff -lglm -lmpeg3 -lmpeg -lglib -lpng -lquicktime -lglut -lGLU -lGL -lm -Wl,-shared -Wl,-export-dynamic -lXxf86vm -lXext -lX11 INCLUDES = -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gltt -I../../../GemLibs/particle -I../../../GemLibs/liborb -I/usr/local/include/GL -I/usr/local/include -I.. -I/usr/include/libmpeg3
I also tried Guenter's suggestion changing the glm.h to point to GL/gl.h rather than GL/glut.h
Gem always compiles fine, no errors, not always refuses to load with the glmFacetNormals__FP8GLMmodel symbol "missing"
I've been trying to get gem.87 to work since it was released on multiple linux distros. Why can't I get it to work!?
I really appreciate everyones efforts.
Thanks Ben
On Tue, 18 Jun 2002, IOhannes zmoelnig wrote:
you might have to add the correct library path by hand so something like "-L/usr/local/glut-3.6/lib/glut/" in the LDFLAGS-line
I'd appriciate any help. Thanks Ben
mfg.cdsa.asd IOhannes