主题 : 编译QT时出现错误: cannot find -lqtopia,咋办? 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 95166
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
综合积分: 2 分
注册时间: 2013-08-04
最后登录: 2013-08-28
楼主  发表于: 2013-08-04 23:25

 编译QT时出现错误: cannot find -lqtopia,咋办?

编译QT时出现错误: cannot find -lqtopia,咋办?
make[1]: Entering directory `/opt/FriendlyARM/SBC2410/x86-qtopia/qtopia/src/applications/sysinfo'
gcc -L/opt/FriendlyARM/SBC2410/x86-qtopia/qtopia/lib -Wl,-rpath,/opt/FriendlyARM/SBC2410/x86-qtopia/qtopia/lib -L/opt/FriendlyARM/SBC2410/x86-qtopia/qt/lib -Wl,-rpath,/opt/FriendlyARM/SBC2410/x86-qtopia/qt/lib   -o /opt/FriendlyARM/SBC2410/x86-qtopia/qtopia/bin/sysinfo .obj/linux-generic-g++//memory.o .obj/linux-generic-g++//graph.o .obj/linux-generic-g++//load.o .obj/linux-generic-g++//storage.o .obj/linux-generic-g++//versioninfo.o .obj/linux-generic-g++//sysinfo.o .obj/linux-generic-g++//main.o .obj/linux-generic-g++//moc_memory.o .obj/linux-generic-g++//moc_graph.o .obj/linux-generic-g++//moc_load.o .obj/linux-generic-g++//moc_storage.o .obj/linux-generic-g++//moc_versioninfo.o .obj/linux-generic-g++//moc_sysinfo.o  -lqpe -lqtopia -lqte  
/usr/bin/ld: cannot find -lqtopia
collect2: ld returned 1 exit status
make[1]: *** [/opt/FriendlyARM/SBC2410/x86-qtopia/qtopia/bin/sysinfo] Error 1
make[1]: Leaving directory `/opt/FriendlyARM/SBC2410/x86-qtopia/qtopia/src/applications/sysinfo'
make: *** [applications/sysinfo] Error 2


其他信息如下:
lrwxrwxrwx    1 root     root           18  8月  4 20:08 libqpepim.so -> libqpepim.so.1.6.2
lrwxrwxrwx    1 root     root           15  8月  4 18:39 libqpe.so -> libqpe.so.1.5.2
lrwxrwxrwx    1 root     root           15  8月  4 18:39 libqpe.so.1 -> libqpe.so.1.5.2
lrwxrwxrwx    1 root     root           15  8月  4 18:39 libqpe.so.1.5 -> libqpe.so.1.5.2
-rwxr-xr-x    1 root     root      1378042  8月  4 18:39 libqpe.so.1.5.2
lrwxrwxrwx    1 root     root           22  8月  4 20:08 libqtopiacalc.so -> libqtopiacalc.so.1.7.0
lrwxrwxrwx    1 root     root           18  8月  4 20:08 libqtopia.so -> libqtopia.so.1.6.2
-rw-r--r--    1 root     root       331756  8月  4 19:35 libss.a
-rwxr-xr-x    1 root     root        89546  8月  4 19:35 libss.so
-rwxr-xr-x    1 root     root        89546  8月  4 19:35 libss.so.2
-rwxr-xr-x    1 root     root        89546  8月  4 19:35 libss.so.2.0
-rw-r--r--    1 root     root       170580  8月  4 19:35 libuuid.a
-rwxr-xr-x    1 root     root        65924  8月  4 19:35 libuuid.so
-rwxr-xr-x    1 root     root        65924  8月  4 19:35 libuuid.so.1
-rwxr-xr-x    1 root     root        65924  8月  4 19:35 libuuid.so.1.2
-r--r--r--    1 507      users          21 2003-06-04  README
drwxrwxr-x    4 15806    15806        4096  8月  4 19:35 uuid
[root@leanlinux lib]# pwd
/opt/FriendlyARM/SBC2410/x86-qtopia/qtopia/lib
[root@leanlinux lib]# locate libqtopia.so
[root@leanlinux lib]# locate  libqtopia.so.1.6.2
[root@leanlinux lib]#
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2013-08-05 12:37
看起来是libqtopia.so.1.6.2.so没有生成?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."