尝试使用qt creator和Tmx解析器编译项目

时间:2014-05-18 17:05:27

标签: c++ makefile qmake tmx

我无法使用qt creator编译项目,这会抛出下一个错误

:-1: error: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/../../../../lib/libtmxparser.a(TmxLayer.o): undefined reference to symbol 'uncompress'

/usr/lib/libz.so:-1: error: error adding symbols: DSO missing from command line

但我将库添加到.pro文件

LIBS += -lsfml-graphics -lsfml-window -lsfml-system -ltinyxml -lz -ltmxparser

我可以用makefile编译这个项目,但是没有用qt creator和qmake

编译

0 个答案:

没有答案