... | @@ -12,13 +12,13 @@ First make sure that you have the Freetype libraries installed on your system (O |
... | @@ -12,13 +12,13 @@ First make sure that you have the Freetype libraries installed on your system (O |
|
curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.8.tar.gz
|
|
curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.8.tar.gz
|
|
tar zxvf freetype-2.8.tar.gz
|
|
tar zxvf freetype-2.8.tar.gz
|
|
cd freetype-2.8
|
|
cd freetype-2.8
|
|
|
|
./configure
|
|
# Notes:
|
|
# Notes:
|
|
# * if you don't have root access, add --prefix==path-to-install
|
|
# * if you don't have root access, add --prefix==path-to-install
|
|
./configure
|
|
|
|
make
|
|
make
|
|
|
|
sudo make install
|
|
# Notes:
|
|
# Notes:
|
|
# * if you don't have root access, remove "sudo"
|
|
# * if you don't have root access, remove "sudo"
|
|
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):
|
... | @@ -29,13 +29,13 @@ tar zxvf occt.tgz |
... | @@ -29,13 +29,13 @@ tar zxvf occt.tgz |
|
cd occt-V7_2_0
|
|
cd occt-V7_2_0
|
|
mkdir build
|
|
mkdir build
|
|
cd build
|
|
cd build
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_MODULE_Draw=0 -DBUILD_MODULE_Visualization=0 -DBUILD_MODULE_ApplicationFramework=0 ..
|
|
# Notes:
|
|
# Notes:
|
|
# * if you don't have root access, add -DCMAKE_INSTALL_PREFIX=path-to-install
|
|
# * if you don't have root access, add -DCMAKE_INSTALL_PREFIX=path-to-install
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_MODULE_Draw=0 -DBUILD_MODULE_Visualization=0 -DBUILD_MODULE_ApplicationFramework=0 ..
|
|
|
|
make
|
|
make
|
|
|
|
sudo make install
|
|
# Notes:
|
|
# Notes:
|
|
# * if you don't have root access, remove "sudo"
|
|
# * if you don't have root access, remove "sudo"
|
|
sudo make install
|
|
|
|
```
|
|
```
|
|
|
|
|
|
## FLTK
|
|
## FLTK
|
... | @@ -46,13 +46,13 @@ Gmsh's default graphical user interface uses the FLTK widget toolkit. To compile |
... | @@ -46,13 +46,13 @@ Gmsh's default graphical user interface uses the FLTK widget toolkit. To compile |
|
curl -O http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-2-source.tar.gz
|
|
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
|
|
tar zxvf fltk-1.3.4-2-source.tar.gz
|
|
cd fltk-1.3.4-2
|
|
cd fltk-1.3.4-2
|
|
|
|
./configure
|
|
# Notes:
|
|
# Notes:
|
|
# * if you don't have root access, add --prefix==path-to-install
|
|
# * if you don't have root access, add --prefix==path-to-install
|
|
./configure
|
|
|
|
make
|
|
make
|
|
|
|
sudo make install
|
|
# Notes:
|
|
# Notes:
|
|
# * if you don't have root access, remove "sudo"
|
|
# * if you don't have root access, remove "sudo"
|
|
sudo make install
|
|
|
|
```
|
|
```
|
|
|
|
|
|
## Gmsh
|
|
## Gmsh
|
... | @@ -64,10 +64,10 @@ git clone http://gitlab.onelab.info/gmsh/gmsh.git |
... | @@ -64,10 +64,10 @@ git clone http://gitlab.onelab.info/gmsh/gmsh.git |
|
cd gmsh
|
|
cd gmsh
|
|
mkdir build
|
|
mkdir build
|
|
cd build
|
|
cd build
|
|
|
|
cmake ..
|
|
# Notes:
|
|
# Notes:
|
|
# * if you installed dependencies (e.g. OpenCASCADE and FLTK) 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
|
|
# * 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
|
|
# * for a list of all available configuration options see http://gmsh.info/doc/texinfo/gmsh.html#Compiling-the-source-code
|
|
cmake ..
|
|
|
|
make
|
|
make
|
|
``` |
|
``` |
|
\ No newline at end of file |
|
|