[cairo] i386

Oli Larkin olilarkin at googlemail.com
Thu Dec 20 04:33:58 PST 2012


I-m trying to build a fat 32/64bit cairo static library on OSX 10.6 but trying to do an i386 build fails. Looks like Coregraphics framework is not linked properly

can anyone help? A 64bit build works. Is there an easy way to make a fat binary without manually lipo-ing them together?

cheers.

oli



./configure --build=i386

Undefined symbols:
  "_CGContextSetShouldAntialias", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGContextSetFontSize", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGPathApply", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGRectGetMaxX", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
      __cairo_quartz_font_face_scaled_font_create in libcairo.a(cairo-quartz-font.o)
  "_CGRectGetMaxY", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGContextSetTextMatrix", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGRectGetMinX", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGRectGetMinY", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGRectApplyAffineTransform", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGFontRetain", referenced from:
      _cairo_quartz_font_face_create_for_cgfont in libcairo.a(cairo-quartz-font.o)
  "_CGRectIntegral", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGBitmapContextCreate", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGContextSetFont", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CFStringCreateWithCString", referenced from:
      __cairo_quartz_font_face_create_for_toy in libcairo.a(cairo-quartz-font.o)
  "_CGFontCreateWithPlatformFont", referenced from:
      _cairo_quartz_font_face_create_for_atsu_font_id in libcairo.a(cairo-quartz-font.o)
  "_CFDataGetLength", referenced from:
      __cairo_quartz_load_truetype_table in libcairo.a(cairo-quartz-font.o)
      __cairo_quartz_load_truetype_table in libcairo.a(cairo-quartz-font.o)
  "_CGContextSetShouldSmoothFonts", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CFDataGetBytes", referenced from:
      __cairo_quartz_load_truetype_table in libcairo.a(cairo-quartz-font.o)
  "_CGContextSetAlpha", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGContextRelease", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGPathRelease", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CGContextShowGlyphsAtPoint", referenced from:
      __cairo_quartz_scaled_glyph_init in libcairo.a(cairo-quartz-font.o)
  "_CFRelease", referenced from:
      __cairo_quartz_load_truetype_table in libcairo.a(cairo-quartz-font.o)
      __cairo_quartz_load_truetype_table in libcairo.a(cairo-quartz-font.o)
      __cairo_quartz_load_truetype_table in libcairo.a(cairo-quartz-font.o)
      __cairo_quartz_font_face_create_for_toy in libcairo.a(cairo-quartz-font.o)
  "_CGFontRelease", referenced from:
      __cairo_quartz_font_face_destroy in libcairo.a(cairo-quartz-font.o)
      _cairo_quartz_font_face_create_for_atsu_font_id in libcairo.a(cairo-quartz-font.o)
      __cairo_quartz_font_face_create_for_toy in libcairo.a(cairo-quartz-font.o)
ld: symbol(s) not found



More information about the cairo mailing list