Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
3003 Discussions

LNK2038 error when linking QT apps with MediaSDK sample code

ChengChuan_U_Intel
200 Views

Hi,

 We are trying to create a QT applications and merging the sample_decode from Media SDK into it. We are using Visual Studio 2012 IDE with QT plugin. We faced the "LNK2038: mismatch deteced for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in decode_render.obj" in file "qtmaind.lib(qtmain_win.obj..." error message. Is there any way to work around this?

 We could compile the sample_decode application by doing a Visual Studio 2012 project creation and build. However, when we created a QT simple apps and tried to merge the code over to the QT base apps, the LNK2038 happenes.

 Let me know if you need other further information.

Regards,
Cheng Chuan

 

0 Kudos
1 Reply
Anthony_P_Intel
Employee
200 Views

Hi,

The two applications are built differently and one of them will need to change their settings.  You can change the Intel sample code to use the same multithread debug settings as QT.  One article on similar situation is here:  http://stackoverflow.com/questions/14714877/crypto-mismatch-detected-for-runtimelibrary

Reply