![]() Next, unzip the SOFA dependencies for Windows (downloaded before) directly in the sources sofa/src/.įinally, you should have something like this: Get the current stable version on the v23.06 branch: To set up clean repositories, we recommend to arrange the SOFA directories as follows: sofa/įirst, checkout the sources from Git repository: Qt: add your/Qt/path/msvcXXXX_XX/bin and your/Qt/path/msvcXXXX_XX/lib Building SOFA Setup your source and build directories You can add Boost and Qt to your PATH to ease their detection by CMake.īoost: add your/Boost/path and your/Boost/path/libXX-msvc-XX SOFA v20.06 and newer also need Eigen (>= 3.2.10)ĭownload and extract the latest Eigen sources. You will need to unzip it directly in SOFA sources (later in this tutorial). For Visual Studio 2017: choose boost_X_X_ĭownload and install the latest Python 3.8 (amd64).Īdditional libraries: libPNG, libJPEG, libTIFF, Glew, Zlib.For Visual Studio 2019: choose boost_X_X_.For Visual Studio 2022: choose boost_X_X_.Make sure to enable Charts and WebEngine components.ĭownload and install the latest version compatible with your Visual Studio from. We recommend to install Qt in your user directory with the unified installer. Qt (>= 5.12.0) with Charts and WebEngine. IMPORTANT: do not forget to add ninja to your system PATH. You can download the latest release from their GitHub repository. It has a better handling of incremental builds. We strongly advise you to use Ninja if you chose to install the Build Tools only (no IDE). IMPORTANT: check the option “Add CMake to the system PATH for all users” during the install process. Install CMake with the latest official installer. In the side panel: the C++ ATL and C++ MFC components.In the main panel: the C++ development toolkit, called “C++ Build Tools” or “Desktop C++”.If you want to use another IDE (like QtCreator), install the Build Tools only. ![]() If you want to use Visual Studio IDE, install the complete Visual Studio solution. On Windows, we officially support Microsoft Visual Studio >= 2017 (version 15.7). SOFA requires a C++17 compatible compiler. This may come in a near future, to be continued… Unfortunately, no Docker image has been created yet for Windows. Setup script: I am aware of the disclaimer above Preconfigured Docker image We use it on disposable virtual machines only. It is meant to be used on a fresh Windows. This script installs a lot of software directly in C:\ without any prealable check. To simplify the configuration of our continuous integration machines, we created a complete setup script. It is STRONGLY advised to read through this entire doc page before getting started.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |