Форум программистов, компьютерный форум CyberForum.ru

C++: COM, OLE, ActiveX

Войти
Регистрация
Восстановить пароль
 
vlad-29
0 / 0 / 0
Регистрация: 03.02.2016
Сообщений: 9
#1

DirectShow ошибки линковщика - C++ COM

19.07.2016, 17:13. Просмотров 526. Ответов 0

Здравствуйте! Изучаю DirectShow как виртуальную камеру, пытаюсь собрать пример https://github.com/rdp/open-source-d...re-demo-filter, собрал baseclasses, указал библиотеки в свойствах проекта, при компиляции получаю букет ошибок:
Кликните здесь для просмотра всего текста

Error LNK2019 unresolved external symbol __imp__wcsrchr referenced in function "wchar_t * __cdecl wcsrchr(wchar_t *,wchar_t)" (?wcsrchr@@YAPA_WPA_W_W@Z) vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxdebug.obj) 1
Error LNK2019 unresolved external symbol ___security_init_cookie referenced in function _DllEntryPoint@12 vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(dllentry.obj) 1
Error LNK2001 unresolved external symbol ___security_cookie vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(amvideo.obj) 1
Error LNK2001 unresolved external symbol ___security_cookie vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(mtype.obj) 1
Error LNK2001 unresolved external symbol ___security_cookie vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(amfilter.obj) 1
Error LNK2001 unresolved external symbol ___security_cookie vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(source.obj) 1
Error LNK2001 unresolved external symbol ___security_cookie vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxdebug.obj) 1
Error LNK2001 unresolved external symbol ___security_cookie vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(dllsetup.obj) 1
Error LNK2001 unresolved external symbol ___security_cookie vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(dllentry.obj) 1
Error LNK2001 unresolved external symbol ___security_cookie vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxutil.obj) 1
Error LNK2019 unresolved external symbol ___report_rangecheckfailure referenced in function "public: __thiscall CDisp::CDisp(__int64,int)" (??0CDisp@@QAE@_JH@Z) vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxdebug.obj) 1
Error LNK2019 unresolved external symbol __RTC_UninitUse referenced in function "public: int __thiscall CAMMsgEvent::WaitMsg(unsigned long)" (?WaitMsg@CAMMsgEvent@@QAEHK@Z) vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxutil.obj) 1
Error LNK2001 unresolved external symbol __RTC_Shutdown vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(source.obj) 1
Error LNK2001 unresolved external symbol __RTC_Shutdown vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxlist.obj) 1
Error LNK2001 unresolved external symbol __RTC_Shutdown vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(amvideo.obj) 1
Error LNK2001 unresolved external symbol __RTC_Shutdown vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(combase.obj) 1
Error LNK2001 unresolved external symbol __RTC_Shutdown vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(mtype.obj) 1
Error LNK2001 unresolved external symbol __RTC_Shutdown vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(amfilter.obj) 1
Error LNK2001 unresolved external symbol __RTC_Shutdown vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxdebug.obj) 1
Error LNK2001 unresolved external symbol __RTC_Shutdown vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(dllsetup.obj) 1
Error LNK2001 unresolved external symbol __RTC_Shutdown vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(dllentry.obj) 1
Error LNK2001 unresolved external symbol __RTC_Shutdown vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxutil.obj) 1
Error LNK2001 unresolved external symbol __RTC_InitBase vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(source.obj) 1
Error LNK2001 unresolved external symbol __RTC_InitBase vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxlist.obj) 1
Error LNK2001 unresolved external symbol __RTC_InitBase vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(amvideo.obj) 1
Error LNK2001 unresolved external symbol __RTC_InitBase vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(combase.obj) 1
Error LNK2001 unresolved external symbol __RTC_InitBase vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(mtype.obj) 1
Error LNK2001 unresolved external symbol __RTC_InitBase vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(amfilter.obj) 1
Error LNK2001 unresolved external symbol __RTC_InitBase vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxdebug.obj) 1
Error LNK2001 unresolved external symbol __RTC_InitBase vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(dllsetup.obj) 1
Error LNK2001 unresolved external symbol __RTC_InitBase vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(dllentry.obj) 1
Error LNK2001 unresolved external symbol __RTC_InitBase vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxutil.obj) 1
Error LNK2001 unresolved external symbol __RTC_CheckEsp vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(source.obj) 1
Error LNK2001 unresolved external symbol __RTC_CheckEsp vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(wxlist.obj) 1
Error LNK2001 unresolved external symbol __RTC_CheckEsp vcam_vs_2010 C:\Users\Администратор.000\Documents\Visual Studio 2013\Projects\open-source-directshow-video-capture-demo-filter-master\vcam_vs_2010_demo_video_capture_project\vcam_vs_2010\strmbasd.lib(amvideo.obj) 1
и т. д.

Visual Studio 2015 Community
Поиск предлагал менять свойство character set на use unicode, однако и так уже всё стоит. Находил совет собирать baseclasses и целевой проект на одних настройках, проверил, настройки вроде совпадают.
Подскажите, чем так провинился strmbasd.lib?
Similar
Эксперт
41792 / 34177 / 6122
Регистрация: 12.04.2006
Сообщений: 57,940
19.07.2016, 17:13     DirectShow ошибки линковщика
Посмотрите здесь:

Ошибки линковщика Visual C++
Ошибки линковщика C++
RTSP и DirectShow C++ COM
Ошибки с созданием OPC-клиента C++ COM
Странные ошибки линковщика Qt C++ Qt
C++ Непонятные ошибки линковщика
C++ COM DirectShow + Adobe Flash Player PPAPI
C++ COM DirectShow, проиграть видео в своем окне?
Ошибки линковщика при сборке C++
C++ COM Фильтр DirectShow. Query Interface выдает E_NOINTERFACE
Ошибки при компановке C++ COM
C++ Qt Ошибки линковщика в учебном примере OpenGL

Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
После регистрации реклама в сообщениях будет скрыта и будут доступны все возможности форума.
Ответ Создать тему
Опции темы

КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Рейтинг@Mail.ru