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

Troubles installing N2D2 because of OpenCV not found #125

Open
alkaf-ahmed opened this issue Jan 31, 2025 · 0 comments
Open

Troubles installing N2D2 because of OpenCV not found #125

alkaf-ahmed opened this issue Jan 31, 2025 · 0 comments

Comments

@alkaf-ahmed
Copy link

Hello,

While installing N2D2, I got the following message :

CMake Error at CMakeLists.txt:223 (find_package):
  By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OpenCV", but
  CMake did not find one.

  Could not find a package configuration file provided by "OpenCV" with any
  of the following names:

    OpenCVConfig.cmake
    opencv-config.cmake

  Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
  "OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
  provides a separate development package or SDK, be sure it has been
  installed.

I can't find FindOpenCV.cmake anywhere in the repo, do I have to write it myself ?
I also can't find OpenCV_DIR to specifiy the location of OpenCV, any idea where can I find it ?

Thanks in advance for any help

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

1 participant