Compiling wxWidgets for WinCE on Linux
Graham Jones
jones139 at ntlworld.com
Thu Oct 4 12:39:07 PDT 2007
Well, this is much harder than I had expected.
I have got the configure script working, but there are loads of code
changes to be made to make it compile. I don't think I have time to
finish this one off - I am starting to think about using the Win32 API
instead.....
Is there a binary distribution of the wxwindows libraries for Windows CE
(on an ARM processor) that I can download from somewhere to get going
with it?
Cheers
Graham.
Vadim Zeitlin wrote:
> On Sun, 16 Sep 2007 22:43:31 +0100 Graham Jones <jones139 at ntlworld.com> wrote:
>
> GJ> Is there any information available on what needs to be configured
> GJ> differently to get it to build on WinCE rather than Win32 (the #defines,
> GJ> additional source files etc.)?
>
> The additional defines are SDK-dependent so it's unfortunately not that
> easy. I've never used cegcc myself (although I'd like to play with it one
> of these days...) so I don't know what exactly does it need. wxWidgets
> itself must be compiled with __WXWINCE__ defined.
>
> The additional files are in build/bakefiles/files.bkl: search for "WINCE"
> there. Also, files in MSW_DESKTOP_* variables must not be used with WinCE.
> But if you make the necessary changes to autoconf, it shouldn't be
> necessary to care about them as the makefile already contains these files,
> you just need to tell it that they should be used.
>
> GJ> If so that would save a great deal of work in unpicking the source to
> GJ> get autoconf working.
>
> You need to add support for a new TOOLKIT called "WINCE". If you search
> for TOOLKIT (or maybe for one of existing "simple" toolkits such as "DFB")
> it should be more or less clear what you need to do for this (except that
> wxDFB uses wxUniversal but wxWinCE doesn't).
>
> Please let us know if you get anywhere after adding this toolkit to
> configure and, of course, also please post any other questions you may have
> (here or on wx-dev).
>
> Good luck,
> VZ
>
>
More information about the wx-users
mailing list