can't compile wx 2.8.1 for WM5 using vs2005
Caligola900
caligola900 at yahoo.com
Tue Jan 9 07:55:49 PST 2007
Hi,
I'm trying to compile wxWidgets 2.8.1 (downloaded from
http://biolpc22.york.ac.uk/pub/2.8.1/ ) for WM5 with vs2005, but I got
some errors, that I've tried to resolve:
- It could not find the file setup.h in the include\wx\msw\wince dir, so
I added it (taking it from include\wx\msw)
- It gave me errors about some symbols not declared, so I've edited
setup.h changing (disabling) following things:
#define wxUSE_FSVOLUME 0
#define wxUSE_COLOURPICKERCTRL 0
#define wxUSE_DIRPICKERCTRL 0
#define wxUSE_FILEPICKERCTRL 0
#define wxUSE_FONTPICKERCTRL 0
#define wxUSE_TOOLTIPS 0
#define wxUSE_MDI 0
#define wxUSE_MDI_ARCHITECTURE 0
#define wxUSE_PRINTING_ARCHITECTURE 0
#define wxUSE_OWNER_DRAWN 0
- Due to other errors I've added following definition to the mono project:
HAVE_BOOL
__POCKETPC__
- I've also edited the file wx\msw\textctrl.h in order to add a IsRich
method (returning always false), because it is included only if
wxUSE_RICHEDIT is not set to 0, but then textctrl.cpp needs it,
independently of wxUSE_RICHEDIT.
Now it compiles fine (quite fine, apart some warnings), but it cannot
links due to some unresolved externals about wxCHMHelpController and
Uuid (and even others, but these are the ones which give more errors)
My question is: are all these tricks needed to have the library
compiled? What's wrong?
I've missed something (maybe from the beginning)?
Any idea?
I've also tried to recompile the library for PPC2003, but with same
results...
It's the first time that I develop for WinCE, maybe that there is
something that I've missed about it?
Thanks in advance,
Paolo
PS: I successfully compiled the library for WinXP with the same
compiler, so I don't know what to think!
More information about the wx-users
mailing list