From: Robert B. <rb...@gm...> - 2012-02-27 15:52:51
|
Hi Dan, Do you have the libpng development headers installed? To make sure, try "sudo apt-get install libpng15-dev", then run ./configure and make again. Rob On 02/27/2012 02:27 AM, wangdan wrote: > Hello, everyone! > I've installed libpng12-0 and libpng12-dev on my OS ubuntu 11.10 > i386.There's something wrong when I compiling wig2png. I've run > configure first and I've installed g++ 4.6 and make tools using "sudo". > It showed the errors in the terminal: > /tmp/ccNbdLZq.o: In function `write_png_file(char const*, int, int, > unsigned char**, png_color_struct*, int, int)': > /var/www/jbrowse-1.2.1/src/wig2png.cc:47: undefined reference to > `png_create_write_struct' snip > > Actually I've tried different version of libpng instead. I compiled and > installed libpng15 and tried wig2png again but it didn't work yet. > What's the problem? How to solve this? > Thank you very much! > Wang Dan |