Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求助了! #1

Closed
cameron0402 opened this issue Nov 7, 2016 · 9 comments
Closed

求助了! #1

cameron0402 opened this issue Nov 7, 2016 · 9 comments

Comments

@cameron0402
Copy link

我按照readme里面的指引,一步一步的去做了,可是为什么还是编译不过去呢,望指教。

@suninf
Copy link

suninf commented Nov 9, 2016

报错的内容贴一下

@cameron0402
Copy link
Author

cameron0402 commented Nov 17, 2016

我的开发环境是win7 64位旗舰版,cpu是amd x4 640
报错的内容太多了,我把日志发给您看吧。谢谢!

在 2016-11-09 18:43:29,"JiangweiSun" notifications@github.com 写道:

报错的内容贴一下


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
1>------ 已启动生成: 项目: ZERO_CHECK, 配置: Debug Win32 ------
1> Checking Build System
1> CMake does not need to re-run because E:/github/tblive/build/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because E:/github/tblive/build/deps/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because E:/github/tblive/build/deps/w32-pthreads/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because E:/github/tblive/build/deps/glad/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because E:/github/tblive/build/deps/ipc-util/CMakeFiles/generate.stamp is up-to-date.
...
30> 正在生成代码...
26> obs-app.cpp
30> ffmpeg-decode.c
30> 正在创建库 E:/github/tblive/build/plugins/win-dshow/Debug/win-dshow.lib 和对象 E:/github/tblive/build/plugins/win-dshow/Debug/win-dshow.exp
30> win-dshow.vcxproj -> E:\github\tblive\build\plugins\win-dshow\Debug\win-dshow.dll
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(75): error C2065: “Archive”: 未声明的标识符
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(75): error C2143: 语法错误 : 缺少“)”(在“const”的前面)
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(75): error C2182: “serialize_load”: 非法使用“void”类型
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(75): error C2433: “serialize_load”: 不允许在数据声明中使用“inline”
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(75): error C2059: 语法错误:“)”
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(76): error C2143: 语法错误 : 缺少“;”(在“{”的前面)
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(76): error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(94): error C2059: 语法错误:“{”
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(94): error C2334: “{”的前面有意外标记;跳过明显的函数体
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(100): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(100): error C2143: 语法错误 : 缺少“;”(在“&”的前面)
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(100): error C2433: “Archive”: 不允许在数据声明中使用“inline”
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(100): error C2238: 意外的标记位于“;”之前
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(104): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(104): error C2143: 语法错误 : 缺少“;”(在“”的前面)
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(109): error C2334: “{”的前面有意外标记;跳过明显的函数体
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(117): error C2988: 不可识别的模板声明/定义
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(117): error C2059: 语法错误:“{”
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_base.h(117): error C2334: “{”的前面有意外标记;跳过明显的函数体
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_member.h(24): error C2977: “srlz::member_nvio”: 模板 参数太多
26> e:\github\tblive\deps\peregrine\include\base\srlz./srlz_member.h(15) : 参见“srlz::member_nvio”的声明
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_member.h(27): error C2027: 使用了未定义类型“srlz::member_nvio”
26> e:\github\tblive\deps\peregrine\include\base\srlz./srlz_member.h(15) : 参见“srlz::member_nvio”的声明
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_member.h(132): error C2143: 语法错误 : 缺少“,”(在“<”的前面)
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_member.h(137): error C2977: “srlz::member_nvio”: 模板 参数太多
26> e:\github\tblive\deps\peregrine\include\base\srlz./srlz_member.h(15) : 参见“srlz::member_nvio”的声明
26>e:\github\tblive\deps\peregrine\include\base\srlz./srlz_member.h(140): error C2365: “srlz::serialize_load”: 重定义;以前的定义是“数据变量”

@suninf
Copy link

suninf commented Nov 19, 2016

@cameron0402 你使用的是VS2013 update4吗? 我这边没有问题的,我使用的是VS2013英文版本环境,你也试试看,安装vs2013的英文语言包 https://www.microsoft.com/en-US/download/details.aspx?id=40783 ,然后在vs2013中设置使用英语作为语言环境。有问题继续反馈

@cameron0402
Copy link
Author

我的也是VS2013 update4英文版本的。提示错误很多,是否需要设置ffmpeg的环境变量呢

在 2016-11-19 13:41:00,"JiangweiSun" notifications@github.com 写道:

@cameron0402 你使用的是VS2013 update4吗? 我这边没有问题的,我使用的是VS2013英文版本环境,你也试试看,安装vs2013的英文语言包https://www.microsoft.com/en-US/download/details.aspx?id=40783,然后在vs2013中设置使用英语作为语言环境。有问题继续反馈


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@suninf
Copy link

suninf commented Nov 21, 2016

@cameron0402 看报错内容,有可能和部分文件格式有关,部分文件用的是gbk格式,有些utf8,你那边再试试:

  1. 可以尝试把报错文件里面的注释删掉(特别是乱码的),文件格式改成utf8带bom的
  2. 可以尝试改下系统的应用显示语言:[控制面板] - [区域和语言] - [管理] - [(非Unicode程序的语言)更改系统区域设置] - [设置为 英语(美国)]

@cameron0402
Copy link
Author

好的,麻烦您了。我再试试。实在解决不了,还需要麻烦您。

在 2016-11-21 10:14:17,"JiangweiSun" notifications@github.com 写道:

@cameron0402 看报错内容,有可能和部分文件格式有关,部分文件用的是gbk格式,有些utf8,你那边再试试:

可以尝试把报错文件里面的注释删掉(特别是乱码的),文件格式改成utf8带bom的
可以尝试改下系统的应用显示语言:[控制面板] - [区域和语言] - [管理] - [(非Unicode程序的语言)更改系统区域设置] - [设置为 英语(美国)]


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@suninf suninf closed this as completed Dec 21, 2016
@cameron0402
Copy link
Author

谢谢您的支持。目前tblive运行到哪个版本了,是否有新版本

@suninf
Copy link

suninf commented Dec 21, 2016

目前,已经有不少小优化点;
再过段时间,支持mac版会更新个版本

@cameron0402
Copy link
Author

cameron0402 commented Dec 21, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants