Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You should make sure of the following:

  1. The CMakeLists.txt of the my_lib package has catkin_package(INCLUDE_DIRS include...), include_directories(include...), and the install(...) function call inside
  2. Parameters.h is in <workspace>/src/my_lib/include/my_lib/. Notice the two occurrences of "my_lib"
  3. Relevant files in the my_main package have the correct include statement #include "my_lib/Parameters.h"