„README.md“ ändern

This commit is contained in:
Eyck Jentzsch 2020-03-30 19:41:35 +00:00
parent 6e751ac2b4
commit f928ad5814
1 changed files with 8 additions and 0 deletions

View File

@ -16,16 +16,21 @@ RISCV-VP uses libGIS (https://github.com/vsergeev/libGIS) as well as ELFIO (http
* you need to have a C++11 capable compiler (e.g. gcc >= 4.8), make, python, and cmake installed * you need to have a C++11 capable compiler (e.g. gcc >= 4.8), make, python, and cmake installed
* install LLVM >= 4.0 according to http://apt.llvm.org/ (if it is not already provided by your distribution e.g by Ubuntu 18.04) * install LLVM >= 4.0 according to http://apt.llvm.org/ (if it is not already provided by your distribution e.g by Ubuntu 18.04)
* install conan.io (see also http://docs.conan.io/en/latest/installation.html): * install conan.io (see also http://docs.conan.io/en/latest/installation.html):
``` ```
pip install conan pip install conan
``` ```
* setup conan to use the minres repo: * setup conan to use the minres repo:
``` ```
conan remote add minres https://api.bintray.com/conan/minres/conan-repo conan remote add minres https://api.bintray.com/conan/minres/conan-repo
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
``` ```
* checkout source from git * checkout source from git
* start an out-of-source build: * start an out-of-source build:
``` ```
cd RISCV-VP cd RISCV-VP
mkdir build mkdir build
@ -33,10 +38,13 @@ RISCV-VP uses libGIS (https://github.com/vsergeev/libGIS) as well as ELFIO (http
cmake .. cmake ..
cmake --build . cmake --build .
``` ```
* if you encounter issues when linking wrt. c++11 symbols you might have run into GCC ABI incompatibility introduced from GCC 5.0 onwards. You can fix this by adding '-s compiler.libcxx=libstdc++11' to the conan call or changing compiler.libcxx to * if you encounter issues when linking wrt. c++11 symbols you might have run into GCC ABI incompatibility introduced from GCC 5.0 onwards. You can fix this by adding '-s compiler.libcxx=libstdc++11' to the conan call or changing compiler.libcxx to
``` ```
compiler.libcxx=libstdc++11 compiler.libcxx=libstdc++11
``` ```
in $HOME/.conan/profiles/default in $HOME/.conan/profiles/default
**Detailed Setup steps** **Detailed Setup steps**