delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/10/17:16:53

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
Date: Mon, 10 Nov 2003 17:12:12 -0500 (EST)
From: Suresh Venkatasubramanian <suresh AT research DOT att DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: OpenGL and cygwin
In-Reply-To: <20031110215450.GA11731@redhat.com>
Message-ID: <Pine.LNX.4.58.0311101702430.3450@apollonius.research.att.com>
References: <Pine DOT GSO DOT 4 DOT 56 DOT 0311031014390 DOT 9584 AT eos> <Pine DOT CYG DOT 4 DOT 58 DOT 0311101203590 DOT 508 AT euclid>
<20031110174953 DOT GB13143 AT redhat DOT com> <Pine DOT LNX DOT 4 DOT 58 DOT 0311101256310 DOT 3450 AT apollonius DOT research DOT att DOT com>
<20031110204458 DOT GC1808 AT tishler DOT net> <Pine DOT LNX DOT 4 DOT 58 DOT 0311101551050 DOT 3450 AT apollonius DOT research DOT att DOT com>
<20031110205820 DOT GA17282 AT redhat DOT com> <Pine DOT LNX DOT 4 DOT 58 DOT 0311101605010 DOT 3450 AT apollonius DOT research DOT att DOT com>
<20031110213126 DOT GB18439 AT redhat DOT com> <Pine DOT LNX DOT 4 DOT 58 DOT 0311101642190 DOT 3450 AT apollonius DOT research DOT att DOT com>
<20031110215450 DOT GA11731 AT redhat DOT com>
MIME-Version: 1.0

On Mon, 10 Nov 2003, Christopher Faylor wrote:

> On Mon, Nov 10, 2003 at 04:43:10PM -0500, Suresh Venkatasubramanian wrote:
> >True, but I am not using cygwin dlls.  I am using native windows opengl
> >dlls and an nvidia glut dll.  moreover, I compile using -mno-cygwin....
>
> Go back and read the output from cygcheck that you sent to this mailing
> list.  It shows that you *are* using a cygwin DLL:
>
> C:\cygwin\bin\glut32.dll
>
> So, I will say it again: You can't use cygwin DLLs in a non-cygwin
> application.

I understand what you are saying. Hence I tried compiling using an nvidia
glut dll rather than cygwin\bin\glut32.dll. The results I got were the
same i.e the same error. nvidia is a graphics card manufacturer and they
provide windows dlls for their windows demos (that run fine). The
glut32.dll they provide is non-cygwin as are the other opengl dlls I am
using, so as far as I can make out, all my dlls are non-cygwin.

euclid 5:06pm [3d_diameter]> cygcheck main
Found: .\main.exe
main.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
  .\glut32.dll
    C:\WINDOWS\System32\WINMM.dll

where .\glut32.dll is the nvidia dll I was referring to.

the error message (on this executable) is reproduced below:

euclid 5:09pm [3d_diameter]> ./main ifile1
      2 [unknown (0x8C4)] ? 2364 cygheap_fixup_in_child: Couldn't reserve
spacefor cygwin's heap (0x61600000 <0x0>) in child, Win32 error 487
C:\cygwin\home\Suresh\src\myopengl\envelopes\3d_diameter\main.exe: ***
m.AllocationBase 0x61600000, m.BaseAddress 0x61600000, m.RegionSize 0x3000, m.State
0x1000


Suresh Venkatasubramanian, Ph: 973 360 8951 (o)
Member, Technical Staff    Web: http://www.research.att.com/~suresh/
AT&T Shannon Labs

"The guitar is the ideal instrument for anyone who is able to love loneliness." --Angelo Gilardino

--
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