Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#292 Phidgets drivers won't compile

trunk
closed-fixed
Brian Gerkey
player (137)
5
2009-08-04
2009-07-21
Jon Mandrell
No

When the Phidgets Interface kit and accelerometer are enabled in the build they compile with errors. The following changes need to be made in order for them to compile:

--- server/drivers/mixed/phidgetIFK/phidgetIFK.cc (revision 8067)
+++ server/drivers/mixed/phidgetIFK/phidgetIFK.cc (working copy)
@@ -121,7 +121,6 @@

// Destructor
~PhidgetIFK();
- Shutdown
// Must implement the following methods.
virtual int MainSetup();
virtual void MainQuit();
@@ -561,13 +560,13 @@
gettimeofday( &tv_framerate_start, NULL );

if (done != 0) {
- cout << "Error in nanosleep! ERRNO: " << errno << " ";
+ std::cout << "Error in nanosleep! ERRNO: " << errno << " ";
if (errno == EINTR) {
- cout << "EINTR" ;
+ std::cout << "EINTR" ;
} else if (errno == EINVAL) {
- cout << "EINVAL" ;
+ std::cout << "EINVAL" ;
}
- cout << endl;
+ std::cout << std::endl;
}

===================================================================
--- server/drivers/wsn/phidgetAcc.cc (revision 8067)
+++ server/drivers/wsn/phidgetAcc.cc (working copy)
@@ -109,7 +109,7 @@
~PhidgetAcc();

    virtual int MainSetup\(\);

- virtual int MainQuit();
+ virtual void MainQuit();

Discussion

  • G Biggs
    G Biggs
    2009-08-04

    Fixed in CVS HEAD. Thanks very much for the report.

     
  • G Biggs
    G Biggs
    2009-08-04

    • status: open --> closed-fixed