#77 ../src/ControlBoardInterfacesImpl.inl not found

closed-fixed
General (20)
5
2011-09-01
2011-09-01
No

Compiling iCub revision 13332 on MacOS X 10.7, this compilation error crops up. It might be an artifact of my installation, but I can't figure out why in CanBusMotionControl.cpp, there is
#include "../src/ControlBoardInterfacesImpl.inl"
rather than
#include <yarp/dev/ControlBoardInterfacesImpl.inl>
which solves the problem for me.

Here the relevant make log :
[ 32%] Building CXX object src/libraries/icubmod/canBusMotionControl/CMakeFiles/canmotioncontrol.dir/CanBusMotionControl.cpp.o
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:41:49: error: ../src/ControlBoardInterfacesImpl.inl: No such file or directory
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp: In member function ‘bool yarp::dev::CanBusMotionControlParameters::alloc(int)’:
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1381: error: ‘allocAndCheck’ was not declared in this scope
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1381: error: expected primary-expression before ‘unsigned’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1381: error: expected `;' before ‘unsigned’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1382: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1382: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1383: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1383: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1384: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1384: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1385: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1385: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1386: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1386: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1387: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1387: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1388: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1388: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1390: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1391: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1392: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1393: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1394: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1395: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1397: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1397: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1398: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1398: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1399: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1399: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1400: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1400: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1401: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1401: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1418: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1418: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp: In destructor ‘yarp::dev::CanBusMotionControlParameters::~CanBusMotionControlParameters()’:
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1429: error: ‘checkAndDestroy’ was not declared in this scope
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1429: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1429: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1430: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1430: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1431: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1431: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1432: error: expected primary-expression before ‘unsigned’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1432: error: expected `;' before ‘unsigned’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1433: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1433: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1434: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1434: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1435: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1435: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1436: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1436: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1437: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1437: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1438: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1438: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1440: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1441: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1442: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1443: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1444: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1445: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1446: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1446: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1447: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1447: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1448: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1448: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1449: error: expected primary-expression before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1449: error: expected `;' before ‘int’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp: In member function ‘bool CanBusResources::initialize(const yarp::dev::CanBusMotionControlParameters&)’:
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1541: error: ‘allocAndCheck’ was not declared in this scope
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1541: error: expected primary-expression before ‘unsigned’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1541: error: expected `;' before ‘unsigned’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1561: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp: In member function ‘bool CanBusResources::uninitialize()’:
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1607: error: ‘checkAndDestroy’ was not declared in this scope
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1607: error: expected primary-expression before ‘>’ token
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp: In member function ‘virtual bool yarp::dev::CanBusMotionControl::open(yarp::os::Searchable&)’:
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1878: error: ‘allocAndCheck’ was not declared in this scope
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1878: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1878: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1879: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1879: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1880: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1880: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1881: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1881: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1882: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:1882: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp: In member function ‘virtual bool yarp::dev::CanBusMotionControl::close()’:
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2279: error: ‘checkAndDestroy’ was not declared in this scope
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2279: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2279: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2280: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2280: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2281: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2281: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2282: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2282: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2283: error: expected primary-expression before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:2283: error: expected `;' before ‘double’
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp: In member function ‘virtual bool yarp::dev::CanBusMotionControl::getCurrentImpedanceLimitRaw(int, double*, double*, double*, double*)’:
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:3203: error: ‘castToMapper’ was not declared in this scope
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp: In member function ‘virtual bool yarp::dev::CanBusMotionControl::getTorqueRaw(int, double*)’:
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:3611: error: ‘castToMapper’ was not declared in this scope
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp: In member function ‘virtual bool yarp::dev::CanBusMotionControl::getTorqueRangeRaw(int, double*, double*)’:
/Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp:3681: error: ‘castToMapper’ was not declared in this scope
make[2]: *** [src/libraries/icubmod/canBusMotionControl/CMakeFiles/canmotioncontrol.dir/CanBusMotionControl.cpp.o] Error 1
make[1]: *** [src/libraries/icubmod/canBusMotionControl/CMakeFiles/canmotioncontrol.dir/all] Error 2
make: *** [all] Error 2
Fabiens-MacBook-Pro:build fabien$ mate /Users/fabien/Documents/Research/external/sources/iCub/main/src/libraries/icubmod/canBusMotionControl/CanBusMotionControl.cpp

Discussion

  • Lorenzo Natale

    Lorenzo Natale - 2011-09-01
    • assigned_to: nobody --> natta
    • status: open --> closed-fixed
     
  • Lorenzo Natale

    Lorenzo Natale - 2011-09-01

    I have applied your fix. Thanks for reporting.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks