RGBD SLAM v2 Build error
HI,
I was trying to modify everything possible to make the RGBDSLAM_v2 package run in ROS Indigo on Ubuntu 14.04 . However I am getting error on catkin_make. Please help with the approach to debug this. I have qt4-* installed. The error is as follows:
***/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:976: undefined reference to `QIcon::QIcon()'
CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QString':
/usr/include/qt4/QtCore/qstring.h:419: undefined reference to `QString::fromAscii_helper(char const*, int)'
CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::createMenus()':
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:976: undefined reference to `QIcon::fromTheme(QString const&, QIcon const&)'
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:976: undefined reference to `QIcon::~QIcon()'
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:976: undefined reference to `QIcon::~QIcon()'
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:976: undefined reference to `QIcon::~QIcon()'
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:976: undefined reference to `QIcon::~QIcon()'
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:857: undefined reference to `QIcon::~QIcon()'
CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QString':
/usr/include/qt4/QtCore/qstring.h:419: undefined reference to `QString::fromAscii_helper(char const*, int)'
CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QString::operator+=(char const*)':
/usr/include/qt4/QtCore/qstring.h:441: undefined reference to `QString::fromAscii(char const*, int)'
/usr/include/qt4/QtCore/qstring.h:441: undefined reference to `QString::append(QString const&)'
/usr/include/qt4/QtCore/qstring.h:441: undefined reference to `QString::fromAscii(char const*, int)'
/usr/include/qt4/QtCore/qstring.h:441: undefined reference to `QString::append(QString const&)'
CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setup()':
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:100: undefined reference to `QLabel::QLabel(QString const&, QWidget*, QFlags<Qt::WindowType>)'
CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QString':
/usr/include/qt4/QtCore/qstring.h:419: undefined reference to `QString::fromAscii_helper(char const*, int)'
CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QString::operator+=(char const*)':
/usr/include/qt4/QtCore/qstring.h:441: undefined reference to `QString::fromAscii(char const*, int)'
/usr/include/qt4/QtCore/qstring.h:441: undefined reference to `QString::append(QString const&)'
/usr/include/qt4/QtCore/qstring.h:441: undefined reference to `QString::fromAscii(char const*, int)'
/usr/include/qt4/QtCore/qstring.h:441: undefined reference to `QString::append(QString const&)'
CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setup()':
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:107: undefined reference to `QLabel::QLabel(QString const&, QWidget*, QFlags<Qt::WindowType>)'
CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::tr(char const*, char const*)':
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.h:53: undefined reference to `QMetaObject::tr(char const*, char const*) const'
CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setup()':
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:110: undefined reference to `QLabel::QLabel(QString const&, QWidget*, QFlags<Qt::WindowType>)'
/home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp ...
I am having the same problem. Installing Qt Creator to the latest version didn't solve the problem