Summary: | test apps fail to build, dll missing symbols, on cygwin | ||
---|---|---|---|
Product: | cairo | Reporter: | David Dombrowsky <davek> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED NOTABUG | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | high | ||
Version: | 1.0.2 | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
David Dombrowsky
2005-12-19 18:50:31 UTC
I fixed the compilation error by editing cairo.def -> --- tmp/cairo-1.0.2/src/cairo.def 2005-10-03 20:48:48.000000000 -0400 +++ cairo-1.0.2/src/cairo.def 2005-12-20 19:16:55.935325500 -0500 @@ -170,4 +170,9 @@ cairo_win32_scaled_font_get_metrics_factor cairo_win32_scaled_font_select_font cairo_win32_surface_create +cairo_xlib_surface_create +cairo_xlib_surface_create_for_bitmap +cairo_xlib_surface_create_with_xrender_format +cairo_xlib_surface_set_drawable +cairo_xlib_surface_set_size LIBRARY libcairo-2.dll Since that isn't a generated file, I'm not sure why those symbols aren't included. When I included them in that list, they exported fine to libcairo.dll.a and the test apps linked correctly. after it built it segfaulted on 11 tests. Looks like the hack didn't fix it. I managed to remove some of the symbol errors by disabling Xlib. I don't know if that means my Xlib is broken or what. But I still had to hack in new symbols into cairo.def to get everything to compile, and then it segfaulted for the first freetype test /bin/sh: line 1: 608 Segmentation fault (core dumped) ${dir}$tst FAIL: ft-font-create-for-ft-face I got it to build and install with --disable-win32. Makes sense that I should have tried that before disabling X :) Although the build process described is non-trivial, you did eventually managed to build a working cygwinified-cairo! Hopefully, with Behdad's work on updating the build system to be more non-linux friendly things are easier today. If you do have the time to try rebuilding, try following README.win32 and please report back any issues. Thanks. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.