Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ivan-Jordan96 opened this issue Nov 17, 2022 · 5 comments

Comments

@Ivan-Jordan96
Copy link

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
Copy link
Contributor

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
Copy link
Author

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
Copy link
Contributor

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

  • to add the location of the DLL in the Path var
  • add a new var named FLYCAPTURE_HOME that points to your other installation location (see here)
  • I suspect that you will also have to modiy this line and this line, by using rather list(APPEND FLYCAPTURE_INC_SEARCH_PATH "$ENV{FLYCAPTURE_HOME}/include")

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

@Ivan-Jordan96
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants