重点是我尝试从源代码构建vlc-qt绑定。我所做的工作如下:
应该可以工作,但是我得到了以下信息:
C:\Program Files (x86)\VideoLAN\VLC\sdk\include\vlc\plugins\vlc_threads.h:403: ошибка: C3861: 'poll': identifier not found
C:\Program Files (x86)\VideoLAN\VLC\sdk\include\vlc\plugins\vlc_configuration.h:103: ошибка: C2146: syntax error : missing ';' before identifier 'config_GetIntChoices'
C:\Program Files (x86)\VideoLAN\VLC\sdk\include\vlc\plugins\vlc_configuration.h:103: ошибка: C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files (x86)\VideoLAN\VLC\sdk\include\vlc\plugins\vlc_configuration.h:104: ошибка: C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files (x86)\VideoLAN\VLC\sdk\include\vlc\plugins\vlc_configuration.h:105: ошибка: C2146: syntax error : missing ';' before identifier 'config_GetPszChoices'
C:\Program Files (x86)\VideoLAN\VLC\sdk\include\vlc\plugins\vlc_configuration.h:105: ошибка: C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files (x86)\VideoLAN\VLC\sdk\include\vlc\plugins\vlc_configuration.h:106: ошибка: C4430: missing type specifier - int assumed. Note: C++ does not support default-int令人惊讶的是,该项目搜索当前VLC播放机安装中的某些文件(Program可能不是获得依赖程序的最佳位置),而且存储库页面上没有任何关于此行为的信息,至少乍一看是如此。
目前我正在尝试删除/重新安装播放器,用一些键运行CMake等等,顺便说一下,用gui下载CMake从来没有帮助过。
能不能请任何人指出我在建筑上的错误。提前谢谢。
UPD:谢谢,krnekit,它帮我拿到了钥匙!啊,发生了更复杂的事情(使用msvc 2013更新4)。
简要说明:
发布于 2015-07-27 19:35:00
这是vlc的问题,而不是vlc-qt的问题。您的程序应该至少用VS 2013更新2(甚至可能是最近的)编译。
或者,快速和肮脏的解决方案是修改vlc包含,有关详细信息,请参阅这个畜生。您还应该提供poll.h包含文件。
https://stackoverflow.com/questions/31659076
复制相似问题