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: | <BAY23-F3448A27E86C44158F4C75D93480@phx.gbl> |
X-Originating-Email: | [andre_bleau AT hotmail DOT com] |
X-Sender: | andre_bleau AT hotmail DOT com |
From: | =?iso-8859-1?B?QW5kcukgQmxlYXU=?= <andre_bleau AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: OpenGL does not render when linked with -mno-cygwin |
Date: | Wed, 16 Mar 2005 14:37:24 -0500 |
Mime-Version: | 1.0 |
X-OriginalArrivalTime: | 16 Mar 2005 19:37:28.0469 (UTC) FILETIME=[9678DC50:01C52A5F] |
Arvind N wrote: >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. Such a difference between a Mingw and a Cygwin application is often clue of a hidden bug in the application. Something may be corrupted or not initialized properly. > >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? No, OpenGL has no dependency on cygwin1.dll. The OpenGL implementation used is the one provided by M$ for Windows. >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: >... >* Without mno-cygwin >... >I would appreciate any help with this. There are 6 examples of C++ programs using GLUI, GLUT and OpenGL under /usr/bin/GLUI-examples these were compiled with -mno-cygwin. Are you able to run them ? Sources for these examples, including a Makefile, are in /usr/share/doc/opengl-1.1.0/GLUIexamples > > >Thanks in advance, >Arvind André Bleau, Cygwin's OpenGL package maintainer Please adress any question or comment about the OpenGL package to cygwin at cygwin.com _________________________________________________________________ Profitez des puissants filtres de courriels indésirables articulé sur la technologie brevetée Microsoft SmartScreen.s http://join.msn.com/?pgmarket=fr-ca&page=features/popup Commencez dès maintenant à profiter de tous les avantages de MSN Premium et obtenez les deux premiers mois GRATUITS*. -- 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 |