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

Error cmaking odm_texturing #32

Closed
dbaldwin opened this issue Jan 8, 2015 · 3 comments
Closed

Error cmaking odm_texturing #32

dbaldwin opened this issue Jan 8, 2015 · 3 comments

Comments

@dbaldwin
Copy link
Contributor

dbaldwin commented Jan 8, 2015

When trying to install the orthophoto branch I get the following related to cmaking odm_texturing:

CMake Error at CMakeLists.txt:14 (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.

-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/OpenDroneMap/src/odm_texturing/CMakeFiles/CMakeOutput.log".

I've been trying to get to the bottom of this but haven't had much luck. Any insight would be much appreciated.

@dbaldwin
Copy link
Contributor Author

dbaldwin commented Jan 8, 2015

I just fired up another Ubuntu 14.04 VM (Amazon EC2) to make sure it wasn't a one-off issue. I ran into the same error. What I did to get this working is:

sudo apt-get install libopencv-dev

And bam! I was able to install. How do the opencv dependencies get installed in the first place? I can explicitly add this package and submit a pull request, but not sure if that's the right thing to do.

@smathermather
Copy link
Contributor

Add that, and I'll test on 12.04...

@smathermather
Copy link
Contributor

@dbaldwin -- can you do a pull request for this change. Go ahead and add it to the install script, test on your end, and I'll test here.

dbaldwin added a commit to dbaldwin/OpenDroneMap that referenced this issue Jan 15, 2015
smathermather pushed a commit that referenced this issue Jan 20, 2015
Issue #32 - Adding libopencv-dev for compat with Ubuntu 14.04 64 bit

Compiles fine on 12.04. Going to merge.
peddyhh pushed a commit to peddyhh/ODM that referenced this issue Jun 7, 2020
peddyhh pushed a commit to peddyhh/ODM that referenced this issue Jun 7, 2020
…turing_branch

Issue OpenDroneMap#32 - Adding libopencv-dev for compat with Ubuntu 14.04 64 bit

Compiles fine on 12.04. Going to merge.

Former-commit-id: 659f2bb
pierotofy pushed a commit to pierotofy/ODM that referenced this issue Sep 21, 2020
pierotofy pushed a commit to pierotofy/ODM that referenced this issue Sep 21, 2020
…turing_branch

Issue OpenDroneMap#32 - Adding libopencv-dev for compat with Ubuntu 14.04 64 bit

Compiles fine on 12.04. Going to merge.

Former-commit-id: 659f2bb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants