... | ... | @@ -25,12 +25,12 @@ sudo make install |
|
|
# * if you don't have root access, remove "sudo"
|
|
|
```
|
|
|
|
|
|
To compile OpenCASCADE (here for OCCT 7.3.0):
|
|
|
To compile OpenCASCADE (here for OCCT 7.5.0):
|
|
|
|
|
|
```bash
|
|
|
curl -L -o occt.tgz "http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_3_0;sf=tgz"
|
|
|
curl -L -o occt.tgz "http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_5_0;sf=tgz"
|
|
|
tar zxf occt.tgz
|
|
|
cd occt-V7_3_0
|
|
|
cd occt-V7_5_0
|
|
|
mkdir build
|
|
|
cd build
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_MODULE_Draw=0 -DBUILD_MODULE_Visualization=0 -DBUILD_MODULE_ApplicationFramework=0 ..
|
... | ... | @@ -50,12 +50,11 @@ Gmsh's graphical user interface uses the FLTK widget toolkit. You only need FLTK |
|
|
|
|
|
On most Linux distributions you can just install the `fltk` development package(s), e.g. `libfltk1.3-dev`.
|
|
|
|
|
|
On other platforms, or if you just want to compile FLTK from source (here for FLTK 1.3.4):
|
|
|
On other platforms, or if you just want to compile FLTK from source (here from the latest GIT master):
|
|
|
|
|
|
```bash
|
|
|
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
|
|
|
git clone https://github.com/fltk/fltk.git
|
|
|
cd fltk
|
|
|
./configure
|
|
|
# Notes:
|
|
|
# * by default FLTK is compiled as a static library, which has been reported to cause issues with OpenGL libraries on some systems; to build a shared library, add --enable-shared
|
... | ... | |