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 revision Previous revision
installation [2017/01/31 12:22]
smilauer
installation [2017/06/21 17:25] (current)
edita [Windows installation under MinGW environment]
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.1485861736.txt.gz · Last modified: 2017/01/31 12:22 by smilauer