Re: New GTK+ classes to wrap
- From: Marko Anastasov <marko marko anastasov name>
- To: Jonathon Jongsma <jonathon jongsma gmail com>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: New GTK+ classes to wrap
- Date: Tue, 04 Apr 2006 00:23:17 +0200
У пон, 03. 04 2006. у 15:49 -0500, Jonathon Jongsma пише:
> your cairo was not compiled with png support. It is safe to
> ignore that as it's just an example program. It really should be
> protected with an #ifdef, as Armin suggested. I'll fix that soon.
I have both cairo and cairo-1.0.4 - are they both necessary?
Running ./configure in both at the end gives:
...
PNG functions: yes
...
And cairomm, as a wrapper, doesn't check for these things in
the configure script.
The thing is that when I ignore the example compiling error,
the installation fails too:
---
text-rotate.cc: In function ‘int main()’:
text-rotate.cc:86: error: ‘class Cairo::ImageSurface’ has no member
named ‘write_to_png’
make[2]: *** [text-rotate.o] Error 1
make[2]: Leaving directory
`/home/marko/cvs/gnome2/cairomm/examples/text-rotate'make[1]: ***
[install-recursive] Error 1
make[1]: Leaving directory `/home/marko/cvs/gnome2/cairomm/examples'
make: *** [install-recursive] Error 1
*** error during stage install of cairomm: could not make module ***
[5/5]
[1] rerun stage install
[2] ignore error and continue to done
[3] give up on module
[4] start shell
---
Continuing to done leads to "success". The module is not installed
properly and doesn't show up in pkg-config --list-all.
Marko
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]