[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How to build kItemmodels as a windows shared library?
From:       Kevin Krammer <krammer () kde ! org>
Date:       2014-01-20 16:49:28
Message-ID: 26740113.JPlZySDoaA () persephone
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi Niclas,

On Monday, 2014-01-20, 12:30:57, Niclas Karlsson wrote:
> Hi,
> 
> I'm developing a QT 5 application (cross platform linux and windows).
> I would like to use kitemmodels as a shared library in the
> applications.
> I'm using windows and mingw as compiler.
> 
> I've tried following
> http://community.kde.org/Frameworks/Building/Details#kitemmodels but I
> get the following error:
> 
> C:\GIT\kitemmodels\build>cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=
> -DCM AKE_PREFIX_PATH= ..
> CMake Error at CMakeLists.txt:5 (find_package):
>   Could not find a package configuration file provided by "ECM" (requested
>   version 0.0.9) with any of the following names:
> 
>     ECMConfig.cmake
>     ecm-config.cmake
> 
>   Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
> to a directory containing one of the above files.  If "ECM" provides a
> separate development package or SDK, be sure it has been installed.
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "C:/GIT/kitemmodels/build/CMakeFiles/CMakeOutput.log".
> 
> I have cloned and built ECM in C:\GIT\extra-cmake-modules and set ethe
> ECM_DIR to C:\GIT\extra-cmake-modules\install\share\ECM\cmake where I
> can find ECMConfig.cmake, but I still get the same error message as
> above.

Have you tried within a clean build directory?
Does it find it if you do the other thing, i.e. specify CMAKE_PREFIX_PATH to 
the same install directory?

> Can anyone help me? How should I proceed?

Migth be worth asking on the frameworks development list
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic