qt create 编译嵌入式软件提示undefine reference to 'ts_read_raw'
2012-10-23 16:38
399 查看
以前用友善的板子,用的编译工具链一直是友善提供的,今天用自己下载的arm-2009q1编译链编译qt程序,提示需要libts-1.0.so.0库的支持。
分析原因,肯定是友善给的编译工具里面集成了tslib的库,而我现在用的工具中没有。不过tslib我早就已经移植编译过,该有的库文件都在,于是寻找在qt项目中加入额外的库文件的方法。
在项目的.pro文件中加入 "LIBS +=/home/qqw/workspace/tslib/target/lib/libts-1.0.so.0"这句话后解决问题。
不解释了,我想玩QT的人应该都能看懂吧。
分析原因,肯定是友善给的编译工具里面集成了tslib的库,而我现在用的工具中没有。不过tslib我早就已经移植编译过,该有的库文件都在,于是寻找在qt项目中加入额外的库文件的方法。
在项目的.pro文件中加入 "LIBS +=/home/qqw/workspace/tslib/target/lib/libts-1.0.so.0"这句话后解决问题。
不解释了,我想玩QT的人应该都能看懂吧。
相关文章推荐
- 编译QT时出现lib/libQtGui.so: undefined reference to `ts_read_raw'的解决办法
- /lib/libQtGui.so: undefined reference to `ts_read_raw'
- undefined reference to `ts_read_raw'
- 编译提示undefined reference to `dlsym'
- linux 编译程序时得到undefined reference to 'xxxx'这样的错误提示
- 编译QT时出现lib/libQtGui.so: undefined reference to `ts_read_raw'的解决办法
- arm编译QT4.8.5时出现lib/libQtGui.so: undefined reference to `ts_read_raw'的解决办法
- FreeBSD下编译Fontconfig时提示src/.libs/libfontconfig.so: undefined reference to `xmlCreatePushParserCtxt' 的解决办法
- QT 编译的时候出现 undefined reference to `vtable for XXX '
- libvorbis编译出现undefined reference to `ogg_sync_pageseek'
- TORNADO下编译出现undefined reference to `itoa'错误
- ubuntu下 GCC编译程序出现 undefined reference to `std::ios_base::Init::Init()'问题——gcc编译C++代码
- sqlite3 交叉编译 undefined reference to `fdatasync' 错误解决
- undefined reference to `__gnu_mcount_nc'的解决 在编译内核时出现了如下错误:
- MySQL connector C++在Linux下编译undefined reference to 'get_driver_instance'问题
- ----linux--内核编译的问题:undefined reference to `printascii'
- linux eclipse CDT 编译报错 :undefined reference to `curl_easy_cleanup' 的解决方案
- cocos2d-x 使用ndk编译 x86 出现 in function Curl_resolv_timeout: undefined reference to 'sigsetjmp' 错误
- linux编译,解决类似于undefined reference to `*'
- ubuntu11.10编译mksquash_lzma-3.2的错误:undefined reference to `inflateReset'