delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/09/12:49:29

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199902091256.NAA01463@novx04.nov.skf.se>
Date: Tue, 9 Feb 1999 13:56:08 +0100 (MET)
From: Alexander Siemers <alex AT nov DOT skf DOT se>
Reply-To: Alexander Siemers <alex AT nov DOT skf DOT se>
Subject: Re: Precompiled GLUT library.
To: Ssiddiqi AT InspirePharm DOT Com
Cc: gnu-win32 AT cygnus DOT com
MIME-Version: 1.0
X-Mailer: dtmail 1.2.0 CDE Version 1.2 SunOS 5.6 sun4u sparc

>=20
> Yes, I had and it works just fine for me.
> May I ask how did you create libglut.a from the DLLs?
>=20
> Thanks
> Suhaib
>=20

First at all I wondered why I have to build a libglut.a=01if I want
dynamic linking?? But I did it anyway using the instructions=20
"Linking Against DLLs" from the Cygwin User's Guide:
http://sourceware.cygnus.com/cygwin/cygwin-ug-net/dll.html#DLL-LINK

I actually built both libglut.a and libglut32.a.
The I tried to compile one of the GLUT test files:

gcc -mwindows -DWIN32 -o test1.exe test1.c -lopengl32 -lglu32 -lglut32

And I used -L and -I to point to the openGL/GLUT include and lib dirs.

Is something wrong here? If not, why doesn't it work?

> >I wonder if anybody managed to compile a GLUT program
> >with cygwin using the precompiled DLL's from the net?
> >I get problem with linking, none of the glut functions=20
> >is found by the linker while OpenGL and GLU works fine.
> >
> >Any ideas?
> >
> >Alex...
> >


--   
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