error-vs2010错误机器人足球

问题描述

vs2010错误机器人足球

最近在学习机器人足球 用的是vs2010运行代码 老是出现错误
3> ------ Building libbhuman (Release) ------
3> bhuman.cpp
1> Enum.cpp
1> Global.cpp
1> Geometry.cpp
1> Pose2D.cpp
1> OutStreams.cpp
3> ....Srclibbhumanbhuman.cpp(14) :28: warning: alcorealtypes.h: No such file or directory
3> ....Srclibbhumanbhuman.cpp(15) :28: warning: alcorealerror.h: No such file or directory
3> ....Srclibbhumanbhuman.cpp(16) :31: warning: alcommonalbroker.h: No such file or directory
3> ....Srclibbhumanbhuman.cpp(17) :30: warning: alcommonalproxy.h: No such file or directory
3> ....Srclibbhumanbhuman.cpp(18) :32: warning: alproxiesdcmproxy.h: No such file or directory
3> ....Srclibbhumanbhuman.cpp(19) :37: warning: alproxiesalmemoryproxy.h: No such file or directory
3>....Srclibbhumanbhuman.cpp(29): error : 'AL' has not been declared
3>....Srclibbhumanbhuman.cpp(29): error : expected constructor, destructor, or type conversion before '*' token
3>....Srclibbhumanbhuman.cpp(30): error : 'AL' has not been declared
3>....Srclibbhumanbhuman.cpp(30): error : expected constructor, destructor, or type conversion before '*' token
3>....Srclibbhumanbhuman.cpp(31): error : 'AL' has not been declared
3>....Srclibbhumanbhuman.cpp(31): error : expected constructor, destructor, or type conversion before '*' token
3>....Srclibbhumanbhuman.cpp(32): error : 'AL' has not been declared
3>....Srclibbhumanbhuman.cpp(32): error : expected constructor, destructor, or type conversion before '*' token
3>....Srclibbhumanbhuman.cpp(33): error : 'AL' has not been declared
3>....Srclibbhumanbhuman.cpp(33): error : expected constructor, destructor, or type conversion before '*' token
3>....Srclibbhumanbhuman.cpp(34): error : 'AL' has not been declared
3>....Srclibbhumanbhuman.cpp(34): error : expected constructor, destructor, or type conversion before '*' token
3> ....Srclibbhumanbhuman.cpp: In function 'void sitDown(float, float*)':
3>....Srclibbhumanbhuman.cpp(424): error : 'positionRequest' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(425): error : 'hardnessRequest' was not declared in this scope
3> ....Srclibbhumanbhuman.cpp: In function 'void standUp(float, float*, float*)':
3>....Srclibbhumanbhuman.cpp(455): error : 'positionRequest' was not declared in this scope
3> ....Srclibbhumanbhuman.cpp: In function 'void onPreProcess()':
3>....Srclibbhumanbhuman.cpp(475): error : 'proxy' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(475): error : 'positionRequest' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(475): error : 'hardnessRequest' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(486): error : 'stderr' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(486): error : 'fprintf' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(563): error : 'usRequest' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(575): error : 'ledRequest' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(575): error : 'string' is not a member of 'std'
3>....Srclibbhumanbhuman.cpp(582): error : expected type-specifier before 'AL'
3>....Srclibbhumanbhuman.cpp(582): error : expected )' before '::' token
3>....Srclibbhumanbhuman.cpp(582): error : expected
{' before '::' token
3>....Srclibbhumanbhuman.cpp(582): error : '::ALError' has not been declared
3>....Srclibbhumanbhuman.cpp(582): error : 'e' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(582): error : expected ;' before ')' token
3> ....Srclibbhumanbhuman.cpp: In function 'void onPostProcess()':
3>....Srclibbhumanbhuman.cpp(591): error : 'memory' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(591): error : 'proxy' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(601): error : 'assert' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(616): error : 'system' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(618): error : 'system' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(622): error : expected type-specifier before 'AL'
3>....Srclibbhumanbhuman.cpp(622): error : expected
)' before '::' token
3>....Srclibbhumanbhuman.cpp(622): error : expected {' before '::' token
3>....Srclibbhumanbhuman.cpp(622): error : '::ALError' has not been declared
3>....Srclibbhumanbhuman.cpp(622): error : 'e' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(622): error : expected
;' before ')' token
3>....Srclibbhumanbhuman.cpp(641): error : 'stderr' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(641): error : 'fprintf' was not declared in this scope
3> ....Srclibbhumanbhuman.cpp: In function 'void close()':
3>....Srclibbhumanbhuman.cpp(650): error : 'stderr' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(650): error : 'fprintf' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(648): error : too many arguments to function 'void close()'
3>....Srclibbhumanbhuman.cpp(662): error : at this point in file
3>....Srclibbhumanbhuman.cpp(674): error : 'proxy' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(676): error : type '' argument given to 'delete', expected pointer
3>....Srclibbhumanbhuman.cpp(679): error : 'positionRequest' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(681): error : type '' argument given to 'delete', expected pointer
3>....Srclibbhumanbhuman.cpp(684): error : 'hardnessRequest' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(686): error : type '' argument given to 'delete', expected pointer
3>....Srclibbhumanbhuman.cpp(689): error : 'usRequest' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(691): error : type '' argument given to 'delete', expected pointer
3>....Srclibbhumanbhuman.cpp(694): error : 'ledRequest' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(696): error : type '' argument given to 'delete', expected pointer
3>....Srclibbhumanbhuman.cpp(699): error : 'memory' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(701): error : type '' argument given to 'delete', expected pointer
3> ....Srclibbhumanbhuman.cpp: At global scope:
3>....Srclibbhumanbhuman.cpp(708): error : 'AL' has not been declared
3>....Srclibbhumanbhuman.cpp(708): error : 'AL' has not been declared
3>....Srclibbhumanbhuman.cpp(708): error : 'pBroker' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(709): error : expected ',' or ';' before '{' token
3> make: *** [../../Build/libbhuman/Linux/Release/bhuman.o] Error 1
3>C:Program FilesMSBuildMicrosoft.Cppv4.0Microsoft.MakeFile.Targets(43,5): error MSB3073: 命令“bash -c "../../Util/zbuildgen/Win32/bin/zbuildgen.exe ../Linux/libbhuman.make.zbuild && make -f ../Linux/libbhuman.make clean CONFIG=Release SHELLOPTS=igncr && make -j 2 -f ../Linux/libbhuman.make CONFIG=Release SHELLOPTS=igncr"”已退出,代码为 2。
3>
3>生成失败。

