Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gmsh gmsh
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 265
    • Issues 265
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gmsh
  • gmshgmsh
  • Wiki
  • Gmsh compilation

Gmsh compilation · Changes

Page history
Update Gmsh compilation authored Jan 08, 2022 by Christophe Geuzaine's avatar Christophe Geuzaine
Hide whitespace changes
Inline Side-by-side
Gmsh-compilation.md
View page @ c4744d26
......@@ -67,6 +67,20 @@ sudo make install
# * if you don't have root access, remove "sudo"
```
Alternatively, if you encounter issues with the cmake configuration of the FLTK build (e.g. with the MinGW compilers on Windows, see https://gitlab.onelab.info/gmsh/gmsh/-/issues/1706#note_15998), you can try the old-style autoconf build:
```bash
git clone https://github.com/fltk/fltk.git
cd fltk
make
# 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
# * if you don't have root access, add --prefix==path-to-install
make
sudo make install
# Notes:
# * if you don't have root access, remove "sudo"
```
## Gmsh
You can then compile Gmsh as follows:
......
Clone repository
  • First Gmsh Workshop
  • Git cheat sheet
  • Gmsh compilation
  • Second Gmsh Workshop
  • Third Gmsh Workshop
  • Home