[Digikam-devel] Re: [Kde-imaging] Re: Re: Git migration for 2.0.0 + code components re-structuring...
Gert Kello
gert.kello at gmail.com
Tue Dec 14 13:33:53 GMT 2010
On 14 December 2010 15:25, Gilles Caulier <caulier.gilles at gmail.com> wrote:
> in the cmake command line call, pass -DOpenCV_ROOT_DIR=... with you
> opencv install path
>
Following ones did not work:
c:\KdeDevel\GoSC2010\build>cmake -G "MinGW Makefiles" ..
-DCMAKE_BUILD_TYPE=relwithdebinfo
-DCMAKE_INCLUDE_PATH=%KDE4_INSTALL_DIR%/include
-DCMAKE_LIBRARY_PATH=%KDE4_INSTALL_DIR%/lib
-DCMAKE_INSTALL_PREFIX=%KDE4_INSTALL_DIR%
-DOpenCV_ROOT_DIR=c:\KdeDevel\OpenCvTrunk\build
c:\KdeDevel\GoSC2010\build>cmake -G "MinGW Makefiles" ..
-DCMAKE_BUILD_TYPE=relwithdebinfo
-DCMAKE_INCLUDE_PATH=%KDE4_INSTALL_DIR%/include
-DCMAKE_LIBRARY_PATH=%KDE4_INSTALL_DIR%/lib
-DCMAKE_INSTALL_PREFIX=%KDE4_INSTALL_DIR%
-DOpenCV_ROOT_DIR=c:\KdeDevel\OpenCvTrunk
c:\KdeDevel\GoSC2010\build>cmake -G "MinGW Makefiles" ..
-DCMAKE_BUILD_TYPE=relwithdebinfo
-DCMAKE_INCLUDE_PATH=%KDE4_INSTALL_DIR%/include
-DCMAKE_LIBRARY_PATH=%KDE4_INSTALL_DIR%/lib
-DCMAKE_INSTALL_PREFIX=%KDE4_INSTALL_DIR% -DOpenCV_ROOT_DIR=c:\KDE
But after all I do not understand why it is arranged like that... If I
remove the findOpenCV.cmake then the OpenCV is found just fine. Only
that one file must be updated to use the variable that is defined by
OpenCV makers... And some files in kipi_plugins as well I think.
Gert
More information about the Digikam-devel
mailing list