openGL link errors
Jason Majors
jason@whizzird.net
Fri Jul 14 20:41:00 GMT 2000
I'm trying to compile a simple openGL application under cygwin.
I have the latest version of everything (as of July 14) from the yggdrasil.com
mirror site. I followed the instructions for linking in the openGL README, but
I'm still getting errors like:
main.o(.text+0x31):main.c: undefined reference to `glColor3f@12'
I get about 20 of these from various gl* and glut* functions.
Here is the important part of the Makefile:
LINK_OPTS= -L/usr/local/lib -lglui -lglut32 -lglu32 -lopengl32
gluthello: main.o
$(CC) $(LINK_OPTS) -o gluthello main.o
main.o: main.c
$(CC) $(INCLUDE) -c main.c
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list