www.delorie.com/archives/browse.cgi | search |
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 |
X-Authentication-Warning: | kruuna.Helsinki.FI: mstrandm owned process doing -bs |
Date: | Fri, 12 Jan 2001 16:12:59 +0200 (EET) |
From: | Markku Strandman <mstrandm AT cc DOT helsinki DOT fi> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Compiling OpenGL applications |
Message-ID: | <Pine.SOL.4.30.0101121604440.8335-100000@kruuna.Helsinki.FI> |
MIME-Version: | 1.0 |
I just managed to make the import library and compile some code which uses wgl but I still have some problems: When I try to compile with -mwindows I get: --------- /usr/bin/ld: warning: cannot find entry symbol _WinMainCRTStartup; defaulting to 00401000 --------- Compiling with -mno-cygwin gives following errors: --------- In file included from wgl.c:6: /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/../../../../include/GL/gl.h:44: warning: `APIENTRY' redefined /usr/include/w32api/windef.h:85: warning: this is the location of the previous definition --------- and lots of something like this: --------- /cygdrive/c/WINDOWS/TEMP/ccRyOrHc.o(.text+0x495):wgl.c: undefined reference to `glViewport' /cygdrive/c/WINDOWS/TEMP/ccRyOrHc.o(.text+0x4b7):wgl.c: undefined reference to `glMatrixMode' /cygdrive/c/WINDOWS/TEMP/ccRyOrHc.o(.text+0x4bf):wgl.c: undefined reference to `glLoadIdentity' /cygdrive/c/WINDOWS/TEMP/ccRyOrHc.o(.text+0x4f1):wgl.c: undefined reference to `gluPerspective' --------- Without these switches everything works fine. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |