delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/16/15:37:42

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, 16 Feb 2001 15:34:53 EST
From: CaetSith7 AT aol DOT com
Subject: OpenGL, -mno-cygwin AND GLUT
To: <cygwin AT sourceware DOT cygnus DOT com>
Mime-Version: 1.0
X-Mailer: Unknown (No Version)
Message-ID: <5a.11381833.27bee8ed@aol.com>

First of all, thanks for the fix Andre.  However, I have a new problem related to GLUT.  I tried looking again through the archives, but no beans.

#gcc code.C -I /usr/include -lopengl32 -lglu32 -lglut32

works fine.  But,

#gcc -mno-cgywin code.C -I /usr/include -lopengl32 -lglu32 -lglut32

gives undefined references to '__glutInitWithExit AT 12', '__glutCreateWindowWithExit AT 8' and '__glutCreateMenuWithExit AT 8'.

I was thinking either I needed to include the -mwindows flag, but that didn't help, neither did using g++ and I couldn't find a similar hack for glut.h like the one you gave for gl.h, which also worked for glu.h by the way.  Thanks,

Shawn

PLEASE CC TO CaetSith7 AT aol DOT com I AM NOT A MEMBER OF THE LIST.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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