[Scribus] scpainter errors with cairo
Sebastian Röder
sebastian.roeder
Sat Sep 3 01:34:20 CEST 2005
I want to install Scribus 1.3.x CVS with cairo support and added
--enable-cairo to ./configure (note: it's not --with-cairo as written in one
bug report). Cairo is found by configure but make gives me this error:
scpainter.cpp: In constructor `ScPainter::ScPainter(QPaintDevice*, unsigned
int, unsigned int, unsigned int, unsigned int)':
scpainter.cpp:104: Fehler: Ung?ltige Umformung von ?unsigned int? in
?cairo_format_t?
scpainter.cpp:104: Fehler: Argument 4 von ?cairo_surface_t*
cairo_xlib_surface_create(Display*, Drawable, Visual*, cairo_format_t,
Colormap)? wird initialisiert
/usr/include/cairo/cairo.h:54: Fehler: zu viele Argumente f?r function
?cairo_t* cairo_create()?
scpainter.cpp:105: Fehler: an dieser Stelle in der Datei
scpainter.cpp: In member function `virtual void ScPainter::end()':
scpainter.cpp:194: Warnung: Variable ?bits? wird nicht verwendet
scpainter.cpp:212: Fehler: `cairo_get_target' undeclared (first use this
function)
scpainter.cpp:212: Fehler: (Each undeclared identifier is reported only once
for each function it appears in.)
scpainter.cpp:212: Fehler: `cairo_surface_flush' undeclared (first use this
function)
scpainter.cpp: In member function `virtual const QWMatrix
ScPainter::worldMatrix()':
scpainter.cpp:304: Fehler: Aggregat ?cairo_matrix_t matrix? hat
unvollst?ndigen Typ und kann nicht definiert werden
scpainter.cpp:305: Fehler:
`cairo_get_matrix_DEPRECATED_BY_cairo_current_matrix' undeclared (first use
this function)
scpainter.cpp: In member function `virtual void
ScPainter::setWorldMatrix(const QWMatrix&)':
scpainter.cpp:317: Fehler: Aggregat ?cairo_matrix_t matrix? hat
unvollst?ndigen Typ und kann nicht definiert werden
scpainter.cpp:318: Fehler: `cairo_matrix_init' undeclared (first use this
function)
scpainter.cpp: In member function `void ScPainter::drawVPath(int)':
scpainter.cpp:655: Fehler: `cairo_pattern_add_color_stop_rgba' undeclared
(first use this function)
scpainter.cpp:657: Fehler: `cairo_set_source' undeclared (first use this
function)
scpainter.cpp:658: Fehler: `cairo_clip_preserve' undeclared (first use this
function)
scpainter.cpp:659: Fehler: `cairo_paint_with_alpha' undeclared (first use this
function)
scpainter.cpp:667: Fehler: `cairo_set_source_rgba' undeclared (first use this
function)
scpainter.cpp:668: Fehler: `cairo_fill_preserve' undeclared (first use this
function)
scpainter.cpp:702: Fehler: `cairo_stroke_preserve' undeclared (first use this
function)
scpainter.cpp: In member function `virtual void
ScPainter::drawImage(QImage*)':
scpainter.cpp:843: Fehler:
`cairo_get_fill_rule_DEPRECATED_BY_cairo_current_fill_rule' undeclared (first
use this function)
scpainter.cpp:845: Fehler: Ung?ltige Umformung von ?uchar*? in ?char*?
scpainter.cpp:845: Fehler: Argument 1 von ?cairo_surface_t*
cairo_image_surface_create_for_data(char*, cairo_format_t, int, int, int)?
wird initialisiert
scpainter.cpp:847: Fehler: `cairo_set_source_surface' undeclared (first use
this function)
scpainter.cpp:848: Fehler: `cairo_paint_with_alpha' undeclared (first use this
function)
make[3]: *** [scpainter.o] Fehler 1
make[3]: Leaving directory `/mnt/daten/scribus13x-cvs/Scribus/scribus'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/mnt/daten/scribus13x-cvs/Scribus/scribus'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/mnt/daten/scribus13x-cvs/Scribus'
make: *** [all] Fehler 2
I' m running x86 Gentoo with some ~x86 packages - cairo is 0.3.0-r2 (~x86) -
the stable cairo ebuild is 0.1.x, the latest (hard masked is 1.0). Can
somebody give me quick advice what to do here, e.g. changing the cairo
version or something? I can only try this the next hour or two than I will be
without an internet connection for some days.
Thanks,
Sebastian
More information about the scribus
mailing list