Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 10 Nov 2003 14:02:29 -0500 (EST)
From: Suresh Venkatasubramanian <suresh@research.att.com>
To: cygwin@cygwin.com
Subject: Re: OpenGL and cygwin
In-Reply-To: <20031110174953.GB13143@redhat.com>
Message-ID: <Pine.LNX.4.58.0311101256310.3450@apollonius.research.att.com>
References: <200311031609.hA3G9kZ17540@bigmail.research.att.com>
 <Pine.GSO.4.56.0311031014390.9584@eos> <Pine.CYG.4.58.0311101203590.508@euclid>
 <20031110174953.GB13143@redhat.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Mon, 10 Nov 2003, Christopher Faylor wrote:

> On Mon, Nov 10, 2003 at 12:06:53PM -0500, Suresh Venkatasubramanian wrote:
> >
> >> > 61 [unknown (0x48)] ? 3804 cygheap_fixup_in_child: Couldn't reserve space
> >> > for cygwin's heap (0x61600000 <0x0>) in child, Win32 error 487
> >> >
> >> WAG: Have you read this?
> >
> >I read the doc on increasing cygwin's max memory limit and ran the test
> >program provided there. The limit I get is 1 GB, and my program memory
> >usage is only in the small MB - so I don't think a simple memory limit is
> >the problem here.
>
> This problem is usually caused by dll placement in forked processes and
> should be fixed by rebasing any dlls that you use.

Sorry: am a cygwin newbie. I read /usr/doc/Cygwin/rebase-2.2.README and
noted that there are some parameters I need to supply to rebaseall ? or to
rebase itself ? Is there a way to figure out how to do this ? I use
cygcheck to check which dlls I am using, and its output is:

euclid 2:04pm [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
  C:\cygwin\bin\glut32.dll
    C:\WINDOWS\System32\WINMM.dll

I am guessing that the main dlls I am concerned with are:

glut32.dll
glu32.dll
opengl32.dll

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/

