2 u012682992 u012682992 于 2013.11.11 19:13 提问

RedHat企业版6.2中编译安装Qt4.8.5后,进入/tools/qvfb中gmake出现以下错误

有懂的人给看看是怎么回事,急求高手解答。错误如下:.obj/release-shared/qanimationwriter.o: In function QAnimationWriter::QAnimationWriter(QString const&, char const*)':
qanimationwriter.cpp:(.text+0x9ec): undefined reference to
png_create_write_struct'
qanimationwriter.cpp:(.text+0x9f7): undefined reference to png_create_info_struct'
qanimationwriter.cpp:(.text+0xa0d): undefined reference to
png_set_compression_level'
qanimationwriter.cpp:(.text+0xa2c): undefined reference to png_set_write_fn'
.obj/release-shared/qanimationwriter.o: In function
QAnimationWriterMNG::setImage(QImage const&)':
qanimationwriter.cpp:(.text._ZN19QAnimationWriterMNG8setImageERK6QImage[QAnimationWriterMNG::setImage(QImage const&)]+0xb6): undefined reference to png_write_chunk'
.obj/release-shared/qanimationwriter.o: In function
QAnimationWriterMNG::write(png_struct_def*, unsigned char*, unsigned int)':
qanimationwriter.cpp:(.text._ZN19QAnimationWriterMNG5writeEP14png_struct_defPhj[QAnimationWriterMNG::write(png_struct_def*, unsigned char*, unsigned int)]+0xd): undefined reference to `png_get_io_ptr'

注:在qanimationwriter.cpp中已包含且libpng库也已安装。

Csdn user default icon
上传中...
上传图片
插入图片