HomeForum Home → Software → Drivers & Firmware → Thread

   

Problem to install ROS Driver v1.0.80.20 - ROS Kinetic (Ubuntu 16.04.1)

Rank

Total Posts: 11

Joined 2016-02-01

PM

Hey,
I skip the step 2.1 (http://wiki.ros.org/duo3d-driver) due to the error that I explained in the other post and I continue with the step 2.2.

After cloning the git repository, I try to build the driver and I obtain the following error. Maybe this can help. 

geek@GeekPC:~/catkin_ws$ catkin_make duo3d_driver
Base path: /home/geek/catkin_ws
Source space: /home/geek/catkin_ws/src
Build space: /home/geek/catkin_ws/build
Devel space: /home/geek/catkin_ws/devel
Install space: /home/geek/catkin_ws/install
####
#### Running command: “make cmake_check_build_system” in “/home/geek/catkin_ws/build”
####
####
#### Running command: “make duo3d_driver -j4 -l4” in “/home/geek/catkin_ws/build”
####
[ 50%] Building CXX object duo3d_driver/CMakeFiles/duo3d_driver.dir/src/duo3d_driver.o
/home/geek/catkin_ws/src/duo3d_driver/src/duo3d_driver.cpp:36:38: fatal error: duo3d_driver/Duo3DConfig.h: No such file or directory
compilation terminated.
duo3d_driver/CMakeFiles/duo3d_driver.dir/build.make:62: recipe for target ‘duo3d_driver/CMakeFiles/duo3d_driver.dir/src/duo3d_driver.o’ failed
make[3]: *** [duo3d_driver/CMakeFiles/duo3d_driver.dir/src/duo3d_driver.o] Error 1
CMakeFiles/Makefile2:1207: recipe for target ‘duo3d_driver/CMakeFiles/duo3d_driver.dir/all’ failed
make[2]: *** [duo3d_driver/CMakeFiles/duo3d_driver.dir/all] Error 2
CMakeFiles/Makefile2:1219: recipe for target ‘duo3d_driver/CMakeFiles/duo3d_driver.dir/rule’ failed
make[1]: *** [duo3d_driver/CMakeFiles/duo3d_driver.dir/rule] Error 2
Makefile:589: recipe for target ‘duo3d_driver’ failed
make: *** [duo3d_driver] Error 2
Invoking “make duo3d_driver -j4 -l4” failed

     
Avatar
RankRank

Total Posts: 37

Joined 2012-06-10

PM

Hi Gustavo,

The Duo3DConfig.h is auto-generated by the ROS build tools.
Please try to clean your project, then rebuild using only the following command: catkin_make

     
Rank

Total Posts: 11

Joined 2016-02-01

PM

Dear Alex,
I follow your advice and however I cannot start using the DUO in ROS.
When I try to build the pkg, command “catkin_make” I obtain the next error:

geek@GeekPC:~$ cd ~/catkin_ws
geek@GeekPC:~/catkin_ws$ catkin_make
Base path: /home/geek/catkin_ws
Source space: /home/geek/catkin_ws/src
Build space: /home/geek/catkin_ws/build
Devel space: /home/geek/catkin_ws/devel
Install space: /home/geek/catkin_ws/install
####
#### Running command: “make cmake_check_build_system” in “/home/geek/catkin_ws/build”
####
####
#### Running command: “make -j4 -l4” in “/home/geek/catkin_ws/build”
####
[ 33%] Generating dynamic reconfigure files from cfg/Duo3D.cfg: /home/geek/catkin_ws/devel/include/duo3d_driver/Duo3DConfig.h /home/geek/catkin_ws/devel/lib/python2.7/dist-packages/duo3d_driver/cfg/Duo3DConfig.py
../catkin_generated/env_cached.sh: 16: exec: /home/geek/catkin_ws/src/duo3d_driver/cfg/Duo3D.cfg: Permission denied
duo3d_driver/CMakeFiles/duo3d_driver_gencfg.dir/build.make:63: recipe for target ‘/home/geek/catkin_ws/devel/include/duo3d_driver/Duo3DConfig.h’ failed
make[2]: *** [/home/geek/catkin_ws/devel/include/duo3d_driver/Duo3DConfig.h] Error 126
CMakeFiles/Makefile2:402: recipe for target ‘duo3d_driver/CMakeFiles/duo3d_driver_gencfg.dir/all’ failed
make[1]: *** [duo3d_driver/CMakeFiles/duo3d_driver_gencfg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs….
[ 66%] Building CXX object duo3d_driver/CMakeFiles/duo3d_driver.dir/src/duo3d_driver.o
/home/geek/catkin_ws/src/duo3d_driver/src/duo3d_driver.cpp:36:38: fatal error: duo3d_driver/Duo3DConfig.h: No such file or directory
compilation terminated
.
duo3d_driver/CMakeFiles/duo3d_driver.dir/build.make:62: recipe for target ‘duo3d_driver/CMakeFiles/duo3d_driver.dir/src/duo3d_driver.o’ failed
make[2]: *** [duo3d_driver/CMakeFiles/duo3d_driver.dir/src/duo3d_driver.o] Error 1
CMakeFiles/Makefile2:1207: recipe for target ‘duo3d_driver/CMakeFiles/duo3d_driver.dir/all’ failed
make[1]: *** [duo3d_driver/CMakeFiles/duo3d_driver.dir/all] Error 2
Makefile:138: recipe for target ‘all’ failed
make: *** [all] Error 2
Invoking “make -j4 -l4” failed

     
Rank

Total Posts: 1

Joined 2015-12-30

PM

Hi,
did you try executing “chmod a+x cfg/Duo3D.cfg” from ~/catkin_ws/src/duo3d_driver?