delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/11/09:49:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.2.0.9.0.20031111094850.00b0efa8@wheresmymailserver.com>
X-Sender: bleau3 AT irispavp DOT igb DOT umontreal DOT ca (Unverified)
Date: Tue, 11 Nov 2003 09:49:03 -0500
To: cygwin AT cygwin DOT com
From: Andre Bleau <bleau AT igb DOT umontreal DOT ca>
Subject: Re: OpenGL and cygwin
Mime-Version: 1.0
X-MDRemoteIP: 10.52.50.2
X-Return-Path: bleau AT igb DOT umontreal DOT ca
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id hABEn2rP024165

Suresh Venkatasubramanian wrote:


>So I compiled without -mno-cygwin. According to cygcheck, I get the
>correct dlls (dump enclosed below). This time the program runs silently,
>and exits without popping up a window and with no errors. From
>appropriately placed print statements, it appears that the program is
>having trouble creating a window with glutCreateWindow and appears to die
>silently before completing that step (or just after).

To me, that means your program is not calling glutInit before glutCreateWindow.



>As I mentioned earlier, I will try to create a pared-down version that
>recreates the problem: might be easier to circulate the src then, if
>anyone wants to try their hand at compiling it...
>
>euclid 8:00pm [3d_diameter]> cygcheck main.exe
>Found: .\main.exe
>main.exe
>   C:\cygwin\bin\cygwin1.dll
>     C:\WINDOWS\System32\KERNEL32.dll
>       C:\WINDOWS\System32\ntdll.dll
>   C:\WINDOWS\System32\GLU32.DLL
>     C:\WINDOWS\System32\msvcrt.dll
>     C:\WINDOWS\System32\OPENGL32.dll
>       C:\WINDOWS\System32\ADVAPI32.dll
>         C:\WINDOWS\System32\RPCRT4.dll
>       C:\WINDOWS\System32\GDI32.dll
>         C:\WINDOWS\System32\USER32.dll
>       C:\WINDOWS\System32\DDRAW.dll
>         C:\WINDOWS\System32\DCIMAN32.dll
>   .\glut32.dll
>     C:\WINDOWS\System32\WINMM.dll

Let's clarify something: the GLUT dll in Cygwin's OpenGL package does not 
use any cygwin function. It should not make your program depend on 
cygwin1.dll if _all_ your own source files are compiled with -mno-cygwin. I 
don't understand why you insist on using NVDIA's glut32.dll. Cygwin's is 
GLUT version 3.7 too; I suggest that you try to link with it to make sure 
that NVDIA's dll is not the cause of your problem.


André Bleau, Cygwin's OpenGL package maintainer.

Please address all questions and problem reports about Cygwin's OpenGL 
package to cygwin AT cygwin DOT com .  


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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