|
Re: Building RobotPy from git repo
Ok. I believe I have the first part working. I got the Wind River project loaded and built. Now I am trying to build the loadable modules.
When I go to the RobotPy directory and make, I get an error:
make[2]: Entering directory `c:/Users/Developer/Desktop/RobotPy/Modules/readline
'
make -C readline
make[3]: Entering directory `c:/Users/Developer/Desktop/RobotPy/Modules/readline
/readline'
C:/WindRiver/workbench-3.0/x86-win32/bin/sh.exe ./config.status --recheck
./config.status: ./config.status: No such file or directory
make[3]: *** [config.status] Error 1
make[3]: Leaving directory `c:/Users/Developer/Desktop/RobotPy/Modules/readline/
readline'
make[2]: *** [allsub] Error 2
make[2]: Leaving directory `c:/Users/Developer/Desktop/RobotPy/Modules/readline'
make[1]: *** [all] Error 2
make[1]: Leaving directory `c:/Users/Developer/Desktop/RobotPy/Modules'
make: *** [all] Error 2
I figure I don't really need readline, so I removed that line from the Makefile and tried again. I got another error:
make -C wpilib
make[2]: Entering directory `c:/Users/Developer/Desktop/RobotPy/Packages/wpilib'
building wpilib_wrap.o
wpilib_wrap.cxx: In function `void SWIG_Python_SetModule(swig_module_info*)':
wpilib_wrap.cxx:2515: warning: unused variable 'swig_empty_runtime_method_table'
wpilib_wrap.cxx: In function `PyObject* _wrap_new_SpeedController(PyObject*, PyO
bject*)':
wpilib_wrap.cxx:6643: error: cannot allocate an object of type `SwigDirector_Spe
edController'
wpilib_wrap.cxx:6643: error: because the following virtual functions are abstr
act:
C:/WindRiver/vxworks-6.3/target/h/WPILib/SpeedController.h:25: error: virtual v
oid SpeedController::Set(float, UINT8)
C:/WindRiver/vxworks-6.3/target/h/WPILib/SpeedController.h:35: error: virtual v
oid SpeedController::Disable()
wpilib_wrap.cxx: In function `PyObject* _wrap_new_RobotDrive__SWIG_0(PyObject*,
PyObject*)':
wpilib_wrap.cxx:21011: error: no matching function for call to `RobotDrive::Robo
tDrive(UINT32&, UINT32&, float&)'
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:94: note: candidates are:
RobotDrive::RobotDrive(const RobotDrive&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:46: note:
RobotDrive::RobotDrive(SpeedController&, SpeedController&, SpeedController&, Spe
edController&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:44: note:
RobotDrive::RobotDrive(SpeedController*, SpeedController*, SpeedController*, Spe
edController*)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:42: note:
RobotDrive::RobotDrive(SpeedController&, SpeedController&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:41: note:
RobotDrive::RobotDrive(SpeedController*, SpeedController*)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:40: note:
RobotDrive::RobotDrive(UINT32, UINT32, UINT32, UINT32)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:38: note:
RobotDrive::RobotDrive(UINT32, UINT32)
wpilib_wrap.cxx: In function `PyObject* _wrap_new_RobotDrive__SWIG_2(PyObject*,
PyObject*)':
wpilib_wrap.cxx:21108: error: no matching function for call to `RobotDrive::Robo
tDrive(UINT32&, UINT32&, UINT32&, UINT32&, float&)'
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:94: note: candidates are:
RobotDrive::RobotDrive(const RobotDrive&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:46: note:
RobotDrive::RobotDrive(SpeedController&, SpeedController&, SpeedController&, Spe
edController&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:44: note:
RobotDrive::RobotDrive(SpeedController*, SpeedController*, SpeedController*, Spe
edController*)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:42: note:
RobotDrive::RobotDrive(SpeedController&, SpeedController&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:41: note:
RobotDrive::RobotDrive(SpeedController*, SpeedController*)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:40: note:
RobotDrive::RobotDrive(UINT32, UINT32, UINT32, UINT32)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:38: note:
RobotDrive::RobotDrive(UINT32, UINT32)
wpilib_wrap.cxx: In function `PyObject* _wrap_new_RobotDrive__SWIG_4(PyObject*,
PyObject*)':
wpilib_wrap.cxx:21205: error: no matching function for call to `RobotDrive::Robo
tDrive(SpeedController*&, SpeedController*&, float&)'
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:94: note: candidates are:
RobotDrive::RobotDrive(const RobotDrive&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:46: note:
RobotDrive::RobotDrive(SpeedController&, SpeedController&, SpeedController&, Spe
edController&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:44: note:
RobotDrive::RobotDrive(SpeedController*, SpeedController*, SpeedController*, Spe
edController*)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:42: note:
RobotDrive::RobotDrive(SpeedController&, SpeedController&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:41: note:
RobotDrive::RobotDrive(SpeedController*, SpeedController*)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:40: note:
RobotDrive::RobotDrive(UINT32, UINT32, UINT32, UINT32)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:38: note:
RobotDrive::RobotDrive(UINT32, UINT32)
wpilib_wrap.cxx: In function `PyObject* _wrap_new_RobotDrive__SWIG_6(PyObject*,
PyObject*)':
wpilib_wrap.cxx:21302: error: no matching function for call to `RobotDrive::Robo
tDrive(SpeedController*&, SpeedController*&, SpeedController*&, SpeedController*
&, float&)'
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:94: note: candidates are:
RobotDrive::RobotDrive(const RobotDrive&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:46: note:
RobotDrive::RobotDrive(SpeedController&, SpeedController&, SpeedController&, Spe
edController&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:44: note:
RobotDrive::RobotDrive(SpeedController*, SpeedController*, SpeedController*, Spe
edController*)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:42: note:
RobotDrive::RobotDrive(SpeedController&, SpeedController&)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:41: note:
RobotDrive::RobotDrive(SpeedController*, SpeedController*)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:40: note:
RobotDrive::RobotDrive(UINT32, UINT32, UINT32, UINT32)
C:/WindRiver/vxworks-6.3/target/h/WPILib/RobotDrive.h:38: note:
RobotDrive::RobotDrive(UINT32, UINT32)
wpilib_wrap.cxx: In function `PyObject* _wrap_RobotDrive_SetLeftRightMotorSpeeds
(PyObject*, PyObject*)':
wpilib_wrap.cxx:22693: error: 'class RobotDrive' has no member named 'SetLeftRig
htMotorSpeeds'
wpilib_wrap.cxx: In function `PyObject* PyInit__wpilib()':
wpilib_wrap.cxx:27418: error: `kPercentVoltage' is not a member of `CANJaguar'
make[2]: *** [wpilib_wrap.o] Error 1
make[2]: Leaving directory `c:/Users/Developer/Desktop/RobotPy/Packages/wpilib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `c:/Users/Developer/Desktop/RobotPy/Packages'
make: *** [all] Error 2
So. Any hints?
|