Revision history [back]

Hi all,

How can I make that ROS look for headers files in /usr/include directory when compiling?

I want to use some headers present in that folder, but when I include them in my code and make it, the compiler cannot find the header files.

Hi all,

How can I make that ROS look for headers files in /usr/include directory when compiling?

I want to use some headers present in that folder, but when I include them in my code and make it, the compiler cannot find the header files.

Hi all,

How can I make that ROS look for headers files in /usr/include directory when compiling?

I want to use some headers present in that folder, but when I include them in my code and make it, the compiler cannot find the header files.files. Concretelly, I want to use gtkmm.h, in /usr/include/gtkmm-2.4/gtkmm.h. If I include the file like:

include <gtkmm-2.4 gtkmm.h="">

it works, but it start to ask for another headers. I want it to search in /usr/include for all dependencies.

Hi all,

How can I make that ROS look for headers files in /usr/include directory when compiling?

I want to use some headers present in that folder, but when I include them in my code and make it, the compiler cannot find the header files. Concretelly, I want to use gtkmm.h, in /usr/include/gtkmm-2.4/gtkmm.h. If I include the file like:

include <gtkmm-2.4 gtkmm.h="">

it works, but it start to ask for another headers. I want it to search in /usr/include for all dependencies.

Hi all,

How can I make that ROS look for headers files in /usr/include directory when compiling?

I want to use some headers present in that folder, but when I include them in my code and make it, the compiler cannot find the header files. Concretelly, I want to use gtkmm.h, in /usr/include/gtkmm-2.4/gtkmm.h. If I include the file like:



include <gtkmm-2.4 gtkmm.h="">



it works, but it start to ask for another headers. I want it to search in /usr/include for all dependencies.

Thank Thanks in advance

Hi all,

How can I make that ROS look for headers files in /usr/include directory when compiling?

I want to use some headers present in that folder, but when I include them in my code and make it, the compiler cannot find the header files. Concretelly, I want to use gtkmm.h, in /usr/include/gtkmm-2.4/gtkmm.h. If I include the file like:

#include <gtkmm-2.4/gtkmm.h>

 include <gtkmm-2.4 gtkmm.h="">

it works, but it start to ask for another headers. I want it to search in /usr/include for all dependencies.

 7 No.7 Revision Lorenz 21751 ●117 ●194 ●313 http://ias.in.tum.de/p...

Hi all,

How can I make that ROS look for headers files in /usr/include directory when compiling?

I want to use some headers present in that folder, but when I include them in my code and make it, the compiler cannot find the header files. Concretelly, I want to use gtkmm.h, in /usr/include/gtkmm-2.4/gtkmm.h. If I include the file like:

#include <gtkmm-2.4/gtkmm.h>


it works, but it start to ask for another headers. I want it to search in /usr/include for all dependencies.

This is exactly the error I am getting when making the package:

cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild/rostoolchain.cmake  ..
[rosbuild] Building package prglade
[rosbuild] Including /opt/ros/fuerte/share/roslisp/rosbuild/roslisp.cmake
[rosbuild] Including /opt/ros/fuerte/share/rospy/rosbuild/rospy.cmake
[rosbuild] Including /opt/ros/fuerte/share/roscpp/rosbuild/roscpp.cmake
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

CMAKE_TOOLCHAIN_FILE

-- Build files have been written to: /home/ruben/ROS_workspace/prglade/build
cd build && make
make[1]: se ingresa al directorio «/home/ruben/ROS_workspace/prglade/build»
make[2]: se ingresa al directorio «/home/ruben/ROS_workspace/prglade/build»
make[3]: se ingresa al directorio «/home/ruben/ROS_workspace/prglade/build»
make[3]: se sale del directorio «/home/ruben/ROS_workspace/prglade/build»
[  0%] Built target rospack_genmsg_libexe
make[3]: se ingresa al directorio «/home/ruben/ROS_workspace/prglade/build»
make[3]: se sale del directorio «/home/ruben/ROS_workspace/prglade/build»
[  0%] Built target rosbuild_precompile
make[3]: se ingresa al directorio «/home/ruben/ROS_workspace/prglade/build»
make[3]: se sale del directorio «/home/ruben/ROS_workspace/prglade/build»
make[3]: se ingresa al directorio «/home/ruben/ROS_workspace/prglade/build»
[ 50%] Building CXX object CMakeFiles/main_node.dir/src/main_node.o
In file included from /home/ruben/ROS_workspace/prglade/src/main_node.cpp:5:0:
/home/ruben/ROS_workspace/prglade/src/viewer.h:5:19: error fatal: gtkmm.h: No existe el archivo o el directorio