- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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.
Ссылка скопирована
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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.
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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.
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати