Compile Exodus under Windows #375
jmeier
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
To work with Exodus files under Windows, one might want to compile the corresponding code in this repo under Windows. As encouraged by @gsjaardema, please find below the steps needed to compile an DLL/LIB of the ExodusII API under Windows.
The instructions below are an modified/extended version of the instructions found here: https://github.com/wortiz/msh2exo
Further, thanks to @wphu for helpful advice in this matter.
Install Microsoft Visual Studio (Community Edition is fine) from https://visualstudio.microsoft.com/ and install C++ developemnt including cmake support.
For this instructions, Visual Studio 17 2022 is used.
Install vcpkg according to https://vcpkg.io/en/getting-started.html (In this test this was done in C:\work)
Here one nees to clone the vcpkg repo and to run the bootstrap script to build vcpkg. For this open a command prompt and enter the following commands:
ToDo: Adjust locations specified with C:\ to preferred locations
ToDo: if cmake is not on path use full path to cmake.exe
Beta Was this translation helpful? Give feedback.
All reactions