... | ... | @@ -4,7 +4,9 @@ This page contains more detailed instructions to compile a full-featured version |
|
|
|
|
|
## OpenCASCADE
|
|
|
|
|
|
OpenCASCADE is a free CAD kernel that Gmsh uses extensively for constructive solid geometry and for importing STEP files. First make sure that you have the Freetype libraries installed on your system (OpenCASCADE depends on it); if not, download and install them:
|
|
|
OpenCASCADE is a free CAD kernel that Gmsh uses extensively for constructive solid geometry and for importing STEP files.
|
|
|
|
|
|
First make sure that you have the Freetype libraries installed on your system (OpenCASCADE depends on them); if not, download and install them:
|
|
|
```
|
|
|
curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.8.tar.gz
|
|
|
tar zxvf freetype-2.8.tar.gz
|
... | ... | @@ -61,7 +63,7 @@ cd gmsh |
|
|
mkdir build
|
|
|
cd build
|
|
|
# Notes:
|
|
|
# * if you installed dependencies (e.g. OpenCASCADE) in non-standard locations, add the option -DCMAKE_PREFIX_PATH=path-of-installed-dependencies
|
|
|
# * if you installed dependencies (e.g. OpenCASCADE and FLTK) in non-standard locations, add the option -DCMAKE_PREFIX_PATH=path-of-installed-dependencies
|
|
|
# * to build a distributed memory (MPI) capable version add the option -DENABLE_MPI=1
|
|
|
# * for a list of all available configuration options see http://gmsh.info/doc/texinfo/gmsh.html#Compiling-the-source-code
|
|
|
cmake ..
|
... | ... | |