nanogui: how to add png into the nanox
Subject:
Re: [nanogui] how to add png into the nanox
From:
"Greg Haerr" ####@####.####
Date:
26 May 2009 01:27:15 -0000
Message-Id: <006701c9dda1$0382d9b0$2f01a8c0@HaydenLake>
: who is my god,give me a road !please.
Well, lets see. Two seconds googling
for 'pow linux' shows that the undefined
reference is to a math library function.
Rather than asking god and others, check that
the math library -lm is included in the link
line. If so, then your math library is missing
pow().
Regards,
Greg
: Linking nano-X ...
:
/usr/local/arm/3.4.1/arm-linux/lib/png/libpng.a(libpng_la-pngrtran.o)(.text+0xcf
: c): In function `png_build_gamma_table':
: /usr/src/libpng-1.2.35/pngrtran.c:4043: undefined reference to `pow'