|
|
General build instructions are available in the top-level [README](http://gitlab.onelab.info/gmsh/gmsh/tree/master/README.txt).
|
|
|
|
|
|
Below are additional instructions to compile some optional packages
|
|
|
|
|
|
## OpenCASCADE
|
|
|
|
|
|
Download the sources from [the official site](https://www.opencascade.com/content/latest-release), then (here for occt 7.1.0):
|
|
|
```
|
|
|
tar zxvf opencascade-7.1.0.tgz
|
|
|
cd opencascade-7.1.0
|
|
|
mkdir build
|
|
|
cd build
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_MODULE_Draw=0 -DBUILD_MODULE_Visualization=0 -DBUILD_MODULE_ApplicationFramework=0 ..
|
|
|
make install
|
|
|
```
|
|
|
|
|
|
## FLTK
|
|
|
|
|
|
```
|
|
|
svn co http://seriss.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3
|
|
|
cd fltk-1.3
|
|
|
make install
|
|
|
```
|
|
|
|
|
|
## Gmsh
|
|
|
|
|
|
```
|
|
|
git clone http://gitlab.onelab.info/gmsh/gmsh.git
|
|
|
cd gmsh
|
|
|
mkdir build
|
|
|
cd build
|
|
|
cmake ..
|
|
|
make
|
|
|
``` |