[MacPorts] #34757: digikam: OpenCV required but some headers or libs not found (was: digikam : fails to build)

MacPorts noreply at macports.org
Tue Jun 5 00:24:14 PDT 2012


#34757: digikam: OpenCV required but some headers or libs not found
-------------------------------+--------------------------------------------
 Reporter:  fasimeru@…         |       Owner:  jan@…             
     Type:  defect             |      Status:  new               
 Priority:  Normal             |   Milestone:                    
Component:  ports              |     Version:  2.1.1             
 Keywords:                     |        Port:  digikam           
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):

  * keywords:  digikam build =>
  * owner:  macports-tickets@… => jan@…


Comment:

 The relevant part of the log seems to be:
 {{{
 :info:configure -- First try at finding OpenCV...
 :info:configure CMake Warning at extra/libkface/CMakeLists.txt:58
 (FIND_PACKAGE):
 :info:configure   By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH
 this project has
 :info:configure   asked CMake to find a package configuration file
 provided by "OpenCV", but
 :info:configure   CMake did not find one.
 :info:configure
 :info:configure   Could not find a package configuration file provided by
 "OpenCV" with any
 :info:configure   of the following names:
 :info:configure
 :info:configure     OpenCVConfig.cmake
 :info:configure     opencv-config.cmake
 :info:configure
 :info:configure   Add the installation prefix of "OpenCV" to
 CMAKE_PREFIX_PATH or set
 :info:configure   "OpenCV_DIR" to a directory containing one of the above
 files.  If "OpenCV"
 :info:configure   provides a separate development package or SDK, be sure
 it has been
 :info:configure   installed.
 :info:configure
 :info:configure
 :info:configure -- Could not find OpenCV normally, trying internal
 FindOpenCV.cmake
 :info:configure -- Checking GNUCXX version 3/4 to determine  OpenCV
 /opt/net/ path
 :info:configure CMake Error at
 extra/libkface/cmake/modules_opencv/FindOpenCV.cmake:237 (MESSAGE):
 :info:configure   OpenCV required but some headers or libs not found.
 Please specify its
 :info:configure   location with OpenCV_ROOT_DIR env.  variable.
 :info:configure Call Stack (most recent call first):
 :info:configure   extra/libkface/CMakeLists.txt:63 (FIND_PACKAGE)
 :info:configure
 :info:configure
 :info:configure -- Configuring incomplete, errors occurred!
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/34757#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list