nightly builds error "too big to fit into memory"??

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

nightly builds error "too big to fit into memory"??

Postby robertltux » Sat Jan 01, 2011 4:38 pm

running Windows XP and i get an error "to big to fit into memory" when i try to run the last couple nightly builds
any hints as to WHY??
robertltux
 

Re: nightly builds error "too big to fit into memory"??

Postby joepal » Sat Jan 01, 2011 5:57 pm

Hm. I'll take a look at it.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4474
Joined: Wed Jun 04, 2008 11:20 am

Re: nightly builds error "too big to fit into memory"??

Postby joepal » Sat Jan 01, 2011 6:24 pm

Ok, first problem is the bloody daft error message. It's microsoftish for "the file is corrupt" and does not mean in any way that it ran out of memory.

Anyway, for the root of the problem... seems there has been a code change which is incompatible with MinGW:

C:\mh-build\makehuman>c:\mingw\bin\gcc -g -Wall -o makehuman ./src/main.c ./src/glmodule.c ./src/core.c ./include/core.h ./include/glmodule.h -Ic:/Python26/incude -Ic:/MinGW/include/SDL -Ic:/MingW/include/GL -I./include -Lc:/Python26/libs -lpython26 -lmingw32 -lSDLmain -lSDL -mconsole -lglu32 -lglew32 -lglew32s -lope

gl32 -lgdi32 -lmsvcrt -lwinmm
In file included from c:/MinGW/include/SDL/SDL_stdinc.h:30,
from c:/MinGW/include/SDL/SDL_main.h:26,
from c:/MinGW/include/SDL/SDL.h:30,
from ./src/main.c:42:
c:/MinGW/include/SDL/SDL_config.h:131:1: warning: "HAVE_SNPRINTF" redefined
In file included from c:/Python26/include/Python.h:120,
from ./src/main.c:39:
c:/Python26/include/pyerrors.h:315:1: warning: this is the location of the previous definition
./src/main.c:51:26: knownfolders.h: No such file or directory
./src/main.c: In function `mh_getPath':
./src/main.c:425: error: `SHGFP_TYPE_CURRENT' undeclared (first use in this function)
./src/main.c:425: error: (Each undeclared identifier is reported only once
./src/main.c:425: error: for each function it appears in.)
In file included from c:/MinGW/include/SDL/SDL_stdinc.h:30,
from c:/MinGW/include/SDL/SDL_main.h:26,
from c:/MinGW/include/SDL/SDL.h:30,
from ./include/glmodule.h:37,
from ./src/glmodule.c:40:
c:/MinGW/include/SDL/SDL_config.h:131:1: warning: "HAVE_SNPRINTF" redefined
In file included from c:/Python26/include/Python.h:120,
from ./src/glmodule.c:36:
c:/Python26/include/pyerrors.h:315:1: warning: this is the location of the previous definition
In file included from c:/MinGW/include/SDL/SDL_stdinc.h:30,
from c:/MinGW/include/SDL/SDL_thread.h:32,
from ./src/core.c:44:
c:/MinGW/include/SDL/SDL_config.h:131:1: warning: "HAVE_SNPRINTF" redefined
In file included from c:/Python26/include/Python.h:120,
from ./src/core.c:35:
c:/Python26/include/pyerrors.h:315:1: warning: this is the location of the previous definition
C:\mh-build\makehuman>


Googling a bit, it seems knownfolders.h is specific for microsoft's vista SDK and thus not available for generic compilers such as mingw.

For now you can copy the file makehuman\bin\win\makehuman.exe and use it to overwrite makehuman\makehuman.exe. That way you'll get the last manually compiled VC++ build, which most likely will include everything which would have appeared in the nightly build otherwise. The actual functionality is in the python scripts anyway, so you'll not lose a whole lot by overwriting the small compiled part.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4474
Joined: Wed Jun 04, 2008 11:20 am

Re: nightly builds error "too big to fit into memory"??

Postby mflerackers » Sun Jan 02, 2011 2:28 am

Should be fixed now.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest