ODM build failing 16.04 Ubuntu - exiv2_library not found. Link broken



I was trying to build ODM on native machine and it failed. Got error message - CMake Error at modules/odm_georef/CMakeLists.txt:19 (find_package):
Could not find a package configuration file provided by “OpenCV” with any
of the following names:


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

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
linked by target “odm_extract_utm” in directory /home/garlac/ODM/modules/odm_extract_utm

– Configuring incomplete, errors occurred!
See also “/home/garlac/ODM/build/CMakeFiles/CMakeOutput.log”.
See also “/home/garlac/ODM/build/CMakeFiles/CMakeError.log”.
Configuration Finished.

Also in below file, I found the link not working. Should it be updated? Please help!

link that is broken - http://www.exiv2.org/builds/exiv2-0.26-trunk.tar.gz



I was able to build again by changing the link to - http://www.exiv2.org/builds/exiv2-0.27.0-Source.tar.gz

and its reference in modules/odm_extract_utm/CMakeLists.txt


Hey @garlac thanks for sharing the solution. It looks like the link to the package has been moved (that’s why it was failing).

Would you be able to open a pull request for this fix?