delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/15/12:03: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: <40A63E91.8020508@ordunya.com>
Date: Sat, 15 May 2004 18:00:17 +0200
From: =?ISO-8859-1?Q?Pablo_Ordu=F1a_Fern=E1ndez?= <pablo AT ordunya DOT com>
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: problems running programs with wGui
X-IsSubscribed: yes

Hi all!

I'm experiencing several problems with the wGui library under cygwin
(http://wgui.sourceforge.net), which uses SDL and FreeType:

Now, I compiled this library under GNU/Linux and had no problem 
compiling, linking and running programs which used it. Same 
situation doing this with the mingw32. But then, I compiled it 
as I did with the mingw32, with cygwin and then it didn't work 
anymore (but compiled without errors and linked with just one
warning:
"warning: cannot find entry symbol _WinMainCRTStartup; defaulting to 
00401000"), which I have read it's not really too much a problem.

The "funny" thing is that programs compiled which used the SDL 
have that same warning work fine, and "funnier" is that the 
program "doesn't work" except if I run it from the cygwin console. 
When I say that it doesn't work I mean that it doesn't even arrive 
to 'main'.

Taking out the '-mwindows' parameter and running the program under cmd 
it gives
me this error:

     89 [main] ? 2024 init_cheap: Couldn't reserve 9194692 bytes of space for cygwin's heap, Win32 error 487
C:\WINDOWS\Escritorio\New Folder\calculador\calculadora.exe (2024): *** AllocationBase 0x0, BaseAddress 0x616E0000, RegionSize 0x4A0000, State 0x10000

I read the thread at http://www.cygwin.com/ml/cygwin/2002-06/threads.html#00803, 
but I'm using w2k, and as said, other programs run correctly using other or none 
libraries, but also this library works fine in other environments.

Could anybody point at something I'm doing wrongly?

Thank you in advance, and sorry for my English
Pablo Orduña Fernández


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