Re: Linux 迅雷离线客户端发布啦!
发表于 : 2013-02-06 22:56
会员才能离线下载,会员要钱的,是不?
代码: 全选
thundercore.h:34:26: fatal error: qjson/parser.h: No such file or directory
compilation terminated.
make: *** [main.o] Error 1
你需要安装 libqjson-dev 软件包,不过可能你还需安装libphonon-dev libqt4-dev 等等,编译试试看还缺啥只是说 写了:也想试用下,不知道怎么编译啊。qmake,make install.后有错误啊。![]()
代码: 全选
thundercore.h:34:26: fatal error: qjson/parser.h: No such file or directory compilation terminated. make: *** [main.o] Error 1
lm789632 写了:你需要安装 libqjson-dev 软件包,不过可能你还需安装libphonon-dev libqt4-dev 等等,编译试试看还缺啥只是说 写了:也想试用下,不知道怎么编译啊。qmake,make install.后有错误啊。![]()
代码: 全选
thundercore.h:34:26: fatal error: qjson/parser.h: No such file or directory compilation terminated. make: *** [main.o] Error 1
代码: 全选
ilinunix@Bentutu:~/XLCloudClient$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I/usr/include/qt4/phonon_compat -I. -I. -o main.o main.cpp
In file included from mainwindow.h:29:0,
from main.cpp:19:
thundercore.h:34:26: fatal error: qjson/parser.h: 没有那个文件或目录
compilation terminated.
make: *** [main.o] 错误 1
代码: 全选
sudo apt-get install qt4-qmake libqt4-dev libqjson-dev libphonon-dev libqt4-dev
git clone https://github.com/CaledoniaProject/XLCloudClient.git && cd XLCloudClient/
qmake
make
sudo make install
代码: 全选
sudo vim /usr/share/applications/CloudClient.desktop
# 将里面的"thunder-256"换成“/usr/share/icons/hicolor/256x256/apps/thunder-256.png”即可。
谢谢了,对我这个连小白都算不上的Linux用户,有很大帮助.可笑的是,make的时候竟然提示"g++:命令未找到",最后又装了一下g++,最后总算是安装好了,再次感谢!lxf1992521 写了:刚刚编译好了,这里说一下过程,大神你们明白小白的痛吗?安装好后,解决无图标现象:代码: 全选
sudo apt-get install qt4-qmake libqt4-dev libqjson-dev libphonon-dev libqt4-dev git clone https://github.com/CaledoniaProject/XLCloudClient.git && cd XLCloudClient/ qmake make sudo make install
下面是截图:代码: 全选
sudo vim /usr/share/applications/CloudClient.desktop # 将里面的"thunder-256"换成“/usr/share/icons/hicolor/256x256/apps/thunder-256.png”即可。