Cross compiling page in techbase

Alexander Neundorf neundorf at kde.org
Thu Mar 13 00:27:56 CET 2008


On Wednesday 12 March 2008, Carlo wrote:
> On Wed, Mar 12, 2008 at 11:31 PM, Alexander Neundorf <neundorf at kde.org> 
wrote:
> > 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
>
> kdepimlibs, probably the same on kdebase

Ok. Let's first get kdelibs working with this (almost) minimal toolchain file.
Does it ?

Alex



More information about the Kde-windows mailing list