This bug is also happening to me. CMAKE properties are like (can’t post more than one…):
When compiling (release) on Visual Studio 2022, 11 projects are compiled just fine, 1 project is skipped, and 1 project (iMSTK project) returns compilation errors:
If I copy the generated DLLs on Install folder to Plugins folder (on 2021.3.31LTS), same errors start to appear when opening any of the demo scenes:
(Can’t post more than one image)
I don’t really know how to properly debug this. It is for sure something with iMSTKCWrapper as it is the last one “installing”.
Can you try open the innerbuild solution in visual studio and building there, this might give more information what the actual failure is <build-dir>/Innerbuild/Imstk.sln to install you’ll two .dll the iMSTKCWrapper.dll and iMSTKSharp.dll
Do you have SWIG installed ? If you keep using ImstkUnity from the repository you will eventually be able to integrate new features we’re pushing. This will only work if you can compile both the CWrapper.dll and the iMSTKSharp.dll. We are currently using version 4.0.2 of swig
To keep the topic. I purchased a new computer, tried to recompile (following the previous steps) and it’s compiling just fine but iMSTKCWrapper.dll is not working now even when copying the one from InnerBuild:
Just saw this, sorry, i’m glad your issue resolved. I’m trying to remember if there are instances where you need to install the vs redistributable needs to be installed even on computers that have visual studio installed.