[cairo] cairomm .def file

Behdad Esfahbod behdad at behdad.org
Mon Dec 8 07:35:44 PST 2008


Murray Cumming wrote:
> On Wed, 2008-11-26 at 11:44 +0100, Stefan Klug wrote:
>> Hi everybody,
>>
>> I hope this is the right place for cairomm questions.
>>
>> I'm having a hard time compiling cairomm for winCE under MSVC (I'd be 
>> happy doing it under a gcc build chain, but gcc and MSVC are C++ ABI 
>> incompatible).
>> Everything compiles, but I can't get it to generate an appropriate 
>> import .lib.
>> As cairomm doesn't use __declspec(dllexport), I need a .def file 
>> containing all exports.
>> But where do I get one?
>> MSDN says DEF files are generated by hand, but there must be some magic 
>> generating the DEF file for cairomm (as the files cairomm.def are 
>> explicitely ignored in the git repository...)
> 
> CCing Armin Burgmeier who built cairomm (and gtkmm) on Windows with MSVC
> ++, among other compilers, and who created the MSVC++ project files that
> are in cairomm's tarball and git. Hopefully he can comment.

May be easier to add the annotation instead.  You can reuse cairo_public.

behdad



More information about the cairo mailing list