>  The file wxWinCE_cegcc_fixes.patch needs to be applied to the CeGCC
>  tree. The other two to the latest SVN snapshot of wxWidgets (trunk).
>  After applying you need to reinstall the 'mingw' and 'w32api' parts of
>  CeGCC/arm-wince-mingw32ce. For wxWidgets you need to make sure you
>  have Bakefile installed and then you need to run './autogen.sh' and
>  'make -f build/autogen.mk' from the wxWidgets source tree.
>
>  After that you should be able to run
>  './configure --prefix=/opt/wxWinCE --host=arm-wince-mingw32ce' and
>  you're ready to go. If wxWinCE has compiled successfully you can run
>  'make samples' to compile (most of) the wxWinCE samples.

I'm following these instructions but unfortunately I'm not able to
build wxWinCE with CeGCC

Environment:
Ubuntu 7.10
Python 2.4
CeGCC/mingw32ce 0.5.1 (installed from RPM via alien)
Bakefile 0.2.2

Steps done so far:
1. Checkout wxWidgets from SVN at revision 49149 (the revision shown
in the patch files).
2. Patched both the wxWidgets bakefiles and sources (CeGCC not patched
as I understand that 0.5.1 already includes your changes)
3. Run './autogen.sh' and 'make -f build/autogen.mk' from the
wxWidgets source tree
4. ./configure --prefix=/opt/wxWinCE --host=arm-wince-mingw32ce
5. And finally make, But unfortunately this error appeared:
...
/home/pablo/src/wxMSW/bk-deps arm-wince-mingw32ce-g++ -c -o
basedll_appbase.o  -D__WXWINCE__     -DWXBUILDING
-I/home/pablo/src/wxMSW/src/tiff/libtiff -I./src/tiff/libtiff
-I./src/jpeg -I./src/png -I./src/zlib  -I./src/regex -I./src/expat/lib
-DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1  -Wall -Wundef
-Wno-ctor-dtor-privacy -D_WIN32_WCE=0x300
-I/home/pablo/src/wxMSW/lib/wx/include/arm-wince-mingw32ce-wince-ansi-release-2.9
-I./include -mthreads -O2 -fno-strict-aliasing
./src/common/appbase.cpp
./include/wx/msw/winundef.h: In function 'BOOL GetCharWidth(HDC__*,
UINT, UINT, int*)':
./include/wx/msw/winundef.h:141: error: 'GetCharWidthW' was not
declared in this scope
./include/wx/wxcrt.h: In function 'char* wxGetenv(const char*)':
./include/wx/wxcrt.h:868: warning: left-hand operand of comma has no effect
./include/wx/wxcrt.h: In function 'wchar_t* wxGetenv(const wchar_t*)':
./include/wx/wxcrt.h:869: warning: left-hand operand of comma has no effect

Any clue what can I be doing wrong?

Erik, did it worked straight for you?

Thanks for the attention.

Pablo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to