转移到DARwIN-OP时出现很多错误

当我尝试使用最新版本的Webots中的任何控制器进行交叉编译或远程控制时,无论是Darwin机器人的示例还是我编程的某些控制器,我都会遇到很多错误。尝试远程控制机器人时,我得到以下代码。

LinuxCM730.cpp:248: error: prototype for ‘void Robot::LinuxCM730::Sleep(int)’ does not match any in class ‘Robot::LinuxCM730’
../include/LinuxCM730.h:65: error: candidate is: virtual void Robot::LinuxCM730::Sleep(double)
make[1]: *** [LinuxCM730.o] Error 1
make: *** [darwin.a] Error 2
LinuxCM730.cpp:248: error: prototype for ‘void Robot::LinuxCM730::Sleep(int)’ does not match any in class ‘Robot::LinuxCM730’
../include/LinuxCM730.h:65: error: candidate is: virtual void Robot::LinuxCM730::Sleep(double)
make[2]: *** [LinuxCM730.o] Error 1
make[1]: *** [/darwin/Linux/lib/darwin.a] Error 2
make: *** [/darwin/Linux/project/webots/transfer/lib/wrapper.a] Error 2
LinuxCM730.cpp:248: error: prototype for ‘void Robot::LinuxCM730::Sleep(int)’ does not match any in class ‘Robot::LinuxCM730’
../include/LinuxCM730.h:65: error: candidate is: virtual void Robot::LinuxCM730::Sleep(double)
make[1]: *** [LinuxCM730.o] Error 1
make: *** [/darwin/Linux/lib/darwin.a] Error 2
/darwin/Linux/build/LinuxMotionTimer.cpp:15: error: ‘Robot::Motionmanager* Robot::LinuxMotionTimer::m_Manager’ is not a static member of ‘class Robot::LinuxMotionTimer’
/darwin/Linux/build/LinuxMotionTimer.cpp:16: error: ‘bool Robot::LinuxMotionTimer::m_TimerRunning’ is not a static member of ‘class Robot::LinuxMotionTimer’
/darwin/Linux/build/LinuxMotionTimer.cpp:17: error: ‘void* Robot::LinuxMotionTimer::m_TimerID’ is not a static member of ‘class Robot::LinuxMotionTimer’
/darwin/Linux/build/LinuxMotionTimer.cpp:20: error: prototype for ‘void Robot::LinuxMotionTimer::TimerProc(int)’ does not match any in class ‘Robot::LinuxMotionTimer’
/darwin/Linux/include/LinuxMotionTimer.h:27: error: candidate is: static void* Robot::LinuxMotionTimer::TimerProc(void*)
/darwin/Linux/build/LinuxMotionTimer.cpp:26: error: no ‘void Robot::LinuxMotionTimer::Initialize(Robot::Motionmanager*)’ member function declared in class ‘Robot::LinuxMotionTimer’
make: *** [LinuxMotionTimer.o] Error 1
sudo: /darwin/Linux/project/webots/remote_control/remote_control: command not found
huhanz 回答:转移到DARwIN-OP时出现很多错误

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3156216.html

大家都在问