[cairo] (glitz) struggling to make rendertest

David Reveman davidr at novell.com
Sun Dec 4 07:36:53 PST 2005


On Sat, 2005-12-03 at 11:25 +0000, Patrick Pailhes wrote:
> Hi there
> 
> I've just downloaded and installed glitz-0.5.1 from Cairo CVS. Now, I
> want to test it using rendertest. I've dowloaded the latest rendertest
> files from CVS, executed the command ./autogen.sh (backend glitz-glx:
> yes), make and make install.

Does 'make' and 'make install' complete successfully? If 'make' worked
then you should be all set. If it said "glitz-glx: yes" then you should
have a rendertest_glitz_glx executable in src after typing make.

> 
> After that, I changed to the directory src and typed make rendertest.
> However, there are several linking errors such as:
> "src/rendertest.c:296: undefined reference to `render_read_png'" and
> "src/rendertest.c:742: undefined reference to `cos'".

You don't want to type 'make rendertest'. I'm surprised it's actually
compiling something when you type this. No rendertest binary should be
built only binaries named rendertest_xxx, where xxx is a specific output
backend like glitz-glx, xcb or pixman.

If you want to build just a specific binary e.g 'make
rendertest_glitz_glx' should work as well.

> 
> When I type make rendertest, it calls "gcc -g -O2 -Wall
> -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -fno-strict-aliasing   
> rendertest.c   -o rendertest" and that line does not include neither
> the Math library nor the necessary files args.c, png.c, etc.
> 
> Basically, I'm stuck. I'm sorry to pollute the cairo mailing-list with
> this "newbie message" but if anyone has already encountered that
> difficulty or knows the answer, I would really appreciate their help.
> 
> Thank you.
> 
> Patrick
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo

-David



More information about the cairo mailing list