[cairo] Building pixman for Windows CE
Mohit Sindhwani
ml3p at onghu.com
Tue Oct 6 09:23:05 PDT 2009
Gerdus van Zyl wrote:
> First build pixman seperately. config.h is a file made by the
> ./configure command and is just a bunch of c defines. The build files
> will also use a perl script to create pixman-combine32/64 so you might
> be missing those as well. I would recommend installing msys/mingw
> (might take a little work) and running the default build scripts, then
> you can just copy the generated files and reverse engineer the build
> process a little better.
>
Hi! I tried to go down this path... and did a configure under MSYS to
produce the files... and adjusted the files slightly.
Now, when I try to compile pixman with Visual Studio 2005, I get this
error (a large number) in pixman-region.c
1>..\..\..\pixman\pixman\pixman-region.c(109) : error C2061: syntax
error : identifier 'PREFIX'
1>..\..\..\pixman\pixman\pixman-region.c(109) : error C2059: syntax
error : ';'
1>..\..\..\pixman\pixman\pixman-region.c(109) : error C2078: too many
initializers
The first of these lines is:
static const box_type_t PREFIX (_empty_box_) = { 0, 0, 0, 0 };
Any idea what I can try?
Cheers,
Mohit.
10/7/2009 | 12:23 AM.
More information about the cairo
mailing list