"unknown 32 bit type" error on defs.h line 1072 building wxWidgets no dll monolithic unicode debug mode

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
micronpn
Earned a small fee
Earned a small fee
Posts: 21
Joined: Wed Feb 25, 2015 4:18 pm

"unknown 32 bit type" error on defs.h line 1072 building wxWidgets no dll monolithic unicode debug mode

Post by micronpn »

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?
micronpn
Earned a small fee
Earned a small fee
Posts: 21
Joined: Wed Feb 25, 2015 4:18 pm

Re: "unknown 32 bit type" error on defs.h line 1072 building wxWidgets no dll monolithic unicode debug mode

Post by micronpn »

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.
Post Reply