SimConnect.lib vs SimConnectDebug.lib

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
theleverdk
Posts: 3
Joined: Mon Feb 12, 2018 7:58 am

SimConnect.lib vs SimConnectDebug.lib

Post by theleverdk »

Hi,

I am trying to link an app using SimConnect. In my debug build, I use SimConnectDebug.lib, and was hoping to use SimConnect.lib in release. In release, however, I get a linker error stating that the library has been built with a different runtime. Are the two versions of the library made with different versions of the runtime? Should I be using the same library in both configurations?

Thanks,
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: SimConnect.lib vs SimConnectDebug.lib

Post by Clifton Crane »

Hi theleverdk,

What project setting do you have in Visual Studio for Configuration Properties > C/C++ > Code Generation? I believe this should be set to Multi-threaded Debug DLL (/MDd).

Thanks.
Clifton Crane
Prepar3D® Software Engineer Sr.
Post Reply