Hi! I'm keeping this thread on the mailing list not in private mail
---------- Forwarded message ---------- From: new bee <[EMAIL PROTECTED]> Date: 13/07/2007 03:37 Subject: Re: [Gnash] I can't compile Gnash-0.8.0 using Cairo as render To: Martin Guy <[EMAIL PROTECTED]> Thank you very much for responding.
I'm surprised the "configure" step worked. Didn;t it say "please install required packages" at the end of the configure run? Atill, there's no way "configure" could guess at "/opt/workspace..." except by searchign the entire filesystem :) I expect there are --with-cairo-include and --with-cairo-libs options to "configure". Try reading the output of "./configure --help | less"
I know these options,I have define the PKG_CONFIG_PATH before I compile it, so I think it can find cairo.I do the same thing when I compile with agg as render.When I run "configure" with agg.it shows this message: ************************************************************* ... checking for AGG headers... -I/usr/local/include/agg2 ... ************************************************************** And in render_handler_agg.cpp it wrote: ************************************************************** #include <agg_rasterizer_scanline_aa.h> #include <agg_rasterizer_compound_aa.h> #include <agg_span_allocator.h> ... ************************************************************** But with cairo, it shows: ************************************************************** ... checking for cairo.h header using pkg-config... -I//usr/X11R6/include -I/opt/workspace/host/common/build/opt//include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/X11R6/include ... ************************************************************** And in render_handler_cairo.cpp: ******************************* #include <cairo/cairo.h> ******************************* So I think it's the reason and change it to: ******************************* #include <cairo.h> ******************************* And then it works well.I think using cairo and using agg should be consistent,Is it a bug?
> I cannot find gtk_cairo_create.h. Is it a header in gnash-0.8.0 ? You can answer this yourself by cd-ing to the your gnash source directory and saying: "find . -name gtk_cairo_create.h -print" If it speaks, yes. If is says nothing, no.
From google,I know it should be like this:gui/gtk_cairo_create.h, but in gnash-0.8.0,which I download from http://www.gnashdev.org/dev_snapshots/gnash-0.8.0.tar.gz there is no gtk_cairo_create.h in gui/ So my question means if it didn't release in gnash-0.8.0? ps:I create a new gtk_cairo_create.h in gui/ and it has solved :) Thank you _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

