- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I create a Visual Studio Community 2015 project and use win32 libmfx.lib of media_sdk_6.0.0.388 to build this project
VS2015 show error ::
libmfx.lib(mfx_plugin_hive.obj) : error LNK2019: unresolved external symbol _swscanf_s referenced in function "private: bool __thiscall MFX::MFXPluginsInFS::ParseKVPair(wchar_t *,wchar_t *,class MFX::PluginDescriptionRecord &)" (?ParseKVPair@MFXPluginsInFS@MFX@@AAE_NPA_W0AAVPluginDescriptionRecord@2@@Z)
my platform:: win7 ,Visual Studio Community 2015 and Intel Integrated Native Developer Experience Starter Edition 2015.2.048
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem is as described here: https://msdn.microsoft.com/en-us/library/bb531344.aspx in the "The printf and scanf family of functions are now defined inline." section.
And the solution is to link "legacy_stdio_definitions.lib". Doing so fixed my link problem.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have this problem too. Note that the most similar functions available are 'swscanf_s' and '_swscanf_s_l'. It doesn't look like '_swscanf_s' has ever existed in the CRT according to the msdn page, so I'm not sure how the link works in VS 2013.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
Can you please tell us the sample version? Is it failing with this error on VS 2015 only or you see same problem on VS2013 and below.
We have tested it with VS 2012 and it works so I am assuming it could be because of VS 2015 version.
Can you also give your platform details- processor, graphics device, driver version for us to check on?
Thanks,
Surbhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem is as described here: https://msdn.microsoft.com/en-us/library/bb531344.aspx in the "The printf and scanf family of functions are now defined inline." section.
And the solution is to link "legacy_stdio_definitions.lib". Doing so fixed my link problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great, thanks for sharing the fix. I am closing the issue.
If you have media related questions, please post it to media forum - https://software.intel.com/en-us/forums/intel-media-sdk
Thanks,
Surbhi
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page