No such file or directory error - Library related
Hi ROS Community,
This will be my first question here and I would appreciate it very much if you could help me.
I am running ROS Noetic on Ubuntu. I have installed necessary libraries for the project and when i make catkin_make it gives me "franka/model.h: No such file or directory" error. franka/model.h is in in my home folder under the path home/libfranka/include/franka/model.h. So there is model.h and it is used in a c header like #include "franka/model.h" in the project folder.
When I check CMakeLists.txt file I saw the library name in
TARGET_LINK_LIBRARIES(vrep_interface_move_franka
pthread
dqrobotics
dqrobotics-interface-vrep
franka
${orocos_kdl_LIBRARIES}
${catkin_LIBRARIES}
${EIGEN3_INCLUDE_DIRS}
)
Other libraries are also in my home folder like that but it somehow could not find franka library and gives this error I think. What can be problem?
image of terminal with error can be found at: https://drive.google.com/file/d/1tsZV...
Is franka a ROS package? Whether it is a ROS package or not should make a difference in how it is handled.
Some questions that might guide you to a solution: How did you install libfranka? If you installed libfranka from source but did not install it somewhere the linker would look, cmake has no idea how to find libfranka. Does your cmakelists call out
find_package(Franka REQUIRED)
? You will probably need to tell it where to find the library as well with something likecatkin_make -DCMAKE_BUILD_TYPE=Release -DFranka_DIR:PATH=/home/libfranka/build
@koraykoca please don't use an image to post text. The text within an image can't be copied/pasted. Please update your question with a copy and paste of the text instead of using an image