... | ... | @@ -6,7 +6,7 @@ This page contains more detailed instructions to compile a full-featured version |
|
|
|
|
|
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:
|
|
|
First make sure that you have the Freetype libraries installed on your system (OpenCASCADE depends on them). If not, download and install them (here for Freetype 2.8):
|
|
|
|
|
|
```bash
|
|
|
curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.8.tar.gz
|
... | ... | @@ -21,7 +21,7 @@ make |
|
|
sudo make install
|
|
|
```
|
|
|
|
|
|
To compile OpenCASCADE, download and uncompress the sources from [the official site](https://www.opencascade.com/content/latest-release), then (here for occt 7.2.0):
|
|
|
To compile OpenCASCADE, download and uncompress the sources from [the official site](https://www.opencascade.com/content/latest-release), then (here for OCCT 7.2.0):
|
|
|
|
|
|
```bash
|
|
|
curl -L -o occt.tgz "http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_2_0;sf=tgz"
|
... | ... | @@ -40,11 +40,12 @@ sudo make install |
|
|
|
|
|
## FLTK
|
|
|
|
|
|
Gmsh's default graphical user interface uses the FLTK widget toolkit. To compile FLTK:
|
|
|
Gmsh's default graphical user interface uses the FLTK widget toolkit. To compile FLTK (here for FLTK 1.3.4):
|
|
|
|
|
|
```bash
|
|
|
svn co http://seriss.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3
|
|
|
cd fltk-1.3
|
|
|
curl -O http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-2-source.tar.gz
|
|
|
tar zxvf fltk-1.3.4-2-source.tar.gz
|
|
|
cd fltk-1.3.4-2
|
|
|
# Notes:
|
|
|
# * if you don't have root access, add --prefix==path-to-install
|
|
|
./configure
|
... | ... | |