Skip to content
Discussion options

You must be logged in to vote

That is a typical issue when building binaries with different debug levels with Visual Studio (specifically, MSVC). The compiler stack requires that all statically-linked code has the same debug level.

To fix this, you have to build both OpenSimCreator (the leaf project that you may be opening in Visual Studio etc.) and its dependencies (which you may be building with build_windows.bat) with the same build configuration. If you're doing this by building all dependencies using build_windows.bat (rather than, say, manually using CMake). The relevant lines to change are here:

https://github.com/ComputationalBiomechanicsLab/opensim-creator/blob/main/scripts/build_windows.bat#L11

Where permitt…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by adamkewley
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #749 on June 19, 2025 12:38.