examples-rtt-1.8.0/motioncontrol

When I try to make this example, I get some errors.

bert@pythia:~/orocos/rtt-examples-1.8.0/motioncontrol/build$ make
[100%] Building CXX object src/CMakeFiles/robotdemo.dir/nAxisTest.o
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:3:50: error: ocl/Kuka361nAxesVelocityController.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:4:33: error: ocl/EmergencyStop.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:14:35: error: ocl/ReferenceSensor.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:15:39: error: ocl/naxespositionviewer.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:21:34: error: kdl/kinfam/kuka361.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:22:27: error: kdl/toolkit.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp: In function ‘int ORO_main_impl(int, char**)’:
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:40: error: ‘Toolkit’ has not been declared
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:40: error: ‘KDLToolkit’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: ‘KinematicFamily’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: ‘kukakf’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: expected type-specifier before ‘Kuka361’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: expected `;' before ‘Kuka361’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:43: error: expected type-specifier before ‘Kuka361nAxesVelocityController’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:43: error: cannot convert ‘int*’ to ‘RTT::TaskContext*’ in initialization
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:43: error: expected ‘,’ or ‘;’ before ‘Kuka361nAxesVelocityController’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:45: error: ‘EmergencyStop’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:45: error: expected `;' before ‘_emergency’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:48: error: ‘_emergency’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:52: error: ‘nAxesSensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:52: error: expected `;' before ‘sensor’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:53: error: no matching function for call to ‘OCL::nAxesGeneratorPos::nAxesGeneratorPos(const char [18], int)’
/usr/local/include/ocl/nAxesGeneratorPos.hpp:60: note: candidates are: OCL::nAxesGeneratorPos::nAxesGeneratorPos(std::string)
/usr/local/include/ocl/nAxesGeneratorPos.hpp:53: note: OCL::nAxesGeneratorPos::nAxesGeneratorPos(OCL::nAxesGeneratorPos&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:54: error: no matching function for call to ‘OCL::nAxesGeneratorVel::nAxesGeneratorVel(const char [18], int)’
/usr/local/include/ocl/nAxesGeneratorVel.hpp:59: note: candidates are: OCL::nAxesGeneratorVel::nAxesGeneratorVel(std::string)
/usr/local/include/ocl/nAxesGeneratorVel.hpp:52: note: OCL::nAxesGeneratorVel::nAxesGeneratorVel(OCL::nAxesGeneratorVel&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:55: error: no matching function for call to ‘OCL::nAxesControllerPos::nAxesControllerPos(const char [19], int)’
/usr/local/include/ocl/nAxesControllerPos.hpp:55: note: candidates are: OCL::nAxesControllerPos::nAxesControllerPos(std::string)
/usr/local/include/ocl/nAxesControllerPos.hpp:47: note: OCL::nAxesControllerPos::nAxesControllerPos(OCL::nAxesControllerPos&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:56: error: no matching function for call to ‘OCL::nAxesControllerPosVel::nAxesControllerPosVel(const char [22], int)’
/usr/local/include/ocl/nAxesControllerPosVel.hpp:54: note: candidates are: OCL::nAxesControllerPosVel::nAxesControllerPosVel(std::string)
/usr/local/include/ocl/nAxesControllerPosVel.hpp:46: note: OCL::nAxesControllerPosVel::nAxesControllerPosVel(OCL::nAxesControllerPosVel&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:57: error: no matching function for call to ‘OCL::nAxesControllerVel::nAxesControllerVel(const char [19], int)’
/usr/local/include/ocl/nAxesControllerVel.hpp:55: note: candidates are: OCL::nAxesControllerVel::nAxesControllerVel(std::string)
/usr/local/include/ocl/nAxesControllerVel.hpp:47: note: OCL::nAxesControllerVel::nAxesControllerVel(OCL::nAxesControllerVel&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:58: error: ‘nAxesEffectorVel’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:58: error: expected `;' before ‘effector’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:59: error: ‘ReferenceSensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:59: error: expected `;' before ‘refsensor’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:60: error: ‘NAxesPositionViewer’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:60: error: expected `;' before ‘viewer’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:63: error: ‘CartesianSensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:63: error: expected `;' before ‘cartsensor’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:66: error: ‘CartesianEffectorVel’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:66: error: expected `;' before ‘carteffector’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:70: error: ‘effector’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:71: error: ‘sensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:72: error: ‘refsensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:73: error: ‘cartsensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:74: error: ‘carteffector’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:75: error: ‘viewer’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:187: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
make[2]: *** [src/CMakeFiles/robotdemo.dir/nAxisTest.o] Error 1
make[1]: *** [src/CMakeFiles/robotdemo.dir/all] Error 2
make: *** [all] Error 2

Bert

_________________________________________________________________
Nieuw: onbeperkte opslagruimte in Windows Live Hotmail
http://mail.live.com

examples-rtt-1.8.0/motioncontrol

On Aug 18, 2009, at 09:59 , Bert Godon wrote:

> When I try to make this example, I get some errors.
>
>
> bert@pythia:~/orocos/rtt-examples-1.8.0/motioncontrol/build$ make
> [100%] Building CXX object src/CMakeFiles/robotdemo.dir/nAxisTest.o
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 3:50: error: ocl/Kuka361nAxesVelocityController.hpp: No such file or
> directory
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 4:33: error: ocl/EmergencyStop.hpp: No such file or directory
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 14:35: error: ocl/ReferenceSensor.hpp: No such file or directory
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 15:39: error: ocl/naxespositionviewer.hpp: No such file or directory
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 21:34: error: kdl/kinfam/kuka361.hpp: No such file or directory
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 22:27: error: kdl/toolkit.hpp: No such file or directory
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/
> nAxisTest.cpp: In function ‘int ORO_main_impl(int, char**)’:
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 40: error: ‘Toolkit’ has not been declared
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 40: error: ‘KDLToolkit’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 42: error: ‘KinematicFamily’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 42: error: ‘kukakf’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 42: error: expected type-specifier before ‘Kuka361’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 42: error: expected `;' before ‘Kuka361’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 43: error: expected type-specifier before
> ‘Kuka361nAxesVelocityController’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 43: error: cannot convert ‘int*’ to ‘RTT::TaskContext*’ in
> initialization
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 43: error: expected ‘,’ or ‘;’ before ‘Kuka361nAxesVelocityController’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 45: error: ‘EmergencyStop’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 45: error: expected `;' before ‘_emergency’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 48: error: ‘_emergency’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 52: error: ‘nAxesSensor’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 52: error: expected `;' before ‘sensor’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 53: error: no matching function for call to
> ‘OCL::nAxesGeneratorPos::nAxesGeneratorPos(const char [18], int)’
> /usr/local/include/ocl/nAxesGeneratorPos.hpp:60: note: candidates
> are: OCL::nAxesGeneratorPos::nAxesGeneratorPos(std::string)
> /usr/local/include/ocl/nAxesGeneratorPos.hpp:53:
> note:
> OCL::nAxesGeneratorPos::nAxesGeneratorPos(OCL::nAxesGeneratorPos&)
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 54: error: no matching function for call to
> ‘OCL::nAxesGeneratorVel::nAxesGeneratorVel(const char [18], int)’
> /usr/local/include/ocl/nAxesGeneratorVel.hpp:59: note: candidates
> are: OCL::nAxesGeneratorVel::nAxesGeneratorVel(std::string)
> /usr/local/include/ocl/nAxesGeneratorVel.hpp:52:
> note:
> OCL::nAxesGeneratorVel::nAxesGeneratorVel(OCL::nAxesGeneratorVel&)
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 55: error: no matching function for call to
> ‘OCL::nAxesControllerPos::nAxesControllerPos(const char [19], int)’
> /usr/local/include/ocl/nAxesControllerPos.hpp:55: note: candidates
> are: OCL::nAxesControllerPos::nAxesControllerPos(std::string)
> /usr/local/include/ocl/nAxesControllerPos.hpp:47:
> note:
> OCL::nAxesControllerPos::nAxesControllerPos(OCL::nAxesControllerPos&)
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 56: error: no matching function for call to
> ‘OCL::nAxesControllerPosVel::nAxesControllerPosVel(const char [22],
> int)’
> /usr/local/include/ocl/nAxesControllerPosVel.hpp:54: note:
> candidates are:
> OCL::nAxesControllerPosVel::nAxesControllerPosVel(std::string)
> /usr/local/include/ocl/nAxesControllerPosVel.hpp:46:
> note:
> OCL
> ::nAxesControllerPosVel
> ::nAxesControllerPosVel(OCL::nAxesControllerPosVel&)
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 57: error: no matching function for call to
> ‘OCL::nAxesControllerVel::nAxesControllerVel(const char [19], int)’
> /usr/local/include/ocl/nAxesControllerVel.hpp:55: note: candidates
> are: OCL::nAxesControllerVel::nAxesControllerVel(std::string)
> /usr/local/include/ocl/nAxesControllerVel.hpp:47:
> note:
> OCL::nAxesControllerVel::nAxesControllerVel(OCL::nAxesControllerVel&)
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 58: error: ‘nAxesEffectorVel’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 58: error: expected `;' before ‘effector’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 59: error: ‘ReferenceSensor’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 59: error: expected `;' before ‘refsensor’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 60: error: ‘NAxesPositionViewer’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 60: error: expected `;' before ‘viewer’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 63: error: ‘CartesianSensor’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 63: error: expected `;' before ‘cartsensor’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 66: error: ‘CartesianEffectorVel’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 66: error: expected `;' before ‘carteffector’
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 70: error: ‘effector’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 71: error: ‘sensor’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 72: error: ‘refsensor’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 73: error: ‘cartsensor’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 74: error: ‘carteffector’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 75: error: ‘viewer’ was not declared in this scope
> /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:
> 187: error: type ‘<type error>’ argument given to ‘delete’, expected
> pointer
> make[2]: *** [src/CMakeFiles/robotdemo.dir/nAxisTest.o] Error 1
> make[1]: *** [src/CMakeFiles/robotdemo.dir/all] Error 2
> make: *** [all] Error 2
>
> Bert

Providing more information would help
- what operating system? what version?
- what version of RTT and OCL did you install?
- providing the actual compilation command via "VERBOSE=1 make" would
help too

Stephen

examples-rtt-1.8.0/motioncontrol

I have rtt-1.8.4 and ocl 1.8.1 installed on my ubuntu 8.10

/usr/bin/cmake -H/home/bert/orocos/rtt-examples-1.8.0/motioncontrol -B/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build/CMakeFiles /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build/CMakeFiles/progress.make
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build'
make -f src/CMakeFiles/robotdemo.dir/build.make src/CMakeFiles/robotdemo.dir/depend
make[2]: Entering directory `/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build'
cd /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/bert/orocos/rtt-examples-1.8.0/motioncontrol /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build/src /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build/src/CMakeFiles/robotdemo.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build'
make -f src/CMakeFiles/robotdemo.dir/build.make src/CMakeFiles/robotdemo.dir/build
make[2]: Entering directory `/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build'
/usr/bin/cmake -E cmake_progress_report /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build/CMakeFiles 1
[100%] Building CXX object src/CMakeFiles/robotdemo.dir/nAxisTest.o
cd /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build/src && /usr/bin/c++ -O3 -DNDEBUG -I/usr/local/include -I/usr/include/eigen2 -I/home/bert/orocos/rtt-examples-1.8.0/motioncontrol -DOROCOS_TARGET=gnulinux -o CMakeFiles/robotdemo.dir/nAxisTest.o -c /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:3:50: error: ocl/Kuka361nAxesVelocityController.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:4:33: error: ocl/EmergencyStop.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:14:35: error: ocl/ReferenceSensor.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:15:39: error: ocl/naxespositionviewer.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:21:34: error: kdl/kinfam/kuka361.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:22:27: error: kdl/toolkit.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp: In function ‘int ORO_main_impl(int, char**)’:
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:40: error: ‘Toolkit’ has not been declared
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:40: error: ‘KDLToolkit’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: ‘KinematicFamily’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: ‘kukakf’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: expected type-specifier before ‘Kuka361’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: expected `;' before ‘Kuka361’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:43: error: expected type-specifier before ‘Kuka361nAxesVelocityController’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:43: error: cannot convert ‘int*’ to ‘RTT::TaskContext*’ in initialization
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:43: error: expected ‘,’ or ‘;’ before ‘Kuka361nAxesVelocityController’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:45: error: ‘EmergencyStop’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:45: error: expected `;' before ‘_emergency’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:48: error: ‘_emergency’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:52: error: ‘nAxesSensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:52: error: expected `;' before ‘sensor’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:53: error: no matching function for call to ‘OCL::nAxesGeneratorPos::nAxesGeneratorPos(const char [18], int)’
/usr/local/include/ocl/nAxesGeneratorPos.hpp:60: note: candidates are: OCL::nAxesGeneratorPos::nAxesGeneratorPos(std::string)
/usr/local/include/ocl/nAxesGeneratorPos.hpp:53: note: OCL::nAxesGeneratorPos::nAxesGeneratorPos(OCL::nAxesGeneratorPos&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:54: error: no matching function for call to ‘OCL::nAxesGeneratorVel::nAxesGeneratorVel(const char [18], int)’
/usr/local/include/ocl/nAxesGeneratorVel.hpp:59: note: candidates are: OCL::nAxesGeneratorVel::nAxesGeneratorVel(std::string)
/usr/local/include/ocl/nAxesGeneratorVel.hpp:52: note: OCL::nAxesGeneratorVel::nAxesGeneratorVel(OCL::nAxesGeneratorVel&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:55: error: no matching function for call to ‘OCL::nAxesControllerPos::nAxesControllerPos(const char [19], int)’
/usr/local/include/ocl/nAxesControllerPos.hpp:55: note: candidates are: OCL::nAxesControllerPos::nAxesControllerPos(std::string)
/usr/local/include/ocl/nAxesControllerPos.hpp:47: note: OCL::nAxesControllerPos::nAxesControllerPos(OCL::nAxesControllerPos&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:56: error: no matching function for call to ‘OCL::nAxesControllerPosVel::nAxesControllerPosVel(const char [22], int)’
/usr/local/include/ocl/nAxesControllerPosVel.hpp:54: note: candidates are: OCL::nAxesControllerPosVel::nAxesControllerPosVel(std::string)
/usr/local/include/ocl/nAxesControllerPosVel.hpp:46: note: OCL::nAxesControllerPosVel::nAxesControllerPosVel(OCL::nAxesControllerPosVel&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:57: error: no matching function for call to ‘OCL::nAxesControllerVel::nAxesControllerVel(const char [19], int)’
/usr/local/include/ocl/nAxesControllerVel.hpp:55: note: candidates are: OCL::nAxesControllerVel::nAxesControllerVel(std::string)
/usr/local/include/ocl/nAxesControllerVel.hpp:47: note: OCL::nAxesControllerVel::nAxesControllerVel(OCL::nAxesControllerVel&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:58: error: ‘nAxesEffectorVel’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:58: error: expected `;' before ‘effector’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:59: error: ‘ReferenceSensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:59: error: expected `;' before ‘refsensor’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:60: error: ‘NAxesPositionViewer’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:60: error: expected `;' before ‘viewer’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:63: error: ‘CartesianSensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:63: error: expected `;' before ‘cartsensor’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:66: error: ‘CartesianEffectorVel’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:66: error: expected `;' before ‘carteffector’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:70: error: ‘effector’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:71: error: ‘sensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:72: error: ‘refsensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:73: error: ‘cartsensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:74: error: ‘carteffector’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:75: error: ‘viewer’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:187: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
make[2]: *** [src/CMakeFiles/robotdemo.dir/nAxisTest.o] Error 1
make[2]: Leaving directory `/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build'
make[1]: *** [src/CMakeFiles/robotdemo.dir/all] Error 2
make[1]: Leaving directory `/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build'
make: *** [all] Error 2

CC: orocos-users [..] ...
From: kiwi [dot] net [..] ...
To: bert_godon [..] ...
Subject: Re: [Orocos-users] examples-rtt-1.8.0/motioncontrol
Date: Tue, 18 Aug 2009 10:09:00 -0400

On Aug 18, 2009, at 09:59 , Bert Godon wrote:When I try to make this example, I get some errors.

bert@pythia:~/orocos/rtt-examples-1.8.0/motioncontrol/build$ make
[100%] Building CXX object src/CMakeFiles/robotdemo.dir/nAxisTest.o
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:3:50: error: ocl/Kuka361nAxesVelocityController.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:4:33: error: ocl/EmergencyStop.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:14:35: error: ocl/ReferenceSensor.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:15:39: error: ocl/naxespositionviewer.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:21:34: error: kdl/kinfam/kuka361.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:22:27: error: kdl/toolkit.hpp: No such file or directory
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp: In function ‘int ORO_main_impl(int, char**)’:
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:40: error: ‘Toolkit’ has not been declared
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:40: error: ‘KDLToolkit’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: ‘KinematicFamily’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: ‘kukakf’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: expected type-specifier before ‘Kuka361’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:42: error: expected `;' before ‘Kuka361’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:43: error: expected type-specifier before ‘Kuka361nAxesVelocityController’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:43: error: cannot convert ‘int*’ to ‘RTT::TaskContext*’ in initialization
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:43: error: expected ‘,’ or ‘;’ before ‘Kuka361nAxesVelocityController’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:45: error: ‘EmergencyStop’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:45: error: expected `;' before ‘_emergency’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:48: error: ‘_emergency’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:52: error: ‘nAxesSensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:52: error: expected `;' before ‘sensor’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:53: error: no matching function for call to ‘OCL::nAxesGeneratorPos::nAxesGeneratorPos(const char [18], int)’
/usr/local/include/ocl/nAxesGeneratorPos.hpp:60: note: candidates are: OCL::nAxesGeneratorPos::nAxesGeneratorPos(std::string)
/usr/local/include/ocl/nAxesGeneratorPos.hpp:53: note: OCL::nAxesGeneratorPos::nAxesGeneratorPos(OCL::nAxesGeneratorPos&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:54: error: no matching function for call to ‘OCL::nAxesGeneratorVel::nAxesGeneratorVel(const char [18], int)’
/usr/local/include/ocl/nAxesGeneratorVel.hpp:59: note: candidates are: OCL::nAxesGeneratorVel::nAxesGeneratorVel(std::string)
/usr/local/include/ocl/nAxesGeneratorVel.hpp:52: note: OCL::nAxesGeneratorVel::nAxesGeneratorVel(OCL::nAxesGeneratorVel&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:55: error: no matching function for call to ‘OCL::nAxesControllerPos::nAxesControllerPos(const char [19], int)’
/usr/local/include/ocl/nAxesControllerPos.hpp:55: note: candidates are: OCL::nAxesControllerPos::nAxesControllerPos(std::string)
/usr/local/include/ocl/nAxesControllerPos.hpp:47: note: OCL::nAxesControllerPos::nAxesControllerPos(OCL::nAxesControllerPos&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:56: error: no matching function for call to ‘OCL::nAxesControllerPosVel::nAxesControllerPosVel(const char [22], int)’
/usr/local/include/ocl/nAxesControllerPosVel.hpp:54: note: candidates are: OCL::nAxesControllerPosVel::nAxesControllerPosVel(std::string)
/usr/local/include/ocl/nAxesControllerPosVel.hpp:46: note: OCL::nAxesControllerPosVel::nAxesControllerPosVel(OCL::nAxesControllerPosVel&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:57: error: no matching function for call to ‘OCL::nAxesControllerVel::nAxesControllerVel(const char [19], int)’
/usr/local/include/ocl/nAxesControllerVel.hpp:55: note: candidates are: OCL::nAxesControllerVel::nAxesControllerVel(std::string)
/usr/local/include/ocl/nAxesControllerVel.hpp:47: note: OCL::nAxesControllerVel::nAxesControllerVel(OCL::nAxesControllerVel&)
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:58: error: ‘nAxesEffectorVel’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:58: error: expected `;' before ‘effector’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:59: error: ‘ReferenceSensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:59: error: expected `;' before ‘refsensor’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:60: error: ‘NAxesPositionViewer’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:60: error: expected `;' before ‘viewer’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:63: error: ‘CartesianSensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:63: error: expected `;' before ‘cartsensor’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:66: error: ‘CartesianEffectorVel’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:66: error: expected `;' before ‘carteffector’
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:70: error: ‘effector’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:71: error: ‘sensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:72: error: ‘refsensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:73: error: ‘cartsensor’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:74: error: ‘carteffector’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:75: error: ‘viewer’ was not declared in this scope
/home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp:187: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
make[2]: *** [src/CMakeFiles/robotdemo.dir/nAxisTest.o] Error 1
make[1]: *** [src/CMakeFiles/robotdemo.dir/all] Error 2
make: *** [all] Error 2

Bert

Providing more information would help- what operating system? what version?- what version of RTT and OCL did you install?- providing the actual compilation command via "VERBOSE=1 make" would help too
Stephen
_________________________________________________________________
Daarom koop je nu een nieuwe pc
http://www.microsoft.com/netherlands/pc/daaromnu.aspx

examples-rtt-1.8.0/motioncontrol

On Aug 18, 2009, at 10:13 , Bert Godon wrote:

> cd /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build/src && /
> usr/bin/c++ -O3 -DNDEBUG -I/usr/local/include -I/usr/include/
> eigen2 -I/home/bert/orocos/rtt-examples-1.8.0/motioncontrol -
> DOROCOS_TARGET=gnulinux -o CMakeFiles/robotdemo.dir/nAxisTest.o -c /
> home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp

Did you install RTT and OCL into the default "/usr/local"?

Did you turn on the Kuka component in OCL? I don't remember if it is
on by default. Check for /usr/local/include/ocl/
Kuka361nAxesVelocityController.hpp

You might have to rebuild OCL with BUILD_KUKA set to on.
S

examples-rtt-1.8.0/motioncontrol

When I turn the Kuka component on in OCL, I can't make the OCL.

Scanning dependencies of target orocos-kuka-gnulinux
[ 37%] Building CXX object hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361nAxesVelocityController.o
[ 39%] Building CXX object hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka160nAxesVelocityController.o
[ 39%] Building CXX object hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361nAxesTorqueController.o
[ 40%] Building CXX object hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361Kinematics.o
[ 42%] Building CXX object hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361DWH.o
[ 43%] Building CXX object hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361nAxesAccelerationController.o
[ 44%] Building CXX object hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/kuka361InvDynnf.o
[ 44%] Building CXX object hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361DWHConvertor.o
[ 46%] Building CXX object hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/kuka361FwDynnf.o
Linking CXX shared library liborocos-kuka-gnulinux.so
[ 46%] Built target orocos-kuka-gnulinux
Scanning dependencies of target encoderTest
[ 47%] Building CXX object hardware/kuka/tests/CMakeFiles/encoderTest.dir/encoderKuka361Test.o
Linking CXX executable encoderTest
[ 47%] Built target encoderTest
Scanning dependencies of target kuka
[ 49%] Building CXX object hardware/kuka/tests/CMakeFiles/kuka.dir/main.o
Linking CXX executable kuka
[ 49%] Built target kuka
Scanning dependencies of target torquekuka
[ 49%] Building CXX object hardware/kuka/tests/CMakeFiles/torquekuka.dir/torquemain.o
/home/bert/Desktop/orocos-ocl-1.8.1/hardware/kuka/tests/torquemain.cpp: In function ‘int ORO_main_impl(int, char**)’:
/home/bert/Desktop/orocos-ocl-1.8.1/hardware/kuka/tests/torquemain.cpp:30: error: no matching function for call to ‘OCL::Kuka361nAxesTorqueController::Kuka361nAxesTorqueController(const char [8], bool)’
/home/bert/Desktop/orocos-ocl-1.8.1/hardware/kuka/Kuka361nAxesTorqueController.hpp:68: note: candidates are: OCL::Kuka361nAxesTorqueController::Kuka361nAxesTorqueController(std::string)
/home/bert/Desktop/orocos-ocl-1.8.1/hardware/kuka/Kuka361nAxesTorqueController.hpp:58: note: OCL::Kuka361nAxesTorqueController::Kuka361nAxesTorqueController(OCL::Kuka361nAxesTorqueController&)
/home/bert/Desktop/orocos-ocl-1.8.1/hardware/kuka/tests/torquemain.cpp:57: error: ‘class OCL::FileReporting’ has no member named ‘load’
make[2]: *** [hardware/kuka/tests/CMakeFiles/torquekuka.dir/torquemain.o] Error 1
make[1]: *** [hardware/kuka/tests/CMakeFiles/torquekuka.dir/all] Error 2
make: *** [all] Error 2

Bert

CC: orocos-users [..] ...
From: kiwi [dot] net [..] ...
To: bert_godon [..] ...
Subject: Re: [Orocos-users] examples-rtt-1.8.0/motioncontrol
Date: Tue, 18 Aug 2009 10:20:00 -0400

On Aug 18, 2009, at 10:13 , Bert Godon wrote:cd /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/build/src && /usr/bin/c++ -O3 -DNDEBUG -I/usr/local/include -I/usr/include/eigen2 -I/home/bert/orocos/rtt-examples-1.8.0/motioncontrol -DOROCOS_TARGET=gnulinux -o CMakeFiles/robotdemo.dir/nAxisTest.o -c /home/bert/orocos/rtt-examples-1.8.0/motioncontrol/src/nAxisTest.cpp
Did you install RTT and OCL into the default "/usr/local"?
Did you turn on the Kuka component in OCL? I don't remember if it is on by default. Check for /usr/local/include/ocl/Kuka361nAxesVelocityController.hpp
You might have to rebuild OCL with BUILD_KUKA set to on. S

_________________________________________________________________
Daarom koop je nu een nieuwe pc
http://www.microsoft.com/netherlands/pc/daaromnu.aspx

examples-rtt-1.8.0/motioncontrol

On Wed, Aug 19, 2009 at 10:02, Bert Godon<bert_godon [..] ...> wrote:
> When I turn the Kuka component on in OCL, I can't make the OCL.
>
> Scanning dependencies of target orocos-kuka-gnulinux
> [ 37%] Building CXX object
> hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361nAxesVelocityController.o
> [ 39%] Building CXX object
> hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka160nAxesVelocityController.o
> [ 39%] Building CXX object
> hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361nAxesTorqueController.o
> [ 40%] Building CXX object
> hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361Kinematics.o
> [ 42%] Building CXX object
> hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361DWH.o
> [ 43%] Building CXX object
> hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361nAxesAccelerationController.o
> [ 44%] Building CXX object
> hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/kuka361InvDynnf.o
> [ 44%] Building CXX object
> hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/Kuka361DWHConvertor.o
> [ 46%] Building CXX object
> hardware/kuka/CMakeFiles/orocos-kuka-gnulinux.dir/kuka361FwDynnf.o
> Linking CXX shared library liborocos-kuka-gnulinux.so
> [ 46%] Built target orocos-kuka-gnulinux
> Scanning dependencies of target encoderTest
> [ 47%] Building CXX object
> hardware/kuka/tests/CMakeFiles/encoderTest.dir/encoderKuka361Test.o
> Linking CXX executable encoderTest
> [ 47%] Built target encoderTest
> Scanning dependencies of target kuka
> [ 49%] Building CXX object hardware/kuka/tests/CMakeFiles/kuka.dir/main.o
> Linking CXX executable kuka
> [ 49%] Built target kuka
> Scanning dependencies of target torquekuka
> [ 49%] Building CXX object
> hardware/kuka/tests/CMakeFiles/torquekuka.dir/torquemain.o
> /home/bert/Desktop/orocos-ocl-1.8.1/hardware/kuka/tests/torquemain.cpp: In
> function ‘int ORO_main_impl(int, char**)’:
> /home/bert/Desktop/orocos-ocl-1.8.1/hardware/kuka/tests/torquemain.cpp:30:
> error: no matching function for call to
> ‘OCL::Kuka361nAxesTorqueController::Kuka361nAxesTorqueController(const char
> [8], bool)’
> /home/bert/Desktop/orocos-ocl-1.8.1/hardware/kuka/Kuka361nAxesTorqueController.hpp:68:
> note: candidates are:
> OCL::Kuka361nAxesTorqueController::Kuka361nAxesTorqueController(std::string)
> /home/bert/Desktop/orocos-ocl-1.8.1/hardware/kuka/Kuka361nAxesTorqueController.hpp:58:
> note:
> OCL::Kuka361nAxesTorqueController::Kuka361nAxesTorqueController(OCL::Kuka361nAxesTorqueController&)
> /home/bert/Desktop/orocos-ocl-1.8.1/hardware/kuka/tests/torquemain.cpp:57:
> error: ‘class OCL::FileReporting’ has no member named ‘load’
> make[2]: *** [hardware/kuka/tests/CMakeFiles/torquekuka.dir/torquemain.o]
> Error 1
> make[1]: *** [hardware/kuka/tests/CMakeFiles/torquekuka.dir/all] Error 2
> make: *** [all] Error 2

Great. The tests in the kuka directory are outdated. Could someone
provide the fix or remove the test (by patch)? This stuff is really
confusing new users.

Peter