This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problem with automoc4

Tags: None
(comma "," separated)
montoya
Registered Member
Posts
3
Karma
0
OS

Problem with automoc4

Thu Jan 01, 2009 5:44 pm
I have a little problem with automoc...

Code: Select all
cmake .. -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_GENERATOR="MinGW Makefiles"  -DCMAKE_PREFIX_PATH=C:KDE -DCMAKE_INCLUDE_PATH=C:KDEinclude -DCMAKE_LIBRARY_PATH=C:KDElib -DAUTOMOC4_EXECUTABLE=C:KDEbinautomoc4.exe

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: c:/MinGW/bin/g++.exe
-- Check for working CXX compiler: c:/MinGW/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.4.3 (using c:/Qt/4.4.3/bin/qmake.exe)
-- Found Perl: C:/Perl/bin/perl.exe
CMake Error at C:/KDE/share/apps/cmake/modules/FindKDE4Internal.cmake:323 (message):
  Your version of automoc4 is too old.  You have 0.9.83, you need at least
  0.9.87
Call Stack (most recent call first):
  C:/KDE/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
  CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
mingw32-make: *** [all] Error 1


But, my version of automoc4 is 0.9.87:

Code: Select all
$ automoc --version
automoc4 0.9.87


Why??
User avatar
Brandon
Moderator
Posts
72
Karma
0
OS

RE: Problem with automoc4

Thu Jan 01, 2009 11:17 pm
look with cmake-gui the value of AUTOMOC4_CONFIG_FILE in the same directory there is a Automoc4Version.cmake, maybe you have the wrong files there


Brandon, proud to be a member of KDE forums since 2008-Oct.
montoya
Registered Member
Posts
3
Karma
0
OS

RE: Problem with automoc4

Fri Jan 02, 2009 12:15 am
Brandon wrote:look with cmake-gui the value of AUTOMOC4_CONFIG_FILE in the same directory there is a Automoc4Version.cmake, maybe you have the wrong files there


I have:
1) installed correct MinGW version (see http://digikam3rdparty.free.fr/misc.tar ... nGW5.1.4ok )
2) recompiled automoc4

Code: Select all
$ make
[100%] Building CXX object CMakeFiles/automoc4.dir/kde4automoc.obj
Linking CXX executable automoc4.exe
[100%] Built target automoc4

fra@PC-fra /cygdrive/c/KDE/src/automoc-mingw-0.9.87-1/build
$ make install
[100%] Built target automoc4
Install the project...
-- Install configuration: ""
-- Installing: C:/KDE/bin/automoc4.exe
-- Installing: C:/KDE/lib/automoc4/Automoc4Config.cmake
-- Installing: C:/KDE/lib/automoc4/Automoc4Version.cmake
-- Installing: C:/KDE/lib/automoc4/automoc4.files.in


The directory "C:/KDE/lib/automoc4" is missing in a default installation with kdewin-installer...


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Sogou [Bot]