From: <no...@so...> - 2002-11-18 06:31:10
|
Bugs item #639754, was opened at 2002-11-17 21:09 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=639754&group_id=2435 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jens Rabe (onizuka-sensei) Assigned to: Nobody/Anonymous (nobody) Summary: GLUT linking problems Initial Comment: Trying to build a GLUT app with g++ results in the following errors: (only an excerpt) C:\DOKUME~1\JENS~1.ATH\LOKALE~1 \Temp/ccUHbaaa.o(.text+0xc58):cohen_sutherland.cp p: undefined reference to `glFlush@0' C:\DOKUME~1\JENS~1.ATH\LOKALE~1 \Temp/ccUHbaaa.o(.text+0xd59):cohen_sutherland.cp p: undefined reference to `glutInit@8' C:\DOKUME~1\JENS~1.ATH\LOKALE~1 \Temp/ccUHbaaa.o(.text+0xd66):cohen_sutherland.cp p: undefined reference to `glutInitDisplayMode@4' C:\DOKUME~1\JENS~1.ATH\LOKALE~1 \Temp/ccUHbaaa.o(.text+0xd7d):cohen_sutherland.cp p: undefined reference to `glutInitWindowSize@8' C:\DOKUME~1\JENS~1.ATH\LOKALE~1 \Temp/ccUHbaaa.o(.text+0xd8c):cohen_sutherland.cp p: undefined reference to `glutInitWindowPosition@8' C:\DOKUME~1\JENS~1.ATH\LOKALE~1 \Temp/ccUHbaaa.o(.text+0xd9c):cohen_sutherland.cp p: undefined reference to `glutCreateWindow@4' C:\DOKUME~1\JENS~1.ATH\LOKALE~1 \Temp/ccUHbaaa.o(.text+0xdfc):cohen_sutherland.cp p: undefined reference to `glutDisplayFunc@4' C:\DOKUME~1\JENS~1.ATH\LOKALE~1 \Temp/ccUHbaaa.o(.text+0xe0c):cohen_sutherland.cp p: undefined reference to `glutMouseFunc@4' C:\DOKUME~1\JENS~1.ATH\LOKALE~1 \Temp/ccUHbaaa.o(.text+0xe1c):cohen_sutherland.cp p: undefined reference to `glutKeyboardFunc@4' C:\DOKUME~1\JENS~1.ATH\LOKALE~1 \Temp/ccUHbaaa.o(.text+0xe29):cohen_sutherland.cp p: undefined reference to `glutMainLoop@0' ---------------------------------------------------------------------- >Comment By: Jens Rabe (onizuka-sensei) Date: 2002-11-18 07:31 Message: Logged In: YES user_id=626241 I mean, I called g++ with -lglut32 ---------------------------------------------------------------------- Comment By: Jens Rabe (onizuka-sensei) Date: 2002-11-18 07:30 Message: Logged In: YES user_id=626241 I mean, I called g++ with -lglut ---------------------------------------------------------------------- Comment By: Jens Rabe (onizuka-sensei) Date: 2002-11-18 07:30 Message: Logged In: YES user_id=626241 Yes, I added -lglut32. ---------------------------------------------------------------------- Comment By: Luke Dunstan (infidel) Date: 2002-11-18 02:44 Message: Logged In: YES user_id=30442 Did you add the -lglut32 option to your link command? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=639754&group_id=2435 |