User Tools

Site Tools


installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installation [2017/01/31 12:22] smilauerinstallation [2019/09/11 10:54] (current) – updated github repo bp
Line 20: Line 20:
  
   # When a repository is cloned, git automatically creates a master branch that tracks origin/master   # When a repository is cloned, git automatically creates a master branch that tracks origin/master
-  git clone http://www.oofem.org/git/oofem.git oofem.git+  git clone https://github.com/oofem/oofem.git
   # If you would like to track develop branch   # If you would like to track develop branch
   git checkout -b develop origin/develop   git checkout -b develop origin/develop
Line 148: Line 148:
     * Close CMake, but do not close the terminal. Open your project folder, e.g. cd C:\OOFEM\build     * Close CMake, but do not close the terminal. Open your project folder, e.g. cd C:\OOFEM\build
   * Type mingw32-make -j3 to compile oofem using 3 cores. (Building release took approx. 15 minutes.)   * Type mingw32-make -j3 to compile oofem using 3 cores. (Building release took approx. 15 minutes.)
-  * Run oofem tests: "make tests -j3" and benchmarks "make benchmarks -j3"+  * In case of error caused by multiple definition of 'vsnprintf' add -D__USE_MINGW_ANSI_STDIO=0 in CMAKE_CXX_FLAGS and regenerate makefiles. 
 +  * Run oofem tests: "mingw32-make tests -j3" and benchmarks "mingw32-make benchmarks -j3"
   * The size of oofem with debug options is approx 740 MB, release 10.2 MB   * The size of oofem with debug options is approx 740 MB, release 10.2 MB
   * In order to use oofem on a different computer it is essential to transfer all *.dll's from MinGW/bin alonside oofem. Copy them in the same folder as oofem.exe (8 files, 3.5 MB)   * In order to use oofem on a different computer it is essential to transfer all *.dll's from MinGW/bin alonside oofem. Copy them in the same folder as oofem.exe (8 files, 3.5 MB)
installation.txt · Last modified: 2019/09/11 10:54 by bp