Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.2.7.0.20010207110251.00aef920@irispavp.igb.umontreal.ca> X-Sender: bleau2 AT irispavp DOT igb DOT umontreal DOT ca X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 07 Feb 2001 11:10:03 -0500 To: cygwin AT sources DOT redhat DOT com From: Andre Bleau Subject: Re: Problem with opengl.dll Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id LAA06473 >Hello everybody, > >I recently installed the latest Cygwin on my NT machine and tried to >port a program which uses openGL. It built without problems but when I >run it complained that it couldn't find opengl.dll. I had a look and >found an opengl32.dll in my winnt/system32 folder. I simply renamed it >and tried again. Now the program complains that it can't find the entry >point for "GetPixelFormat" in opengl.dll > >Obviously I'm doing something wrong :-( >Is opengl32.dll actually a different library from opengl.dll, and if yes >where can I get it ? Could it be a version problem, because the program >I try to compile is already 2-3 years old ? > >Any hints are welcomed. > > > Axel Kowald From /usr/doc/opengl-1.1.0/README.txt: Linking of code calling OpenGL, GLU, GLUT ----------------------------------------- Add -lglut32 -lglu32 -lopengl32 to your link command. ^^^^^^^^^^ GetPixelFormat is not a fonction in OpenGL. Use wglGetPixelFormat. André Bleau, Cygwin's OpenGL maintainer. André Bleau, ing. email: bleau at igb dot umontreal dot ca (Fight SPAM: encode your email-address) -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple