BVLC/caffe — pull request #43 by tdomhan (2014-01-20 13:09:17+00:00)
Title: opencv dependency libpng

Because opencv_highgui depends on libpng, without linking it I get the following errors:
```
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_strip_alpha@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_get_io_ptr@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_palette_to_rgb@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_swap@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_write_end@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_compression_level@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_write_image@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_destroy_read_struct@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_write_info@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_gray_to_rgb@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_destroy_write_struct@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_get_IHDR@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_read_update_info@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_compression_strategy@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_create_read_struct@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_read_info@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_longjmp_fn@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_read_image@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_create_write_struct@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_bgr@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_create_info_struct@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_write_fn@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_init_io@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_packing@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_error@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_strip_16@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_read_end@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_IHDR@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_read_fn@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_expand_gray_1_2_4_to_8@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_rgb_to_gray@PNG15_0'
/home/domhant/anaconda/lib/libopencv_highgui.so: undefined reference to `png_set_filter@PNG15_0'
```