delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/07/00:11:23

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
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: "'Nam H Kim'" <nhk15 AT student DOT canterbury DOT ac DOT nz>, <cygwin AT cygwin DOT com>
Subject: RE: how do you complile OpenGL files?
Date: Mon, 7 May 2001 00:11:13 -0400
Message-ID: <000101c0d6ab$c1ea8de0$a300a8c0@nhv>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
In-Reply-To: <3AF5E857.2530B366@student.canterbury.ac.nz>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal

Nam H Kim writes:
> 
>currently I am using Cygwin for my most of c works..
>but I got an OpenGl project so I downloaded the OpenGl sources through
>the setup program a week ago.
> 
>but still I can't figure out how to compile my OpenGl files..
> 
>could you tell me how to do it??

Make sure you
#include <windows.h>
before #including any of 
<GL/gl.h> <GL/glu.h> or <GL/glut.h>

and compile using the -mwin32 compiler flag 

also see 
http://sources.redhat.com/ml/cygwin/2001-05/msg00257.html

If you are still having problems
you could check out how PLib works
http://plib.sourceforge.net

FYI
PLib is an OpenSource OpenGL based cross platform 
 < Unix, Windows, Mac, Irix >
"Game" Library that includes amongst other things

PUI  - Portable User Interface
FNT - Font package
SG  -  Simple Geometry
SSG - Performer inspired Simple SceneGraph

FWIW
I am part of the PLib development team and insure that it
always works 'OTB' with Cygwin

I recomend getting the current source from CVS
as there have been many improvements since the
last 'official' release.

Cheers

Norman VIne


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