爲了在Ubuntu Linux上和Windows/MacOS傳文件,找到了qTox。linux
Windows | Linux | OS X | FreeBSD |
---|---|---|---|
64 bit release | Arch, Gentoo | Latest release | Package & Port |
32 bit release | Building instructions | ||
64 bit, 32 bit nigthly | Other |
可是在Ubuntu(17.04)上沒有編譯好的版本,只能本身編譯,步驟以下:git
sudo apt-get install \ build-essential \ cmake \ libavcodec-dev \ libavdevice-dev \ libavfilter-dev \ libavutil-dev \ libexif-dev \ libgdk-pixbuf2.0-dev \ libglib2.0-dev \ libgtk2.0-dev \ libopenal-dev \ libqrencode-dev \ libqt5opengl5-dev \ libqt5svg5-dev \ libsqlcipher-dev \ libswresample-dev \ libswscale-dev \ libxss-dev \ qrencode \ qt5-default \ qttools5-dev-tools
git clone https://github.com/qTox/qTox.git git clone https://github.com/toktok/c-toxcore.git toxcore
先編譯qtoxcore:github
cd toxcore git checkout v0.1.11 autoreconf -if ./configure make -j$(nproc) sudo make install echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf sudo ldconfig
再編譯qtox:sql
mkdir build cd build cmake .. make make install
運行:windows
./qtox
可是,在使用sudo make install後,出現找不到libtoxcore.so.1的錯誤,可是到/usr/local/lib下面是有的,不知道啥緣由。xss