Re: cmake fails

FYI, I got cmake to finish. Ugly hack that made it work:

cmake
-DCMAKE_TOOLCHAIN_DIR=…/cmake/Toolchains/arm_cortex_a8_native.cmake
-DENABLE_GRC=OFF -DENABLE_GR_QTGUI=OFF
-DQT_QTCORE_INCLUDE_DIR=/usr/include/qt4/QtCore
-DQT_QTGUI_INCLUDE_DIR=/usr/include/qt4/QtGui …/

Sean

From: Nowlan, Sean
Sent: Tuesday, November 08, 2011 11:28 PM
To: [email protected]
Subject: cmake fails

I’m getting the following error running “cmake
-CMAKE_TOOLCHAIN_DIR=…/cmake/Toolchains/arm_cortex_a8_native.cmake
-DENABLE_GRC=OFF -DENABLE_GR_QTGUI=OFF …/” with a gnuradio git tree
fetched today:

CMake Error: The following variables are used in this project, but they
are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
QT_QTCORE_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/root/gnuradio/gr-qtgui
QT_QTGUI_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/root/gnuradio/gr-qtgui

This error first occurred without specifying -DENABLE_GR_QTGUI=OFF;
gr-qtgui was disabled anyway due to a missing dependency for qt4. Even
after explicitly specifying that flag, cmake is still using those
variables for some reason.

Thanks,
Sean