Przeglądaj źródła

note about linux

Former-commit-id: 8662911d5db9cdad26512896e258c3bc47b7a41d
Alec Jacobson 7 lat temu
rodzic
commit
7be2a7c4aa
1 zmienionych plików z 9 dodań i 1 usunięć
  1. 9 1
      python/README.md

+ 9 - 1
python/README.md

@@ -32,7 +32,8 @@ The cmake script will complain if it is not able to find python. In that case
 you can specify the location of the interpreter by specifying the following
 you can specify the location of the interpreter by specifying the following
 cmake variables.
 cmake variables.
 
 
-MacOSX/Linux:
+
+MacOSX:
 
 
 ```cmake
 ```cmake
 SET(PYTHON_LIBRARIES "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/libpython3.5m.dylib")
 SET(PYTHON_LIBRARIES "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/libpython3.5m.dylib")
@@ -46,6 +47,13 @@ SET(PYTHON_LIBRARIES "C:/Python35/libs/python35.lib")
 SET(PYTHON_INCLUDE_DIR "C:/Python35/include")
 SET(PYTHON_INCLUDE_DIR "C:/Python35/include")
 ```
 ```
 
 
+On Linux you may need to install the development version of python:
+
+```bash
+sudo apt-get install python-dev
+```
+
+
 ## Tutorial
 ## Tutorial
 
 
 All libigl tutorials will be ported to python and will use the same naming
 All libigl tutorials will be ported to python and will use the same naming