document a dependency on libtbb (#235)

In the Ubuntu example I chose to show an install of libtbb2, rather than libtbb-dev which is what the Embree readme mentions. libtbb2 is what is packaged with the current prebuilt release (and it's what I'm currently using).
This commit is contained in:
neogeographica 2019-03-24 23:30:29 -07:00 committed by Eric Wasylishen
parent fd8b205dd2
commit 98696b4c06
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ source code.
Requires CMake 2.8, groff, and a compiler with C99 and C++11 support. Requires CMake 2.8, groff, and a compiler with C99 and C++11 support.
[Embree v2.10.0+](http://embree.github.io/) is optional but recommended. [Embree v2.10.0+](http://embree.github.io/) is optional but recommended.
If you do use Embree, the Thread Building Blocks (tbb) library is also required.
Tested on: Tested on:
- Ubuntu 14.04 / Clang 3.5.0 - Ubuntu 14.04 / Clang 3.5.0
@ -63,6 +64,7 @@ cd build
wget https://github.com/embree/embree/releases/download/v2.17.5/embree-2.17.5.x86_64.linux.tar.gz -O embree.tgz wget https://github.com/embree/embree/releases/download/v2.17.5/embree-2.17.5.x86_64.linux.tar.gz -O embree.tgz
tar xf embree.tgz tar xf embree.tgz
sudo apt-get install libtbb2
cmake .. -DCMAKE_BUILD_TYPE=Release -Dembree_DIR="$(pwd)/embree-2.17.5.x86_64.linux" cmake .. -DCMAKE_BUILD_TYPE=Release -Dembree_DIR="$(pwd)/embree-2.17.5.x86_64.linux"
make -j8 VERBOSE=1 make -j8 VERBOSE=1