Cross compiling page in techbase

Alexander Neundorf neundorf at kde.org
Wed Mar 12 23:31:48 CET 2008


On Wednesday 12 March 2008, Carlo wrote:
...
> >  cmake -DCMAKE_TOOLCHAIN_FILE=<path>/Toolchain-mingw32.cmake -C
> >  <path>/mingw32-kdelibs.cmake <src dir>
>
> you forgot set(KDE4_INSTALL_DIR    /windows/kde4) in the toolchain file
> anyway it doesn't work, this is the erorr
> -- ERROR: unable to find KDE 4 headers
> -- ERROR: unable to find KDE 4 core library
>
> in FindKDE4Internal.cmake
> find_path(KDE4_INCLUDE_DIR kpassworddialog.h
> ${KDE4_INCLUDE_INSTALL_DIR} NO_DEFAULT_PATH )
> and KDE4_INCLUDE_INSTALL_DIR is set to /home/kdeuser/kde/include but
> that's the kde4 linux include not the windows one and btw
> kpassworddialog.h exist in that dir

Is that when building kdelibs or kdebase ?

Alex



More information about the Kde-windows mailing list