找回密码
 立即注册
收起左侧

Red Hat 企业版6.2中编译安装Qt4.8.5后再回到Qt目录中,进入/to...

2
回复
4460
查看
[复制链接]
累计签到:2 天
连续签到:1 天
来源: 2013-11-11 12:00:25 显示全部楼层 |阅读模式

马上注册,查看详细内容!注册请先查看:注册须知

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
有懂的人给看看是怎么回事,急求高手解答。错误如下:.obj/release-shared/qanimationwriter.o: In function `QAnimationWriter:AnimationWriter(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'

下面还有许多类似的错误,急求大家指教
回复

使用道具 举报

累计签到:181 天
连续签到:1 天
2013-11-11 17:42:26 显示全部楼层
是不是因为没有编译PNG的支持?
回复 支持 反对

使用道具 举报

累计签到:2 天
连续签到:1 天
2013-11-12 20:22:29 显示全部楼层
hzzhou 发表于 2013-11-11 17:42
是不是因为没有编译PNG的支持?

但是在qanimationwriter.cpp里面包含的有<png.h>而且libpng这个库也安装了的,还是会出现问题,不知道怎么回事,你能在说说嘛?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了