diff --git a/tutorial/compile_dependencies_linux.sh b/tutorial/compile_dependencies_linux.sh deleted file mode 100755 index fb4cf784d..000000000 --- a/tutorial/compile_dependencies_linux.sh +++ /dev/null @@ -1,30 +0,0 @@ -sudo apt-get install git -sudo apt-get install build-essential -sudo apt-get install libeigen3-dev -sudo apt-get install cmake -sudo apt-get install libx11-dev -sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev -sudo apt-get install libxrandr-dev -sudo apt-get install libxi-dev -sudo apt-get install freeglut3-dev -sudo apt-get install libxmu-dev -sudo apt-get install libblas-dev libsuitesparse-dev - -cd ../external/AntTweakBar/src/ -rm ../lib/*.a -make - -cd ../../glfw/ -cmake -DCMAKE_BUILD_TYPE=Release . -rm src/*.a -make - -cd ../embree/ -rm -fr build -mkdir build -cd build -cp ../ispc/ispc-v1.8.1-linux ispc -cmake -DCMAKE_BUILD_TYPE=Release ../ -make - -cd ../../../tutorial diff --git a/tutorial/compile_dependencies_macosx.sh b/tutorial/compile_dependencies_macosx.sh deleted file mode 100755 index 486ca00af..000000000 --- a/tutorial/compile_dependencies_macosx.sh +++ /dev/null @@ -1,18 +0,0 @@ -cd ../external/AntTweakBar/src/ -rm ../lib/*.a -make -f makefile.osx.igl - -cd ../../glfw/ -cmake -DCMAKE_BUILD_TYPE=Release . -rm src/*.a -make - -cd ../embree/ -rm -fr build -mkdir build -cd build -cp ../ispc/ispc-v1.8.1-osx ispc -cmake -DCMAKE_BUILD_TYPE=Release ../ -make -j 16 - -cd ../../../tutorial diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html index cd3c4039d..76a3c2f5e 100644 --- a/tutorial/tutorial.html +++ b/tutorial/tutorial.html @@ -203,6 +203,19 @@ inside each example folder.
solver which has to be downloaded and compiled separately. +Note for linux users: Many linux distributions do not include gcc and the basic development tools +in their default installation. On Ubuntu, you need to install the following packages:
+ +sudo apt-get install git
+sudo apt-get install build-essential
+sudo apt-get install cmake
+sudo apt-get install libx11-dev
+sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev
+sudo apt-get install libxrandr-dev
+sudo apt-get install libxi-dev
+sudo apt-get install libxmu-dev
+
+
libigl uses the Eigen library to encode vector diff --git a/tutorial/tutorial.md b/tutorial/tutorial.md index 4025d5bc1..5fc7b26c7 100644 --- a/tutorial/tutorial.md +++ b/tutorial/tutorial.md @@ -157,6 +157,20 @@ A few examples in Chapter 5 requires the [CoMiSo solver](http://www.graphics.rwth-aachen.de/software/comiso) which has to be downloaded and compiled separately. +Note for linux users: Many linux distributions do not include gcc and the basic development tools +in their default installation. On Ubuntu, you need to install the following packages: + +```bash +sudo apt-get install git +sudo apt-get install build-essential +sudo apt-get install cmake +sudo apt-get install libx11-dev +sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev +sudo apt-get install libxrandr-dev +sudo apt-get install libxi-dev +sudo apt-get install libxmu-dev +``` + ## Mesh representation [meshrepresentation] libigl uses the [Eigen](http://eigen.tuxfamily.org/) library to encode vector