LNK2038 error when linking QT apps with MediaSDK sample code

LNK2038 error when linking QT apps with MediaSDK sample code

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

 

AnexoTamanho
Download LNK2038.png18.29 KB
2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

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

-Tony

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!