[Bf-committers] New gettext and fftw3 libraries for MinGW compilation

Sergey I. Sharybin g.ulairi at gmail.com
Fri Jan 29 18:50:33 CET 2010

Hi Belnder Community,

In IRC people often asks about error at Blender startup when it's 
compiled with MinGW (something with code 0x00000005, don't remeber 
exactly).  I've got the same error after cross-compilation. Source of 
this error is somewhere inside gnu_gettext library. I've compiled new 
gettext static library by MinGW and  told scons to link with it. Now all 
is o-key.

Another problem with MinGW comes from fftw3 library. There is linking 
error with unresolved ymbols like __alloca, __chkstk and others from 
msvcrt library. I've made static fftw3 library with MinGW and now I 
haven't got problems (I've tested by cross-compilation. I was unable to 
test native MinGW compilation yet).

If I'm right and errors are really in this libraries, it would be good 
if somebody will check changes in SConstruct and made same changes to 
CMake rules.

NOTE: I haven't tested scons scripts by native MinGW, so may be there 
are some typos in new SConstruct.

I uploaded libraries and my small patch to 

With best regards, Sergey I. Sharybin

More information about the Bf-committers mailing list