Skip to content

Find* files #6

Closed
mrquincle opened this Issue Feb 7, 2013 · 2 comments

2 participants

@mrquincle

Thanks for the nice work and blog posts. The thing that is missing are the files that allow cmake to actually execute the commands:

find_package(OpenCV REQUIRED)
find_package(OpenMP REQUIRED)

find_package(PCL REQUIRED)

Thanks!

@royshil
Owner
royshil commented Feb 7, 2013

These files come along with the installation of OpenCV and PCL, and in the case of OpenMP it should come with CMake.
If CMake can't find the location of "FindOpenCV.cmake" and the others, you can help it by defining the OPENCV_DIR parameters (like "cmake -DOPENCV_DIR=location/of/findopencv.cmake/")

@mrquincle

Yes, I know. On Ubuntu 12.10 it doesn't come with opencv from the repository. I checked with:

locate FindOpenCV
apt-file list libopencv-dev

So, if it's not too much, maybe it's nice to add them to a "cmake" directory to make it work across a range of platforms.

@royshil royshil closed this Nov 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.