frankaemika/docs

include libraries fails

Closed this issue · 1 comments

Hi,

For my project at university I will be using the Panda robot, with libfranka.
I followed the install instructions, but am not able to include the header files in a cpp file.

The CMakeCache.txt states that the package is found on:
Franka_DIR:PATH=/opt/ros/melodic/share/franka/cmake

The header files to include are located in:
/opt/ros/melodic/include/libfranka/franka

Are there any additional lines i should add to the CMakeLists.txt file? Currently my file is:
cmake_minimum_required(VERSION 3.1.0)
project(Test00)
find_package(Franka REQUIRED)
add_executable(${PROJECT_NAME} Test00.cpp)
target_link_libraries(${PROJECT_NAME} Franka::Franka)

I am using ubuntu 18.04 LTS.

As alternative i tried installing in a different location. Using
cmake -DFranka_DIR=path/to/libfranka/build
Does change the Franka_DIR to:
Franka_DIR:UNINITIALIZED=path/to/libfranka/build
However, this does not let me include the header files either.

I am really hoping that you can help me with this.

Thanks in advance,
Greetings
Remco

Since there is no update on the topic for over two years, this issue is closed.