neoengine-0.8.0编译出错

zxyin1 2004-12-13 10:47:24
我在编译NEO引擎是出现下面错误:
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(1673) : error C2220: 视为错误的警告,没有生成对象文件
e:\neoengine-0.8.0\neoengine\neoengine\base.h(275) : 参见对正在编译的类模板实例化“std::vector<_Ty,_Ax>”的引用
with
[
_Ty=bool,
_Ax=std::allocator<bool>
]
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(1673) : warning C4251: “std::vector<_Ty,_Ax>::_Myvec” : class“std::vector<_Ty,_Ax>”需要有 dll 接口由 class“std::vector<_Ty,_Ax>”的客户端使用
with
[
_Ty=bool,
_Ax=std::allocator<bool>
]
and
[
_Ty=std::_Vbase,
_Ax=std::allocator<bool>::rebind<std::_Vbase>::other
]
and
[
_Ty=bool,
_Ax=std::allocator<bool>
]
是关于vector的,如何解决啊,谢谢
...全文
79 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
zxyin1 2004-12-13
  • 打赏
  • 举报
回复
解决了,在c/c++--常规中把视警告为错误选项置为否即可。

请UP接分
zxyin1 2004-12-13
  • 打赏
  • 举报
回复
谁编译过这个啊

8,304

社区成员

发帖
与我相关
我的任务
社区描述
游戏开发相关内容讨论专区
社区管理员
  • 游戏开发
  • 呆呆敲代码的小Y
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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