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.

Getting linking error in VS 2015

Renit_S_
Beginner
197 Views

Hello,

I converted my project from VS 2010 to VS 2015.

But I am getting following linking error

In my project I include Sample_Common.lib (Intel media sdk sample project) in my one of the project SampleAVICapture.lib

And then I am linking SampleAVICapture.lib in my main project. So during compilation of my main project I am getting following error.

SampleAVICapture.lib(sample_utils.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1900' in TmbFile.obj

Please suggest solution for it.

Regards

Renit

0 Kudos
1 Reply
Stav_S_Intel
Employee
197 Views

Hi Renit,

Sample_common.lib should be recompiled using same version of studio as program it is being linked with.

Please recompile with VS 2015 and you should be OK :) 

 

Regards,

Stav

Reply