lagadic / visp

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

OpenCV, Eigen and FlyCapture libraries not detected by VIPS on Windows10 #1114

Open Ivan-Jordan96 opened 1 year ago

Ivan-Jordan96 commented 1 year ago

I have installed VISP from source for Windows 10 with Visual C++ 2019 (vc16). And I have installed also OpenCV, Eigen, and FlyCapture as 3rd parties, following all the steps of the website.

  1. I can see OpenCV and Eigen as 3dr parties in the ViSP-third-party.txt file, but not FlyCapture,
  2. When I tried to run some Examples from VISP, OpenCV and Eigen are not detected. Thanks for your help! Best regards.

Capture d’écran 2022-11-17 171727 Capture d’écran 2022-11-17 171752

Sans titre

fspindle commented 1 year ago

From what I see, you have a build error with Eigen. I suspect that you don't follow carefully all the steps to install Eigen (see tutorial), especially the command to install Eigen

cmake --build . --config Release --target install

Concerning Flycapture, did you carefully follow the tutorial and complete Flycapture SDK installation by adding C:\Program Files\Point Grey Research\FlyCapture2\bin64 to the Path environment var ?

Don't forget that after modifying the Pathenv var, you need to quit cmake-gui and all cmd windows, before opening them again so that the env vars are taken into account.

Ivan-Jordan96 commented 1 year ago

Thank you for your quick response. I will try to reinstall VISP and the different third parties. Please, is it mandatory to install Flycapture SDK in C:\Program Files? Best Regards.

fspindle commented 1 year ago

You can install Flycapture SDK where you want, but you have then:

Let me know, so that I can commit the changes in the code.

Ivan-Jordan96 commented 1 year ago

Thank you again for these methods, everything works now even FlyCapture. But VIPS doesn't detect my camera and I will try to solve that. In this image, you can see what I got when I run tutorial-grabber-flycapture. Best regards.

Capture d’écran 2022-11-20 221452

Ivan-Jordan96 commented 1 year ago

I want to specify that I used a BlackFly color camera S UBS 3.1 BFS-U3-63S4C-C.