Menu

rkward-0.5.0d: "QT4_AUTOMOC" cmake problem

Help
intelligo
2009-05-17
2013-01-15
  • intelligo

    intelligo - 2009-05-17

    I'm running openSUSE 11.1 32-bit with KDE 4.1.3 and cmake 2.6 patch 2.

    When I run cmake within-source with the following command:

    cmake -Wno-dev rkward/

    I get the following error:

    CMake Error at dataeditor/CMakeLists.txt:19 (QT4_AUTOMOC):
      Unknown CMake command "QT4_AUTOMOC".

    -- Configuring incomplete, errors occurred!

    The -Wno-dev option makes no difference.

    I have what I believe to be the necessary libraries and dependencies.  Moreover, I looked in the datafiles directory and there is no CMakeLists.txt file there.  The CMakesList.txt file in the rkward-0.5.0d directory does not contain the QT4-AUTOMOC command.

    What's the matter?

     
    • Thomas Friedrichsmeier

      If you really want to use a within-source build, you need to start one directory higher:
         cmake [options] .

      However, the recommended approach is really these steps:

      tar -xvzf rkward-[version].tar.gz
      cd rkward-[version]
      mkdir build; cd build
      cmake [options] ..
      make
      sudo make install

      See also http://p.sf.net/rkward/compiling .

      Regards
      Thomas

       
MongoDB Logo MongoDB