Failed to process package 'diagnostic_common_diagnostics
hello,
i'm trying to build indigo on my raspberry pi,and I get an error like the one below
Scanning dependencies of target libsensors_monitor
[ 50%] Building CXX object CMakeFiles/libsensors_monitor.dir/src/libsensors_monitor.cpp.o
/home/pi/ros_catkin_ws/src/diagnostics/diagnostic_common_diagnostics/src/libsensors_monitor.cpp:40:29: fatal error: sensors/sensors.h: No such file or directory
compilation terminated.
CMakeFiles/libsensors_monitor.dir/build.make:54: recipe for target 'CMakeFiles/libsensors_monitor.dir/src/libsensors_monitor.cpp.o' failed
make[2]: *** [CMakeFiles/libsensors_monitor.dir/src/libsensors_monitor.cpp.o] Error 1
CMakeFiles/Makefile2:215: recipe for target 'CMakeFiles/libsensors_monitor.dir/all' failed
make[1]: *** [CMakeFiles/libsensors_monitor.dir/all] Error 2
Makefile:123: recipe for target 'all' failed
make: *** [all] Error 2
<== Failed to process package 'diagnostic_common_diagnostics':
Command '/opt/ros/indigo/env.sh make -j1 -l1' returned non-zero exit status 2
Reproduce this error by running:
==> cd /home/pi/ros_catkin_ws/build_isolated/diagnostic_common_diagnostics && /opt/ros/indigo/env.sh make -j1 -l1
Command failed, exiting.
I can't find the sensors.h, and I don't know how to fix it.
Please help me , Thanks:))
Also, for future questions (and this one too actually), always include the linux distribution that you are running, the version of ROS, whether from source or installed from debians, etc. We don't have a crystal ball, so we can't guess what you are using ..