[Ipe-discuss] Compilation problems in Ubuntu 8.04

Jan Hlavacek jhlavace at svsu.edu
Sun Nov 1 14:48:01 CET 2009

On Sat, Oct 31, 2009 at 10:13:30PM -0700, Venkataraman Subramaniam wrote:
> Also, I have compilation problems in ubuntu-8.04. The problem is related to libcairo it seems.
> Here is the relevant error message.
> Compiling ipefonts.cpp...
> g++ -Wall -g -O2 -fPIC -I../include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1   -I/usr/include/freetype2    -c -o ../../build/obj/ipecairo/ipefonts.o ipefonts.cpp
> ipefonts.cpp: In member function ‘cairo_font_face_t* Engine::screenFont()’:
> ipefonts.cpp:272: error: ‘cairo_toy_font_face_create’ was not declared in this scope
> make[1]: *** [../../build/obj/ipecairo/ipefonts.o] Error 1
> make[1]: Leaving directory `/home/venkat/install/ipe/ipe-7.0.7/src/ipecairo'
> make: *** [ipecairo] Error 2
> Anybody has any idea what is problem?

I may be mistaken, but I believe cairo_toy_font_... were introduced in cairo
1.7.2, and the cairo version in Hardy is 1.6.0.  If that's the case, you need
a newer libcairo. 

Jan Hlavacek (jhlavace at svsu.edu, (989) 964-2004)
Department of Mathematical Sciences, Saginaw Valley State University

More information about the Ipe-discuss mailing list