解决方案

把代码贴上来

3>....Srclibbhumanbhuman.cpp(591): error : 'memory' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(591): error : 'proxy' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(601): error : 'assert' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(616): error : 'system' was not declared in this scope
3>....Srclibbhumanbhuman.cpp(618): error : 'system' was not declared in this scope

这里很明显是没有声明,或者声明错位置了

时间: 2024-10-03 12:58:21

error-vs2010错误机器人足球的相关文章

vs2010 c2371 重定义-新手求教vs2010错误提示error C2371: “UNICODE_STRING”: 重定义;不同的基类型

问题描述 新手求教vs2010错误提示error C2371: "UNICODE_STRING": 重定义:不同的基类型 有以下两个定义:typedef struct UNICODE_STRING { USHORT Length;//长度 USHORT MaximumLength;//最大长度 PWSTR Buffer;//缓存指针 } UNICODE_STRING*PUNICODE_STRING; 还有#ifndef _NTDEFtypedef LSA_UNICODE_STRING

使用vs2010编写c++Win32 Console Project时会出“error LNK1123” 错误解决方法

终极解决方案: VS2010在经历一些更新后,建立Win32 Console Project时会出"error LNK1123" 错误, 解决方案为 将 项目|项目属性|配置属性|清单工具|输入和输出|嵌入清单 "是"改为"否"即可,但是每新建一个项目都要这样设置一次,很麻烦 在建立VS2010 Win32 Project项目时,按照上面解决方案依然发生了"error LNK1123"错误,经过上网查资料,解决方案为: 第一步

Creator 创建工程提示copy deployment folders error构建错误

问题描述 Creator 创建工程提示copy deployment folders error构建错误 系统是XP,之前安装vs2010+Qt5.1 for vs2010+qt5.1 mingw,使用Creator创建工程构建,运行都OK.好久没用Qt了,现在使用Creator创建QtQuick2.0应用程序工程,不做任何修改,构建的时候会出现 copy deployment folders error错误,无法运行.我以为是Qt有问题,卸载重新安装,Qt5.0和Qt5.1 mingw都装过,

日志-linux系统下有Sense Key:recovered error [current]错误

问题描述 linux系统下有Sense Key:recovered error [current]错误 日志里有大量如图报警,不知道是什么原因引起的,查了ASC和ASCP也没有什么结果,拜托有知道的大神,给小弟指条明路 解决方案 看看是不是硬盘有坏道,或者文件破坏 参考:http://blog.itpub.net/25362835/viewspace-1058637/ 解决方案二: http://bbs.chinaunix.net/thread-4086486-1-1.html

jquery中ajax使用error调试错误的方法

 这篇文章主要介绍了jquery中ajax使用error调试错误的方法,实例分析了Ajax的使用方法与error函数调试错误的技巧,需要的朋友可以参考下     本文实例讲述了jquery中ajax使用error调试错误的方法.分享给大家供大家参考.具体分析如下: JQuery使我们在开发Ajax应用程序的时候提高了效率,减少了许多兼容性问题,我们在Ajax项目中,遇到ajax异步获取数据出错怎么办,我们可以通过捕捉error事件来获取出错的信息. jquery中ajax的常用用法类似于: ?

电脑安装MindManager提示ERROR 1402错误怎么办

  MindManager是一款实用的创建思维导图的软件,不过有用户在电脑系统中安装MindManager的时候却提示ERROR 1402错误,"确认你有足够的权限访问该键,或与你的支持人员联系".如果出现以上问题,导致无法安装MindManager软件,则不妨参考以下解决方法. 一般来说导致该问题产生有三种可能的原因:1.安装权限问题;2.杀毒软件;3.安装包问题. 解决方法: 1.安装权限问题:在安装软件时,点击安装程序,选择"以管理员身份运行",并完成安装;

解决安装MindManager 15中的 ERROR 1320错误

  安装MindManager 15时可能会遇到不同的问题导致安装失败,其中ERROR 1320就是常见的问题.这种问题常常出现在XP系统之中,本文详细的讲解了在安装MindManager 15时遇到ERROR 1320错误该如何解决. 安装MindManager 15时出现错误提示. 问题描述:ERROR 1320. The specified path is too long C:/ProgramDataMindjetMindManager 错误1320.路径太长C:/ProgramData

web-mono3.8.0+jexus5.6.3+xsp3.8发布网站出现runtime error的错误

问题描述 mono3.8.0+jexus5.6.3+xsp3.8发布网站出现runtime error的错误 确认web代码没有问题只是简单的显示mono四个字母,在mono2.10里可以正常显示 解决方案 解决方案二: jexus-5.6.3

JQuery ajax中error返回错误及一直返回error的解答_AJAX相关

进入百度搜索此问题,发现有人这么说了一句 Jquery中的Ajax的async默认是true(异步请求),如果想一个Ajax执行完后再执行另一个Ajax, 需要把async=false就可以了 于时我在ajax中进行了处理 async: false,结果发现提交正常的数据返回是正常的没有错误.  代码如下  $.ajax({ type: "POST", async: false, url:urllink, data:data, dataType:"html", su