This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
openGL link errors
- To: cygwin at sourceware dot cygnus dot com
- Subject: openGL link errors
- From: Jason Majors <jason at whizzird dot net>
- Date: Fri, 14 Jul 2000 20:42:24 -0700
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