Commit f7906c2f authored by geobra's avatar geobra Committed by GitHub

README: Explain how to build the project, Adjust SWIFT3PATH accordingly (#16)

* Explained in Readme how to build and adjusted SWIFT3PATH accordingly

* Fixed findings from review

* Fixed findings from review. Added packaged, needed to build Kaidan.

* README: Use code-style for commands, Use libstdc++-5-dev

* Add Troubleshooting: Can't find Swiften_Boost
parent 0614dbac
# Kaidan
# Kaidan - Cross platform XMPP client
## Installation
On Linux do the following:
Create a working directory
* `mkdir src`
* `cd src`
Fetch swift source
* `wget https://swift.im/downloads/releases/swift-3.0/swift-3.0.tar.gz`
* `tar -xzvf swift-3.0.tar.gz`
* `cd swift-3.0/`
Install all dependencies to build swiften
* `./BuildTools/InstallSwiftDependencies.sh`
* `./scons Swiften -j<Number of threads>`
Install dependencies to build Kaidan (example for Debian)
* `sudo apt-get install zlib1g-dev libssl-dev libxml2-dev libstdc++-5-dev libqt5quick5 libqt5quickparticles5 libqt5quickwidgets5 libqt5qml5 libqt5network5 libqt5gui5 libqt5core5a qt5-default libglib2.0-dev libpthread-stubs0-dev`
Get Kaidan source code
* `cd ..`
* `git clone https://github.com/KaidanIM/Kaidan`
Either
* open pro file within qtreator
or use command line
* `cd Kaidan/app`
* `qmake`
* `make -j<Number of threads>`
### Troubleshooting
#### Cannot find `-lSwiften_Boost`
When you get this error, you probably have installed the debian packages for libboost.
Remove them and rebuild swift. Then it should build correctly.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment