You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
cd c:\work
git clone https://github.com/Microsoft/vcpkg.git
.\vcpkg\bootstrap-vcpkg.bat -disableMetrics
Install Exodus prerequisites using vcpkg (again, in a command prompt):
cd vcpkg
.\vcpkg install fmt --triplet=x64-windows
.\vcpkg install netcdf-c --triplet=x64-windows
Clone the sandialabs/seacas github repository (again, in a command prompt; in this test, the local path is "C:\repos\seacas"):
cd C:\repos
git clone https://github.com/sandialabs/seacas.git
Create a "build" directory and make it the current directory
cd C:\repos\seacas
mkdir build
cd build
Then using CMake configure SEACAS to build ExodusII (modified from appveyor config in SEACAS repository).
ToDo: Adjust locations specified with C:\ to preferred locations
ToDo: if cmake is not on path use full path to cmake.exe
To make a LIB for static linking (later to be found in "C:\repos\seacas\install\lib")
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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