* Re: Problem with opengl.dll
@ 2001-02-07 8:07 Andre Bleau
2001-02-08 2:17 ` Axel Kowald
0 siblings, 1 reply; 3+ messages in thread
From: Andre Bleau @ 2001-02-07 8:07 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]
>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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with opengl.dll
2001-02-07 8:07 Problem with opengl.dll Andre Bleau
@ 2001-02-08 2:17 ` Axel Kowald
0 siblings, 0 replies; 3+ messages in thread
From: Axel Kowald @ 2001-02-08 2:17 UTC (permalink / raw)
To: cygwin
Andre Bleau wrote:
>
> From /usr/doc/opengl-1.1.0/README.txt:
>
Sooorry !
I will go home and write 1000 times: "Read the documentation first !"
Axel
P.S. Maybe I'll write a perl script for that :-)
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Problem with opengl.dll
@ 2001-02-07 7:14 Axel Kowald
0 siblings, 0 replies; 3+ messages in thread
From: Axel Kowald @ 2001-02-07 7:14 UTC (permalink / raw)
To: cygwin
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
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-02-08 2:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-07 8:07 Problem with opengl.dll Andre Bleau
2001-02-08 2:17 ` Axel Kowald
-- strict thread matches above, loose matches on Subject: below --
2001-02-07 7:14 Axel Kowald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).