delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/14/23:41:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 14 Jul 2000 20:42:24 -0700
From: Jason Majors <jason AT whizzird DOT net>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: openGL link errors
Message-ID: <20000714204224.A13364@magneto.whizzird.net>
Mime-Version: 1.0
User-Agent: Mutt/1.2.2i

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 AT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019