cmake problem under windows/mingw

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Thu Feb 9 14:27:26 CET 2006


> --- Ursprüngliche Nachricht ---
> Von: Ralf Habacker <ralf.habacker at freenet.de>
> An: kde-buildsystem at kde.org
> Ralf Habacker schrieb:
> > Hi,
> >
> > I've just tried to run cmake on kdelibs using mingw and got problems 
> > with QT4, I can't find the reason for.
> >  
> > C:\Daten\kde4\kdelibs\win>c:\Programme\CMake-2.3-KDE\bin\cmake.exe -G 
> > "MinGW Makefiles"  .
> > -- Check for working C compiler: c:/MinGW/bin/gcc.exe
> > -- Check for working C compiler: c:/MinGW/bin/gcc.exe -- works
> > -- Check size of void*
> > -- Check size of void* - done
> > -- Check for working CXX compiler: c:/MinGW/bin/g++.exe
> > -- Check for working CXX compiler: c:/MinGW/bin/g++.exe -- works
> > -- Found Qt-Version 4.1.0
> > CMake Error: This project requires some variables to be set,
> > and cmake can not find them.
> > Please set the following variables:
> > QT_QT3SUPPORT_LIBRARY (ADVANCED)
> > QT_QTCORE_LIBRARY (ADVANCED)
> >
> > -- Configuring done
> >
> >
> > Then I've tried with msys, the same problem
> >
> > $ /c/Programme/CMake-2.3-KDE/bin/cmake -G "MSYS Makefiles" .
> > -- Check for working C compiler: c:/mingw/bin/gcc.exe
> > -- Check for working C compiler: c:/mingw/bin/gcc.exe -- works
> > -- Check size of void*
> > -- Check size of void* - done
> > -- Check for working CXX compiler: c:/mingw/bin/g++.exe
> > -- Check for working CXX compiler: c:/mingw/bin/g++.exe -- works
> > -- Found Qt-Version 4.1.0
> > CMake Error: This project requires some variables to be set,
> > and cmake can not find them.
> > Please set the following variables:
> > QT_QT3SUPPORT_LIBRARY (ADVANCED)
> > QT_QTCORE_LIBRARY (ADVANCED)
> >
> >
> I should add that I had run before:
> 
> C:\Daten\kde4\kdelibs>c:\Programme\CMake-2.3-KDE\bin\cmake.exe -G "MinGW 
> Makefiles"  .
> -- Check for working C compiler: c:/MinGW/bin/gcc.exe
> -- Check for working C compiler: c:/MinGW/bin/gcc.exe -- works
> -- Check size of void*
> -- Check size of void* - done
> -- Check for working CXX compiler: c:/MinGW/bin/g++.exe
> -- Check for working CXX compiler: c:/MinGW/bin/g++.exe -- works
> -- This is a SVN repository
> -- Using Buildname: Win32-mingw32-make
> -- Found Qt-Version 4.1.0
> -- Building kdelibs...
> Could not find kdewin32 library, build and install kdelibs/win/ before 
> building kdelibs/
> -- Configuring done
> 
Set CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH to the places where your
kdewin32.lib / kdewin32-headers are.
Also note that cmake maybe don't find libjpeg und libpng. There you also
have to modifiy cmake/modules/FindLibfoo like you had to do for FindQt4. If
the module isn't yet available, simply copy it from cmake install directory.
When you put it into svn Alexander (or someone other with access to cmake
cvs) will update the original modules later.

Christian

-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++


More information about the Kde-buildsystem mailing list