求助 VS2008SP1编译cryengine 出错 大侠帮忙分析下怎么解决?

mycppmkk 2013-03-22 10:22:38
求助 VS2008SP1编译cryengine 出错 大侠帮忙分析下怎么解决?


正在编译...
1>StdAfx.cpp
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(184) : error C2065: “__node_alloc”: 未声明的标识符
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(184) : error C2990: “stlpd_std::__debug_alloc”: 非类 模板 已经声明为类 模板
1> d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(118) : 参见“stlpd_std::__debug_alloc”的声明
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(184) : error C2946: 显式实例化;“stlpd_std::__debug_alloc”不是模板类专用化
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(187) : error C2059: 语法错误 : “<”
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(194) : warning C4091: “typedef ”: 没有声明变量时忽略“stlpd_std::__node_alloc”的左侧
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(194) : error C2143: 语法错误 : 缺少“;”(在“<”的前面)
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(194) : error C2059: 语法错误 : “<”
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(256) : error C2146: 语法错误 : 缺少“;”(在标识符“__alloc_type”的前面)
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(256) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(256) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(262) : error C2146: 语法错误 : 缺少“;”(在标识符“__sgi_alloc”的前面)
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(262) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(262) : error C2378: “stlpd_std::__alloc_type”: 重定义;符号不能由 typedef 重载
1> d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(256) : 参见“stlpd_std::__alloc_type”的声明
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(262) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(270) : error C2146: 语法错误 : 缺少“;”(在标识符“__single_client_alloc”的前面)
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(270) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(270) : error C2378: “stlpd_std::__sgi_alloc”: 重定义;符号不能由 typedef 重载
1> d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(262) : 参见“stlpd_std::__sgi_alloc”的声明
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(270) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(271) : error C2146: 语法错误 : 缺少“;”(在标识符“__multithreaded_alloc”的前面)
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(271) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(271) : error C2378: “stlpd_std::__sgi_alloc”: 重定义;符号不能由 typedef 重载
1> d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(262) : 参见“stlpd_std::__sgi_alloc”的声明
1>d:\cryengine4.3\code\sdks\stlport\stlport\stl\_alloc.h(271) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>CryAssert enabled.
1>Automatically linking with ToolkitPro1342vc90D.dll
1>生成日志保存在“file://d:\cryengine4.3\BinTemp\Win32\Debug\Editor\BuildLog.htm”
1>Editor - 21 个错误,1 个警告
...全文
448 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
redeyerabbit 2014-06-02
  • 打赏
  • 举报
回复
重新下个STLport或者使用3.5.2的均可。
ldbfrank1 2013-06-05
  • 打赏
  • 举报
回复
这问题解决了?
ldbfrank1 2013-06-04
  • 打赏
  • 举报
回复
源码哪儿来的?共享下。。。
内容概要:本文围绕直驱式永磁同步电机(PMSM)的矢量控制策略开展系统性研究,基于Simulink平台构建了完整的闭环仿真模型,深入探讨了电机在矢量控制下的动态响应特性与控制性能。研究内容涵盖了矢量控制的核心理论与关键技术模块,包括Clarke与Park坐标变换、转子磁场定向控制(FOC)、SVPWM调制算法、双闭环PI控制器(电流环与速度环)的设计与参数整定。通过仿真验证了系统在启动、突加负载及变速工况下的稳定性、抗干扰能力与动态调节精度,有效实现了对电机转矩与转速的精确控制。该模型不仅有助于深化对PMSM控制机理的理解,也为高性能电机驱动系统的算法开发与工程化应用提供了可靠的仿真验证平台。; 适合人群:具备自动控制原理、电机学基础及Simulink仿真能力的电气工程、自动化、新能源等相关专业的高年级本科生、研究生以及从事电机驱动开发的初级科研人员与工程师。; 使用场景及目标:①作为高校课程设计、毕业设计或科研项目中PMSM控制系统的学习案例,用于掌握矢量控制算法的实现流程与模块化设计方法;②帮助研究人员理解各控制环节间的耦合关系,通过调整PI参数优化系统性能,并为进一步研究无传感器控制、弱磁扩速、先进非线性控制策略等高级课题奠定基础; 阅读建议:建议结合经典电机控制教材同步学习,重点剖析各功能模块的信号流向与数学原理,亲自动手搭建仿真模型,通过改变运行条件和控制器参数观察系统响应变化,从而深入掌握矢量控制系统的动态特性和调试技巧。

3,881

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 其它技术问题
社区管理员
  • 其它技术问题社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