Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
December 20, 2006 wx280 AUI Sample "Out of memory" | ||||
---|---|---|---|---|
| ||||
I just installed wx2.8 and built most of the samples, but when I try to build the AUI sample I get: "Fatal Error: Out of Memory Error Level 1". I have 512 Megs in this machine. I'm using DMC849 that I just downloaded. Anyone have a clue? |
December 20, 2006 Re: wx280 AUI Sample "Out of memory" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bob Paddock | Using a pre-compiled header? Bob Paddock wrote: > > I just installed wx2.8 and built most of the samples, > but when I try to build the AUI sample I get: > > "Fatal Error: Out of Memory Error Level 1". > I have 512 Megs in this machine. > > I'm using DMC849 that I just downloaded. > > Anyone have a clue? > -- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org |
December 20, 2006 Re: wx280 AUI Sample "Out of memory" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | On Wed, 20 Dec 2006 13:39:03 -0500, Jan Knepper <jan@smartsoft.us> wrote: > Using a pre-compiled header? No clue, as I'm not sure if they where built when I built the library? Just trying to build the stock sample, that ships with the distribution. Most of the rest of the examples build fine, the others are missing a header file/setting or two, easy to see the problem with them. auidemo.cpp: // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif ... makefile.dmc: ... AUIDEMO_CXXFLAGS = -g -o+none -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ \ -I$(SETUPHDIR) -I.\..\..\include -w- -I. -WA -I.\..\..\samples -DNOPCH -Ar -Ae \ $(CPPFLAGS) $(CXXFLAGS) ... $(OBJS)\auidemo_auidemo.obj : .\auidemo.cpp $(CXX) -mn -c -cpp -o$@ $(AUIDEMO_CXXFLAGS) .\auidemo.cpp > Bob Paddock wrote: >> I just installed wx2.8 and built most of the samples, >> but when I try to build the AUI sample I get: >> "Fatal Error: Out of Memory Error Level 1". >> I have 512 Megs in this machine. >> I'm using DMC849 that I just downloaded. >> Anyone have a clue? |
December 20, 2006 Re: wx280 AUI Sample "Out of memory" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bob Paddock | There is a define -DNOPCH on the compiler command line not? I also do not see other pre-compiled header switches. So I guess it is not using pre-compiled headers. I would have to check at some later time what the problem could be here. Bob Paddock wrote: > On Wed, 20 Dec 2006 13:39:03 -0500, Jan Knepper <jan@smartsoft.us> wrote: > >> Using a pre-compiled header? > > No clue, as I'm not sure if they where > built when I built the library? Just trying to build the stock sample, > that ships with the distribution. > Most of the rest of the examples build fine, > the others are missing a header file/setting or two, > easy to see the problem with them. > > auidemo.cpp: > // For compilers that support precompilation, includes "wx/wx.h". > #include "wx/wxprec.h" > > #ifdef __BORLANDC__ > #pragma hdrstop > #endif > > ... > > makefile.dmc: > > ... > AUIDEMO_CXXFLAGS = -g -o+none -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ \ > -I$(SETUPHDIR) -I.\..\..\include -w- -I. -WA -I.\..\..\samples -DNOPCH -Ar -Ae \ > $(CPPFLAGS) $(CXXFLAGS) > ... > $(OBJS)\auidemo_auidemo.obj : .\auidemo.cpp > $(CXX) -mn -c -cpp -o$@ $(AUIDEMO_CXXFLAGS) .\auidemo.cpp > > > >> Bob Paddock wrote: >>> I just installed wx2.8 and built most of the samples, >>> but when I try to build the AUI sample I get: >>> "Fatal Error: Out of Memory Error Level 1". >>> I have 512 Megs in this machine. >>> I'm using DMC849 that I just downloaded. >>> Anyone have a clue? -- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org |
December 20, 2006 Re: wx280 AUI Sample "Out of memory" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | On Wed, 20 Dec 2006 14:45:09 -0500, Jan Knepper <jan@smartsoft.us> wrote:
> There is a define -DNOPCH on the compiler command line not?
Yes the command line, as shown in the make fragment has -DNOPCH.
I took that out, and got the same results, "out of memory".
|
December 20, 2006 Re: wx280 AUI Sample "Out of memory" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bob Paddock | That's just a command line define. I did not expect that would solve the problem. Check the website www.digitalmars.com and search for the -HP## switch. I think that can be used to increase the memory usage. Bob Paddock wrote: > On Wed, 20 Dec 2006 14:45:09 -0500, Jan Knepper <jan@smartsoft.us> wrote: > >> There is a define -DNOPCH on the compiler command line not? > > Yes the command line, as shown in the make fragment has -DNOPCH. > I took that out, and got the same results, "out of memory". > > -- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org |
December 21, 2006 Re: wx280 AUI Sample "Out of memory" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | Yes, i would recommend adding -HP90
I asked recently on this newsgroup about the -HP switch, and if it applied only to precompiled headers. Does it?
The wxwidgets 2.8.0 samples are built with no precompiled headers, but many do fail to compile without it
chris
Jan Knepper wrote:
> That's just a command line define. I did not expect that would solve the problem. Check the website www.digitalmars.com and search for the -HP## switch. I think that can be used to increase the memory usage.
>
>
>
> Bob Paddock wrote:
>> On Wed, 20 Dec 2006 14:45:09 -0500, Jan Knepper <jan@smartsoft.us> wrote:
>>
>>> There is a define -DNOPCH on the compiler command line not?
>>
>> Yes the command line, as shown in the make fragment has -DNOPCH.
>> I took that out, and got the same results, "out of memory".
>>
>>
>
|
December 22, 2006 Re: wx280 AUI Sample "Out of memory" | ||||
---|---|---|---|---|
| ||||
Posted in reply to chris elliott | On Thu, 21 Dec 2006 06:58:01 -0500, chris elliott <biol75@york.ac.uk> wrote: > Yes, i would recommend adding -HP90 That fixed it, thank you. > I asked recently on this newsgroup about the -HP switch, and if it applied only to precompiled headers. Does it? > > The wxwidgets 2.8.0 samples are built with no precompiled headers, but many do fail to compile without it |
Copyright © 1999-2021 by the D Language Foundation