![]() ![]() Copy the the content of the source include directory (e.g.C:\OpenFLUID-buildsupport-sources\Boost). Download the Boost sources package version 1.54 or higher, and uncompress it in a folder of your choice (different from C:\OpenFLUID-buildsupport, e.g.During the installation, change the MinGW path to the Qt MINGW path (e.g. Download the MSYS installer (version 1.0.11 is recommended).Download the Git installer, and install Git.The hard way: build the libraries by yourself ¶ The easy way: use the provided installer (recommended) ¶ ![]() In order to install those development libraries, you can use the provided installer (recommended) or build the libraries by yourself. OpenFLUID requires Boost, GEOS, GDAL, RapidJSON to be built. ![]() Download the Doxygen installer, and install Doxygen.Download the Qt installer for Windows with MinGW, version 5.4 or higher.Download the CMake installer version 2.8.12 or higher, and install CMake.These instructions are for OpenFLUID 2.1.0 and later versions. Run the make command from the _build directory makeĪfter having built OpenFLUID in release mode, run the following command from the build directory cmake -P ofpack-osx-brewcask.cmake DCMAKE_PREFIX_PATH=$(brew -prefix qt5)/lib/cmake DCMAKE_PREFIX_PATH=$(brew -prefix qt5)/lib/cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/localĬmake. Run the cmake command, for development or release buildĮxport PATH=$PATH:$(brew -prefix qt5)/binĬmake.Create a build directory in your source directory ( e.g.Add the Qt bin path to the PATH environment variable.Open a Terminal, and go into the OpenFLUID sources directory.Install dependencies packages using brewīrew install cmake qt5 boost geos gdal rapidjson doxygen p7zip gnuplot.Update brew to be sure to have the latest version installed.Open a Terminal and install brew package manager if not already installed ( ).Install the latest version of XCode with command line tools.These instructions are for OpenFLUID 2.1.5+. The previously mentioned prerequisites should be satisfied. This example shows how to get the current sources from the OpenFLUID git repository, and create a package for installation. Run "make install" from your build directoryįull example : Building release package from develop branch ¶.Run "make package_source" from your build directory.Run "cpack" from your build directory (available in release build only). ![]() Packaging and installation ¶ Creating binary packages (recommended way for installation) ¶ Run "ctest" from your build directory (available in development build only).-DOFBUILD_ENABLE_HEAVYTESTING : Enable the build of tests (default value : OFF).-DOFBUILD_ENABLE_TESTING : Enable the build of tests ( ON in Debug mode, OFF in Release mode).-DOFBUILD_ENABLE_SANITIZER : Enable the compiler sanitizer to track memory address errors (default value : OFF).The following options are available to control the build process DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr run the cmake command, for development or release buildĮxample for development build mkdir _buildĬmake.create a build directory in your source directory ( e.g.P7zip gnuplot graphviz doxygen rpm-build redhat-lsb Qt5-qttools-devel qt5-qtbase-devel qt5-qtsvg-devel qt5-qtwebkit-devel qt5-qtsvg-devel \ Qt5-default qtbase5-dev-tools qttools5-dev-tools libqt5svg5-dev \įedora 25 and higher sudo dnf install gcc-c++ gcc-gfortran make cmake git \ Libboost-all-dev libgdal-dev libgeos++-dev \ Texlive-latex-extra texlive-fonts-extra latex2html doxygen \ Ubuntu 16.04 and higher, Debian 8 and higher sudo apt-get install build-essential lsb-release g++ gfortran git cmake \ Install the required libraries and tools using the following command: More information are available on the Working with source code page. You may clone the repositories to work with the source code. The OpenFLUID source code is available on our GitHub organization. Good practices for simulators development.Conventions for naming simulators and data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |