diff options
| author | thecharlesblake | 2017-10-13 18:45:48 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-13 18:46:14 +0100 |
| commit | db2586061611dcdb49b4c71b120cf53960fad6f8 (patch) | |
| tree | b3bdce7b7cd6c46f6928368f2c91f9d994fc48e7 | |
| parent | Add basic travis file (diff) | |
| download | metasol-db2586061611dcdb49b4c71b120cf53960fad6f8.tar.gz metasol-db2586061611dcdb49b4c71b120cf53960fad6f8.zip | |
Update build instructions with new install
| -rw-r--r-- | build-instructions.md | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/build-instructions.md b/build-instructions.md index f0fe12d..1a8980d 100644 --- a/build-instructions.md +++ b/build-instructions.md @@ -5,8 +5,32 @@ building the project, running the program, and creating an installer. ### Installing dependencies -`cd cmake-build-[debug|release]; conan install .. --build missing -s \ -compiler=gcc -s compiler.version=6.3 -s compiler.libcxx=libstdc++11; cd ..` +#### Upgrade GCC (if you don't have version 6) +`sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y` + +`sudo apt-get update -qq` + +`sudo apt-get install -qq g++-6` + +`sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6` + +#### Boost + +Note: this doesn't have to (and probably shouldn't) be run from within the project, unlike the other commands listed here. + +`sudo wget -O boost_1_63_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz/download` + +`sudo tar xzvf boost_1_63_0.tar.gz` + +`cd boost_1_63_0/` + +`sudo ./bootstrap.sh --with-libraries=log` + +`sudo ./b2 link=shared threading=multi toolset=gcc optimization=space` + +`sudo ./b2 install` + +`cd ..` ### Generate Build System |
