[cairo] Building on Windows

Gerdus van Zyl gerdusvanzyl at gmail.com
Mon Feb 16 23:28:36 PST 2009


Firstly install the Vista SDK as required by
https://developer.mozilla.org/en/Windows_Build_Prerequisites
I didn't work for me without it.

Also there are dll and lib files available from gtk.org if you don't
need to compile cairo yourself.

~G

On Mon, Feb 16, 2009 at 11:21 PM, Rupinder Singh <rupinder at ieee.org> wrote:
> Hello,
>
> I started with boilerplate. Made a new VC project (library) with these files
> (taking from boilerplate\Makefile.in):
>
> cairo_boilerplate_headers = \
> 	cairo-boilerplate-getopt.h \
> 	cairo-boilerplate-scaled-font.h \
>
> 	cairo-boilerplate-system.h \
> 	cairo-boilerplate.h \
> 	$(NULL)
>
> cairo_boilerplate_sources = \
> 	cairo-boilerplate-getopt.c \
> 	cairo-boilerplate-system.c \
> 	cairo-boilerplate.c \
> 	$(NULL)
>
> It gets compiled but with unresolved externals in Linking phase. It's the
> same if I include the following :
>
> cairo_boilerplate_directfb_private = cairo-boilerplate-directfb-private.h
> cairo_boilerplate_directfb_sources = cairo-boilerplate-directfb.c
>
> cairo_boilerplate_glitz_private = cairo-boilerplate-glitz-private.h
> cairo_boilerplate_glitz_sources = cairo-boilerplate-glitz.c
> .....
>
> Please share your vcproj for Cairo so I could be clear with all the
> dependencies.
>
> Also, I have set the following variables:
>
> X_DISPLAY_MISSING
> WARN_UNUSED_RESULT
> STDC_HEADERS
> PACKAGE_VERSION
> PACKAGE_TARNAME
> PACKAGE_STRING
> PACKAGE_NAME
> inline  -> __inline (for MSVC)
> HAVE_WINDOWS_H
> HAVE_CTIME_R
> HAVE_DRAND48
> HAVE_FCNTL_H
> HAVE_GCOV
> HAVE_INTTYPES_H
> HAVE_MEMORY_H
> HAVE_PTHREAD_H
> HAVE_SETJMP_H
> HAVE_SIGNAL_H
> HAVE_STDINT_H
> HAVE_STDLIB_H
> HAVE_SYS_STAT_H
>
>
> Is any important component missing ?
>
>
> Thanks
> Rupinder
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list