Compilation on Windows

Quaoar

Administrator
Staff member
Compilation on the Windows platform can be simplified by the help of a libpack. Prerequisites are as follows:
  • Visual Studio 2019.
  • OpenCascade 7.4.0 (Analysis Situs would not compile for the recent version of OpenCascade): https://gitlab.com/ssv/opencascade
  • VTK 8.2.
  • Other 3-rd parties are not that restricted in their versions, so you can use the most recent ones.
Here is the link to the libpack: https://analysissitus.org/files/libpacks/analysissitus-libpack-msvc2019.zip

Here is the CMake configuration that allows to build Analysis Situs GUI with the minimal set of dependencies (click on the image to enlarge):

1624004834048.png

There are some other juicy options, like building only the SDK libs, but let's start from the basics, and I'll expand on the possible options a bit later.
 
Last edited:

Quaoar

Administrator
Staff member
I made a fork for OpenCascade 7.4.0 with restored forward compatibility of BREP format (the BREP files stored in OpenCascade 7.5 won't open in OpenCascade 7.4 without any logical reason). Therefore, it's recommended to build Analysis Situs with this fork instead of the official 7.4.0: https://gitlab.com/ssv/opencascade
 

Quaoar

Administrator
Staff member
Also, Active Data 3-rd party is now eliminated (this Active Data framework is now a part of Analysis Situs). That should simplify a bit the compilation workflow. The more detailed release notes will be posted separately.
 
Top