lagadic / visp

Open Source Visual Servoing Platform
https://visp.inria.fr/
GNU General Public License v2.0
725 stars 286 forks source link

Problem with vpRealSense2 Class Reference #927

Closed lucamarchionna closed 3 years ago

lucamarchionna commented 3 years ago

Hi everyone, I was trying to implement an eye-in-hand configuration through a markerless generic model-based tracking. For doing this, I am going to leverage a RealSense d435i and benefit from the vpRealSense2 Class. However, when I include the header

#include <visp3/sensor/vpRealSense2.h>

an error appear in the catkin_make, mentioning the following:

undefined reference to vpRealSense2::vpRealSense2() undefined reference to vpRealSense2::open(rs2::config const&)

I have successfully installed the 3rd parties according to VISP tutorial. Have you an idea on how to fix this error? Thank you in advance.

fspindle commented 3 years ago

Investigate the following points:

fspindle commented 3 years ago

@lucamarchionna Any update ?

lucamarchionna commented 3 years ago

Thanks for your support. I solved the problem following what you have suggested in another issue. For other users, the steps are:

  1. Install Synaptic sudo apt-get install synaptic
  2. Run Synaptic sudo synaptic
  3. Delete any installation from packages that contains visp-ros, vision-visp