qTox source code compilation

For transferring files on Ubuntu Linux and Windows/MacOS, found qTox.

Download

Windows Linux OS X FreeBSD
64 bit release ArchGentoo Latest release Package & Port
32 bit release   Building instructions  
64 bit32 bit nigthly Other  

However, there is no compiled version on Ubuntu (17.04), so you can only compile it yourself. The steps are as follows:

Install dependent libraries

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

Get the source code

git clone https://github.com/qTox/qTox.git
git clone https://github.com/toktok/c-toxcore.git toxcore

compile and run

First compile qtoxcore:

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

Compile qtox again:

mkdir build
cd build

cmake ..

make

make install

run:

./qtox

However, after using sudo make install, there is an error that libtoxcore.so.1 cannot be found, but it is under /usr/local/lib, and I don't know why.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325120075&siteId=291194637