delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: | <BAY101-F318134878982D4C25661CD9480@phx.gbl> |
X-Originating-Email: | [arvnit AT hotmail DOT com] |
X-Sender: | arvnit AT hotmail DOT com |
From: | "Arvind N" <arvnit AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | OpenGL does not render when linked with -mno-cygwin |
Date: | Wed, 16 Mar 2005 17:32:10 +0000 |
Mime-Version: | 1.0 |
X-OriginalArrivalTime: | 16 Mar 2005 17:32:10.0451 (UTC) FILETIME=[15625A30:01C52A4E] |
I am using g++ Version 3.3.3 on a Windows XP box to write a program that draws mathematical functions as graphs. The program works fine when I compile and link without -mno-cygwin and the graphs are rendered fine. However, if I add -mno-cygwin to the compile line and "-L/usr/lib/mingw -lstdc++" to the link line, all I get is a black screen. I am using GLUT to create the window and the menus and all of those work fine but there is nothing rendered into the window. I do not get any errors either. I do not get any compiler/linker warnings or errors when I compile with -mno-cygwin. Are there any dependencies that OpenGL has with cygwin1.dll? The link line uses the libraries in the order "-lglut32 -lglu32 -lopengl32" which seems to be what the documentation says. Here are the cygcheck outputs with and without mno-cygwin: * With mno-cygwin: mathgraph.exe: C:\WINDOWS\system32\msvcrt.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\GLU32.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 C:\WINDOWS\system32\glut32.dll C:\WINDOWS\system32\WINMM.dll * Without mno-cygwin mathgraph.exe: C:\Program Files\Cygwin\bin\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\RPCRT4.dll C:\WINDOWS\system32\GLU32.DLL C:\WINDOWS\system32\msvcrt.dll C:\WINDOWS\system32\OPENGL32.dll C:\WINDOWS\system32\GDI32.dll C:\WINDOWS\system32\USER32.dll C:\WINDOWS\system32\DDRAW.dll C:\WINDOWS\system32\DCIMAN32.dll C:\WINDOWS\system32\glut32.dll C:\WINDOWS\system32\WINMM.dll I would appreciate any help with this. Thanks in advance, Arvind -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |