Hello everyone,
I am pretty new to Orbiter Developement, but I already inherited a pretty big project. The first goal for me is to compile the addon that has been written for Orbiter 2010 with the 2016 SDK. I am working with Visual Studio 2019 because the project has a lot of files that all depend on each other somehow.
After a lot of trial and error and many questions to ChatGPT, I am now down to what I think are the last linker issues. But I really can´t figure it out:

You can see the error message here. It seems like OrbiterSoundSDK50.lib has been compiled with a static runtime library while the addon is compiled with a dynamic runtime library, which makes them incompatible. However, I can see in the compiler options, that everything has been compiled with a dynamic runtime library for orbiter 2010. And when I try to compile projects by other people, I get the same issue.
Now I thought it might be an issue with OrbiterSound5, so I tried compiling with OrbiterSound4, which produced this issue:

ChatGPT says this error probably has the same underlying reason.
I tried everything I could think of, and nothing worked, so I am really stumped here. Does anyone of you have an idea what I need to do to fix this?
Thank you!
Adrian
I am pretty new to Orbiter Developement, but I already inherited a pretty big project. The first goal for me is to compile the addon that has been written for Orbiter 2010 with the 2016 SDK. I am working with Visual Studio 2019 because the project has a lot of files that all depend on each other somehow.
After a lot of trial and error and many questions to ChatGPT, I am now down to what I think are the last linker issues. But I really can´t figure it out:
You can see the error message here. It seems like OrbiterSoundSDK50.lib has been compiled with a static runtime library while the addon is compiled with a dynamic runtime library, which makes them incompatible. However, I can see in the compiler options, that everything has been compiled with a dynamic runtime library for orbiter 2010. And when I try to compile projects by other people, I get the same issue.
Now I thought it might be an issue with OrbiterSound5, so I tried compiling with OrbiterSound4, which produced this issue:
ChatGPT says this error probably has the same underlying reason.
I tried everything I could think of, and nothing worked, so I am really stumped here. Does anyone of you have an idea what I need to do to fix this?
Thank you!
Adrian