[cairo] Problems with building Cairo for Windows CE
Mohit Sindhwani
ml3p at onghu.com
Thu Oct 8 05:21:50 PDT 2009
Hello! So, I managed to get the latest pixman to build and I have
binaries for zlibce and libpngce.
I tried to follow the instructions at:
http://vividos.wordpress.com/2008/01/23/how-to-compile-cairo-for-pocketpc/
but I'm using Cairo 1.8.8
But, I do run into a few problems. The main issues were with io.h,
errno.h and so on. I stole seemingly relevant files from
https://ella.pragmaticomm.com/symbian-ruby/browser/trunk/wince which has
compatible files.
Next on, I'm stuck at an error in building win32-surface.c - there seem
to be some errors related to the function:
* _cairo_win32_save_initial_clip -> called from
_cairo_win32_surface_finish, _cairo_win32_surface_set_clip_region
Compilation errors/ warnings include:
1>..\..\..\cairo\src\cairo-win32-surface.c(1543) : warning C4013:
'ExtSelectClipRgn' undefined; assuming extern returning int
1>..\..\..\cairo\src\cairo-win32-surface.c(2050) : warning C4013:
'GetGraphicsMode' undefined; assuming extern returning int
1>..\..\..\cairo\src\cairo-win32-surface.c(2051) : error C2065:
'GM_ADVANCED' : undeclared identifier
1>..\..\..\cairo\src\cairo-win32-surface.c(2052) : warning C4013:
'GetWorldTransform' undefined; assuming extern returning int
1>..\..\..\cairo\src\cairo-win32-surface.c(2053) : warning C4013:
'ModifyWorldTransform' undefined; assuming extern returning int
1>..\..\..\cairo\src\cairo-win32-surface.c(2053) : error C2065:
'MWT_IDENTITY' : undeclared identifier
1>..\..\..\cairo\src\cairo-win32-surface.c(2059) : warning C4013:
'SetGraphicsMode' undefined; assuming extern returning int
1>..\..\..\cairo\src\cairo-win32-surface.c(2083) : warning C4013:
'SetWorldTransform' undefined; assuming extern returning int
These are new compared to 1.4.4 (the earlier build I had done), so I'm
wondering what to do.
There are other errors, but these I have no idea what to do with (yet).
Thanks,
Mohit.
More information about the cairo
mailing list