Skip to content

MSVC build error #78

@Wuqiqi123

Description

@Wuqiqi123
  • Error of matrix
    Do you have any idea of this? @wuyingnan
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(113): error C2760: 语法错误:此处出现意外的“)”;应为“表达式”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(149): note: 查看对正在编译的 类 模板 实例化“gobot::internal::Matrix<Scalar,_Rows,_Cols,_Options,_MaxRows,_MaxCols>”的引用
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(113): error C3878: 语法错误: "simple_declaration" 后出现意外标记 ")"
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(113): note: 已跳过错误恢复:“)”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(123): error C2760: 语法错误:此处出现意外的“)”;应为“表达式”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(123): error C2760: 语法错误:此处出现意外的“)”;应为“;”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(123): error C3878: 语法错误: "expression_statement" 后出现意外标记 ")"
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(123): note: 已跳过错误恢复:“)”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(133): error C2760: 语法错误:此处出现意外的“)”;应为“表达式”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(133): error C3878: 语法错误: "simple_declaration" 后出现意外标记 ")"
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(133): note: 已跳过错误恢复:“)”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(139): error C2760: 语法错误:此处出现意外的“)”;应为“表达式”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(139): error C2760: 语法错误:此处出现意外的“)”;应为“:”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(139): error C3878: 语法错误: "expression" 后出现意外标记 "*"
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(139): note: 已跳过错误恢复:“* 标识符”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(139): error C2760: 语法错误:此处出现意外的“:”;应为“;”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(139): error C3878: 语法错误: "expression_statement" 后出现意外标记 ":"
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(139): note: 已跳过错误恢复:“:”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(140): error C2760: 语法错误:此处出现意外的“)”;应为“表达式”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(140): error C2760: 语法错误:此处出现意外的“)”;应为“;”
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(140): error C3878: 语法错误: "expression_statement" 后出现意外标记 ")"
C:\Users\wqq\gobot\include\gobot/core/math/matrix.hpp(140): note: 已跳过错误恢复:“)”
  • Error of bx

C:\Users\wqq\gobot\3rdparty\bgfx\bx\include\bx\inline/allocator.inl(63): error C3861: “BX_UNUSED_1”: 找不到标识符 C:\Users\wqq\gobot\3rdparty\bgfx\bx\include\bx/mutex.h(16): error C2061: 语法错误: 标识符“NO_COPY” C:\Users\wqq\gobot\3rdparty\bgfx\bx\include\bx/mutex.h(18): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int C:\Users\wqq\gobot\3rdparty\bgfx\bx\include\bx/mutex.h(18): warning C4183: “BX_CLASS_1”: 缺少返回类型;假定为返回“int”的成员函数 C:\Users\wqq\gobot\3rdparty\bgfx\bx\include\bx/mutex.h(40): error C2061: 语法错误: 标识符“NO_DEFAULT_CTOR” C:\Users\wqq\gobot\3rdparty\bgfx\bx\include\bx/mutex.h(43): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int C:\Users\wqq\gobot\3rdparty\bgfx\bx\include\bx/mutex.h(43): warning C4183: “BX_CLASS_2”: 缺少返回类型;假定为返回“int”的成员函数 C:\Users\wqq\gobot\src\gobot\rendering\debug_draw\debug_draw.cpp(373): error C3861: “BX_UNUSED_5”: 找不到标识符 C:\Users\wqq\gobot\src\gobot\rendering\debug_draw\debug_draw.cpp(373): note: “BX_UNUSED_5”: 函数声明必须可用,因为所有参数都不依赖于模板参数 C:\Users\wqq\gobot\src\gobot\rendering\debug_draw\debug_draw.cpp(439): note: 查看对正在编译的 类 模板 实例化“gobot::GeometryT<MaxHandlesT>”的引用 C:\Users\wqq\gobot\src\gobot\rendering\debug_draw\debug_draw.cpp(1692): error C3861: “BX_UNUSED_4”: 找不到标识符

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions