GL/GLU/glut frameworks ?
Geizhals » Forum » Linux-Support » GL/GLU/glut frameworks ? (13 Beiträge, 123 Mal gelesen) Top-100 | Fresh-100
Du bist nicht angemeldet. [ Login/Registrieren ]
GL/GLU/glut frameworks ?
27.05.2006, 16:39:43
Hallo!

Ich versuch gerade unter Cygwin lib3ds-1.2.0 zu installieren und komme dabei leider nicht weiter.


$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL/glut.h... yes
checking if GL/GLU/glut frameworks exist... no
checking for GL/GLU/glut win32 libs... yes
checking for debugging mode... no
checking for dmalloc debugging... no
updating cache ./config.cache
creating ./config.status
creating lib3ds-config
creating Makefile
creating msvc/Makefile
creating lib3ds/Makefile
creating tools/Makefile
creating examples/Makefile
creating examples/glstub.h
creating config.h
config.h is unchanged


Bei make kommt folgendes dabei raus:


$ make
make  all-recursive
make[1]: Entering directory `/home/User/lib3ds-1.2.0'
Making all in msvc
make[2]: Entering directory `/home/User/lib3ds-1.2.0/msvc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/User/lib3ds-1.2.0/msvc'
Making all in lib3ds
make[2]: Entering directory `/home/User/lib3ds-1.2.0/lib3ds'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c io.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c float.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c vector.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c matrix.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c quat.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c tcb.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c ease.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c chunk.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c file.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c background.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c atmosphere.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c shadow.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c viewport.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c material.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c mesh.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c camera.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c light.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c tracks.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -c node.c
rm -f lib3ds.a
ar cru lib3ds.a io.o float.o vector.o matrix.o quat.o tcb.o ease.o chunk.o file.o background.o atmosphere.o shadow.o vie
wport.o material.o mesh.o camera.o light.o tracks.o node.o
ranlib lib3ds.a
make[2]: Leaving directory `/home/User/lib3ds-1.2.0/lib3ds'
Making all in tools
make[2]: Entering directory `/home/User/lib3ds-1.2.0/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -g -O2 -c 3dsdump.c
gcc  -g -O2  -o 3dsdump  3dsdump.o ../lib3ds/lib3ds.a -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -g -O2 -c 3ds2m.c
gcc  -g -O2  -o 3ds2m  3ds2m.o ../lib3ds/lib3ds.a -lm
make[2]: Leaving directory `/home/User/lib3ds-1.2.0/tools'
Making all in examples
make[2]: Entering directory `/home/User/lib3ds-1.2.0/examples'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/X11R6/include     -g -O2 -c 3ds2rib.c
gcc  -g -O2  -o 3ds2rib  3ds2rib.o ../lib3ds/lib3ds.a -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/X11R6/include     -g -O2 -c player.c
gcc  -g -O2  -o player  player.o ../lib3ds/lib3ds.a -lglut32 -lopengl32 -lglu32 -lm
player.o: In function `init':
/home/User/lib3ds-1.2.0/examples/player.c:90: undefined reference to `_glClearColor'
/home/User/lib3ds-1.2.0/examples/player.c:91: undefined reference to `_glShadeModel'
/home/User/lib3ds-1.2.0/examples/player.c:92: undefined reference to `_glEnable'
/home/User/lib3ds-1.2.0/examples/player.c:93: undefined reference to `_glEnable'
...


Die undefined references gehen noch einige Zeit so weiter, ich habe mir erlaubt sinngemäss zu kürzen. Ich vermute diese Fehler hängen mit dem nicht gefundenen Framework zusammen, aber das ist nicht mehr als eine Vermutung...

Installiert habe ich zumindest:
freeglut 2.2.0-1
OpenGL 1.1.0-8

Leider habe ich keinen Überblick, was ich noch brauchen könnte bzw ob ich irgendeine Umgebungsvariable setzen muss. Es kann auch gut sein, dass ich schon ein wenig blind bin -immerhin beschäftige ich mich damit schon einige Zeit heute ;-)

Ich bin für jeden Hinweis dankbar!


Antworten PM Alle Chronologisch
 
Melden nicht möglich
.  Re: GL/GLU/glut frameworks ?  (A. C. Local am 27.05.2006, 19:02:38)
..  Re(2): GL/GLU/glut frameworks ?  (El-Biero am 27.05.2006, 20:19:18)
...  Re(3): GL/GLU/glut frameworks ?  (L0stS0ul am 27.05.2006, 21:57:27)
..  Re(2): GL/GLU/glut frameworks ?  (L0stS0ul am 27.05.2006, 21:43:31)
.  Re: GL/GLU/glut frameworks ?  (sharky2 am 27.05.2006, 19:37:51)
..  Re(2): GL/GLU/glut frameworks ?  (L0stS0ul am 27.05.2006, 22:09:45)
...  Re(3): GL/GLU/glut frameworks ?  (sharky2 am 27.05.2006, 22:19:58)
....  Re(4): GL/GLU/glut frameworks ?  (El-Biero am 28.05.2006, 18:05:56)
.....  Re(5): GL/GLU/glut frameworks ?  (L0stS0ul am 28.05.2006, 20:49:44)
 

Dieses Forum ist eine frei zugängliche Diskussionsplattform.
Der Betreiber übernimmt keine Verantwortung für den Inhalt der Beiträge und behält sich das Recht vor, Beiträge mit rechtswidrigem oder anstößigem Inhalt zu löschen.
Datenschutzerklärung