RobSimulatorGroup / gobot

Go, robot go!
GNU Lesser General Public License v3.0
16 stars 2 forks source link

MSVC build error #78

Open Wuqiqi123 opened 1 year ago

Wuqiqi123 commented 1 year ago

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”: 找不到标识符