I am tring to build wxWidgets using MSYS shell. I was anle to compile to build it as a set of dlls both in release and debug mode.
Now I am tring to build it as a monolithic static library so I used:
configure --enable-unicode --disable-shared --enable-monolithic --enable-debug
and then
make
the error happens compiling src/regex/regcomp.c on line 33
Anyone found the same problem?
"unknown 32 bit type" error on defs.h line 1072 building wxWidgets no dll monolithic unicode debug mode
Re: "unknown 32 bit type" error on defs.h line 1072 building wxWidgets no dll monolithic unicode debug mode
Seems to me that the error born using configure because in the private directory of the library (I mean the static monolithic etc etc version) wx/setup.h contains:
#define SIZEOF_INT 0
instead of
#define SIZEOF_INT 4
as I should expect for a win32 release.
this is my setup.h complete path:
C:\wx-3.0.2-481-src\build\msw-static-debug\lib\wx\include\msw-unicode-static-3.0\wx\setup.h
I corrected SIZEOF_INT from 0 to 4 and now I built the library, everything works now.
#define SIZEOF_INT 0
instead of
#define SIZEOF_INT 4
as I should expect for a win32 release.
this is my setup.h complete path:
C:\wx-3.0.2-481-src\build\msw-static-debug\lib\wx\include\msw-unicode-static-3.0\wx\setup.h
I corrected SIZEOF_INT from 0 to 4 and now I built the library, everything works now.