Code: Select all
cmake . -DDISTRO=ubuntu -DCMAKE_INSTALL_PREFIX=/usr
So I installed "libqt4-dev" package to resolve it.CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_INCLUDE_DIR
QT_QTCORE_LIBRARY QT_QTDBUS_INCLUDE_DIR QT_QTDBUS_LIBRARY
QT_QTNETWORK_INCLUDE_DIR QT_QTNETWORK_LIBRARY QT_QTGUI_INCLUDE_DIR
QT_QTGUI_LIBRARY QT_QTOPENGL_INCLUDE_DIR QT_QTOPENGL_LIBRARY
QT_UIC_EXECUTABLE)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindQt4.cmake:1162 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:8 (find_package)
Calling cmake again, I ran into another error:
So I installed the package "libbluetooth-dev" and called cmake again - with a successful compile!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:
BLUETOOTH_LIBRARIES (ADVANCED)