Hello, Everyone.
There are two Robotinos in our Laboratory and we want to compile the robotino example with cmake in our private computer.
Then it could run as executable file in robotino system ( here is Ubuntu 16.04 Xential).
But there are lots of ways to install Robotino API2. like:
1. sudo apt-get install robotino-api2 ( https://wiki.openrobotino.org/index....=Debrepository)
2. API2 source build from Wiki Site (https://wiki.openrobotino.org/index....2_source_build)
3. Download deb file using this site (https://wiki.openrobotino.org/index.php?title=API2)
Which ways can install API2 in my private computer and to compile the examples rightly?
If it is impossible to achieve in my private Ubuntu system, please also tell me.
And this error always occurs and I got stuck for 2 weeks ; (
Thank you very much.
my@ubuntu:/home/build/circle$ sudo cmake /usr/local/robotino/examples/src/c++/circle/
-- Configuring done
-- Generating done
-- Build files have been written to: /home/build/circle
my@ubuntu:/home/build/circle$ sudo make
Scanning dependencies of target example_circle
[ 50%] Building CXX object CMakeFiles/example_circle.dir/main.cpp.o
/usr/local/robotino/examples/src/c++/circle/main.cpp:15:35:
fatal error: rec/robotino/api2/all.h: No such file or directory
#include "rec/robotino/api2/all.h"
^
compilation terminated.
CMakeFiles/example_circle.dir/build.make:62: recipe for target 'CMakeFiles/example_circle.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/example_circle.dir/main.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/example_circle.dir/all' failed
make[1]: *** [CMakeFiles/example_circle.dir/all] Error 2 Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
There are two Robotinos in our Laboratory and we want to compile the robotino example with cmake in our private computer.
Then it could run as executable file in robotino system ( here is Ubuntu 16.04 Xential).
But there are lots of ways to install Robotino API2. like:
1. sudo apt-get install robotino-api2 ( https://wiki.openrobotino.org/index....=Debrepository)
2. API2 source build from Wiki Site (https://wiki.openrobotino.org/index....2_source_build)
3. Download deb file using this site (https://wiki.openrobotino.org/index.php?title=API2)
Which ways can install API2 in my private computer and to compile the examples rightly?
If it is impossible to achieve in my private Ubuntu system, please also tell me.
And this error always occurs and I got stuck for 2 weeks ; (
Thank you very much.
my@ubuntu:/home/build/circle$ sudo cmake /usr/local/robotino/examples/src/c++/circle/
-- Configuring done
-- Generating done
-- Build files have been written to: /home/build/circle
my@ubuntu:/home/build/circle$ sudo make
Scanning dependencies of target example_circle
[ 50%] Building CXX object CMakeFiles/example_circle.dir/main.cpp.o
/usr/local/robotino/examples/src/c++/circle/main.cpp:15:35:
fatal error: rec/robotino/api2/all.h: No such file or directory
#include "rec/robotino/api2/all.h"
^
compilation terminated.
CMakeFiles/example_circle.dir/build.make:62: recipe for target 'CMakeFiles/example_circle.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/example_circle.dir/main.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/example_circle.dir/all' failed
make[1]: *** [CMakeFiles/example_circle.dir/all] Error 2 Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Comment