Media (Intel® 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 Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.
3075 Discussions

LNK2038 error when linking QT apps with MediaSDK sample code

ChengChuan_U_Intel
663 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
663 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

0 Kudos
Reply