安装完libpng后,undefined reference to `png_create_write_struct'...解决方法
ubuntu下执行g++dgr.cpp,报错:/tmp/cchTRmbn.o:Infunction`main':dgr.cpp:(.text+0x3a):undefinedreferenceto`png_create_write_struct'dgr.cpp:(.text+0x5d):undefinedreferenceto`png_create_info_struct'dgr.cpp:(.tex