Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all 417 articles
Browse latest View live

RGBD SLAM v2 Build error

$
0
0
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)' 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)' 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)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:113: undefined reference to `QLabel::QLabel(QString const&, QWidget*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:116: undefined reference to `QSplitter::QSplitter(Qt::Orientation, QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:117: undefined reference to `QSplitter::addWidget(QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:118: undefined reference to `QSplitter::addWidget(QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:119: undefined reference to `QSplitter::addWidget(QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:120: undefined reference to `QSplitter::addWidget(QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:124: undefined reference to `QSplitter::QSplitter(Qt::Orientation, QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:125: undefined reference to `QMainWindow::setCentralWidget(QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:130: undefined reference to `QSplitter::addWidget(QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:133: undefined reference to `QSplitter::addWidget(QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:139: undefined reference to `QWidget::setMinimumSize(int, int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QWidget::resize(int, int)': /usr/include/qt4/QtGui/qwidget.h:1015: undefined reference to `QWidget::resize(QSize const&)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::Graphical_UI()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:37: undefined reference to `QMainWindow::QMainWindow(QWidget*, QFlags)' 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 `QMap': /usr/include/qt4/QtCore/qmap.h:182: undefined reference to `QMapData::shared_null' 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::Graphical_UI()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:40: undefined reference to `QWidget::setWindowTitle(QString const&)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:37: undefined reference to `QMainWindow::~QMainWindow()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::Graphical_UI(QString)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:43: undefined reference to `QMainWindow::QMainWindow(QWidget*, QFlags)' 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 `QMap': /usr/include/qt4/QtCore/qmap.h:182: undefined reference to `QMapData::shared_null' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::Graphical_UI(QString)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:46: undefined reference to `QWidget::setWindowTitle(QString const&)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:43: undefined reference to `QMainWindow::~QMainWindow()' 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 `QString': /usr/include/qt4/QtCore/qstring.h:419: undefined reference to `QString::fromAscii_helper(char const*, int)' /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::toggleScreencast(bool)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:331: undefined reference to `QFileDialog::getSaveFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:333: undefined reference to `QString::toLocal8Bit() const' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `~QByteArray': /usr/include/qt4/QtCore/qbytearray.h:401: undefined reference to `qFree(void*)' 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::toggleScreencast(bool)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:335: undefined reference to `QMainWindow::statusBar() const' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:335: undefined reference to `QStatusBar::showMessage(QString const&, int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setParam(QString)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:390: undefined reference to `QString::toLocal8Bit() const' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `~QByteArray': /usr/include/qt4/QtCore/qbytearray.h:401: undefined reference to `qFree(void*)' 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::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::setParam(QString)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:395: undefined reference to `QInputDialog::getText(QWidget*, QString const&, QString const&, QLineEdit::EchoMode, QString const&, bool*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:397: undefined reference to `QString::toLocal8Bit() const' 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::setParam(QString)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:405: undefined reference to `QInputDialog::getInt(QWidget*, QString const&, QString const&, int, int, int, int, bool*, QFlags)' 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::setParam(QString)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:415: undefined reference to `QInputDialog::getDouble(QWidget*, QString const&, QString const&, double, double, double, int, bool*, QFlags)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QList': /usr/include/qt4/QtCore/qlist.h:121: undefined reference to `QListData::shared_null' 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)' /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::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::setParam(QString)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:427: undefined reference to `QInputDialog::getItem(QWidget*, QString const&, QString const&, QStringList const&, int, bool, bool*, QFlags)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `qStringComparisonHelper': /usr/include/qt4/QtCore/qstring.h:919: undefined reference to `QString::codecForCStrings' /usr/include/qt4/QtCore/qstring.h:919: undefined reference to `QString::fromAscii(char const*, int)' /usr/include/qt4/QtCore/qstring.h:919: undefined reference to `QString::operator==(QString const&) const' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QString::operator==(char const*) const': /usr/include/qt4/QtCore/qstring.h:921: undefined reference to `QString::operator==(QLatin1String const&) const' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QList': /usr/include/qt4/QtCore/qlist.h:121: undefined reference to `QListData::shared_null' 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::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' /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::setParam()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:457: undefined reference to `QInputDialog::getItem(QWidget*, QString const&, QString const&, QStringList const&, int, bool, bool*, QFlags)' 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::setLabelToImage(QLabel*, QImage)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:169: undefined reference to `QImage::size() const' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:169: undefined reference to `QWidget::setMaximumHeight(int)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:170: undefined reference to `QImage::size() const' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:170: undefined reference to `QWidget::setMinimumHeight(int)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:172: undefined reference to `QLabel::setAlignment(QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:173: undefined reference to `QPixmap::fromImage(QImage const&, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:173: undefined reference to `QLabel::setPixmap(QPixmap const&)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:173: undefined reference to `QPixmap::~QPixmap()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:174: undefined reference to `QWidget::repaint()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:173: undefined reference to `QPixmap::~QPixmap()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setFeatureImage(QImage)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:179: undefined reference to `QImage::QImage(QImage const&)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:179: undefined reference to `QImage::~QImage()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:179: undefined reference to `QImage::~QImage()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setFeatureFlowImage(QImage)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:183: undefined reference to `QImage::QImage(QImage const&)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:183: undefined reference to `QImage::~QImage()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:183: undefined reference to `QImage::~QImage()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setVisualImage(QImage)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:187: undefined reference to `QImage::QImage(QImage const&)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:187: undefined reference to `QImage::~QImage()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:187: undefined reference to `QImage::~QImage()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setDepthImage(QImage)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:191: undefined reference to `QImage::QImage(QImage const&)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:191: undefined reference to `QImage::~QImage()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:191: undefined reference to `QImage::~QImage()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::showOptions()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:985: undefined reference to `QScrollArea::QScrollArea(QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:986: undefined reference to `QWidget::setMinimumWidth(int)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:987: undefined reference to `QWidget::QWidget(QWidget*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:988: undefined reference to `QWidget::setMinimumWidth(int)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:989: undefined reference to `QGridLayout::QGridLayout(QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:992: undefined reference to `QGridLayout::setVerticalSpacing(int)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:993: undefined reference to `QLayout::setContentsMargins(int, int, int, int)' 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::showOptions()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:994: undefined reference to `QLabel::QLabel(QString const&, QWidget*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:995: undefined reference to `QLabel::setAlignment(QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:996: undefined reference to `QLabel::setWordWrap(bool)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:997: undefined reference to `QWidget::setMinimumWidth(int)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:998: undefined reference to `QWidget::setMinimumHeight(int)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:999: undefined reference to `QGridLayout::addWidget(QWidget*, int, int, int, int, QFlags)' 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::showOptions()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1001: undefined reference to `QLabel::QLabel(QString const&, QWidget*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1002: undefined reference to `QGridLayout::addWidget(QWidget*, int, int, QFlags)' 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::showOptions()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1003: undefined reference to `QLabel::QLabel(QString const&, QWidget*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1004: undefined reference to `QGridLayout::addWidget(QWidget*, int, int, QFlags)' 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)' /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+=(QString const&)': /usr/include/qt4/QtCore/qstring.h:274: undefined reference to `QString::append(QString const&)' /usr/include/qt4/QtCore/qstring.h:274: undefined reference to `QString::append(QString const&)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::showOptions()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1031: undefined reference to `QLabel::QLabel(QString const&, QWidget*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1032: undefined reference to `QLabel::setTextFormat(Qt::TextFormat)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1033: undefined reference to `QFrame::setLineWidth(int)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1034: undefined reference to `QFrame::setFrameStyle(int)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1036: undefined reference to `QGridLayout::addWidget(QWidget*, int, int, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1039: undefined reference to `QFrame::QFrame(QWidget*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1040: undefined reference to `QWidget::setGeometry(QRect const&)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1041: undefined reference to `QFrame::setFrameShape(QFrame::Shape)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1042: undefined reference to `QFrame::setFrameShadow(QFrame::Shadow)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1043: undefined reference to `QGridLayout::addWidget(QWidget*, int, int, int, int, QFlags)' 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)' /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+=(QString const&)': /usr/include/qt4/QtCore/qstring.h:274: undefined reference to `QString::append(QString const&)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::showOptions()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1011: undefined reference to `QLabel::QLabel(QString const&, QWidget*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1012: undefined reference to `QLabel::setTextFormat(Qt::TextFormat)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1013: undefined reference to `QLabel::setAlignment(QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1014: undefined reference to `QGridLayout::addWidget(QWidget*, int, int, QFlags)' 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::showOptions()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1015: undefined reference to `QLabel::QLabel(QString const&, QWidget*, QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1016: undefined reference to `QLabel::setAlignment(QFlags)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1017: undefined reference to `QLabel::setWordWrap(bool)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1018: undefined reference to `QGridLayout::addWidget(QWidget*, int, int, int, int, QFlags)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QString': /usr/include/qt4/QtCore/qstring.h:879: undefined reference to `QString::shared_null' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QString::fromStdString(std::string const&)': /usr/include/qt4/QtCore/qstring.h:1048: undefined reference to `QString::fromAscii(char const*, int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::showOptions()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1025: undefined reference to `QString::number(int, int)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1027: undefined reference to `QString::number(double, char, int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QString::operator=(char const*)': /usr/include/qt4/QtCore/qstring.h:425: undefined reference to `QString::fromAscii(char const*, int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::showOptions()': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1047: undefined reference to `QWidget::setLayout(QLayout*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1048: undefined reference to `QScrollArea::setWidget(QWidget*)' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1050: undefined reference to `QWidget::raise()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1051: undefined reference to `QWidget::activateWindow()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1003: undefined reference to `QLabel::~QLabel()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1051: undefined reference to `QLabel::~QLabel()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1003: undefined reference to `QLabel::~QLabel()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:1051: undefined reference to `QLabel::~QLabel()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setStatus(QString)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:209: undefined reference to `QStatusBar::showMessage(QString const&, int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setInfo2(QString)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:213: undefined reference to `QWidget::repaint()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::setInfo(QString)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:217: undefined reference to `QWidget::repaint()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `Graphical_UI::toggleFullscreen(bool)': /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:465: undefined reference to `QWidget::showFullScreen()' /home/raman/catkin_ws/src/rgbdslam_v2/src/qt_gui.cpp:467: undefined reference to `QWidget::showNormal()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `~QString': /usr/include/qt4/QtCore/qstring.h:880: undefined reference to `QString::free(QString::Data*)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QList::free(QListData::Data*)': /usr/include/qt4/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QMap::freeData(QMapData*)': /usr/include/qt4/QtCore/qmap.h:655: undefined reference to `QMapData::continueFreeData(int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QList::free(QListData::Data*)': /usr/include/qt4/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QList::detach_helper_grow(int, int)': /usr/include/qt4/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QList::free(QListData::Data*)': /usr/include/qt4/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QList::append(int const&)': /usr/include/qt4/QtCore/qlist.h:530: undefined reference to `QListData::append()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QList::detach_helper_grow(int, int)': /usr/include/qt4/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `~QString': /usr/include/qt4/QtCore/qstring.h:880: undefined reference to `QString::free(QString::Data*)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QList::free(QListData::Data*)': /usr/include/qt4/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QList::append(QString const&)': /usr/include/qt4/QtCore/qlist.h:530: undefined reference to `QListData::append()' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QMap::detach_helper()': /usr/include/qt4/QtCore/qmap.h:755: undefined reference to `QMapData::createData(int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QMap::node_create(QMapData*, QMapData::Node**, int const&, QProgressBar* const&)': /usr/include/qt4/QtCore/qmap.h:453: undefined reference to `QMapData::node_create(QMapData::Node**, int, int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QMap::freeData(QMapData*)': /usr/include/qt4/QtCore/qmap.h:655: undefined reference to `QMapData::continueFreeData(int)' /usr/include/qt4/QtCore/qmap.h:655: undefined reference to `QMapData::continueFreeData(int)' CMakeFiles/rgbdslam.dir/src/qt_gui.o: In function `QMap::node_create(QMapData*, QMapData::Node**, int const&, QProgressBar* const&)': /usr/include/qt4/QtCore/qmap.h:453: undefined reference to `QMapData::node_create(QMapData::Node**, int, int)' CMakeFiles/rgbdslam.dir/src/features.o: In function `createDescriptorExtractor(std::string const&)': /home/raman/catkin_ws/src/rgbdslam_v2/src/features.cpp:107: undefined reference to `cv::SIFT::SIFT(int, int, double, double, double)' /home/raman/catkin_ws/src/rgbdslam_v2/src/features.cpp:122: undefined reference to `cv::SURF::SURF()' /home/raman/catkin_ws/src/rgbdslam_v2/src/features.cpp:119: undefined reference to `cv::SURF::SURF()' /home/raman/catkin_ws/src/rgbdslam_v2/src/features.cpp:132: undefined reference to `cv::SURF::SURF()' collect2: error: ld returned 1 exit status make[2]: *** [/home/raman/catkin_ws/devel/lib/rgbdslam/rgbdslam] Error 1 make[1]: *** [rgbdslam_v2/CMakeFiles/rgbdslam.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j4 -l4" failed***

Fix catkin workspace, can't launch newly compiled nodes

$
0
0
Hello I'm having issues running new modules, the compilation goes right but rosrun can't find the new nodes, i guess it's en environment issue, but as I'm a noob, it's just a guess :) I have the catkin ws under `~/ros_ws/`, in this folder i have my package pcltest, that have a single source file `src/pcltest_node.cpp` When i run catkin_make i can see the compilation having success: ... [100%] Building CXX object pcltest/CMakeFiles/pcltest_node.dir/src/pcltest_node.cpp.o Linking CXX executable pcltest_node [100%] Built target pcltest_node ... And I can find my binary compiled in `~/ros_ws/build/pcltest/pcltest_node` This is the output of `catkin_make install` -- Install configuration: "" -- Up-to-date: /home/cesare/ros_ws/install/_setup_util.py -- Up-to-date: /home/cesare/ros_ws/install/env.sh -- Up-to-date: /home/cesare/ros_ws/install/setup.bash -- Up-to-date: /home/cesare/ros_ws/install/setup.sh -- Up-to-date: /home/cesare/ros_ws/install/setup.zsh -- Up-to-date: /home/cesare/ros_ws/install/.rosinstall -- Up-to-date: /home/cesare/ros_ws/install/lib/pkgconfig/pcltest.pc -- Up-to-date: /home/cesare/ros_ws/install/share/pcltest/cmake/pcltestConfig.cmake -- Up-to-date: /home/cesare/ros_ws/install/share/pcltest/cmake/pcltestConfig-version.cmake -- Up-to-date: /home/cesare/ros_ws/install/share/pcltest/package.xml then usually I source `/home/cesare/ros_ws/install/setup.bash` but when i try to run the node with `rosrun pcltest xxx` i have an error, it looks like it's not copying the binary from the build to the install folder... what am I doing wrong ? ----- ----- ----- EDIT ----- ----- ----- I've tried to source `/home/cesare/ros_ws/devel/setup.bash` but it doesn't change much. In both the cases rosrun is able to find (and autocoplete) the package but it can't find che binary :( This is how it looks my 'devel/share' dir . └── pcltest └── cmake ├── pcltestConfig.cmake └── pcltestConfig-version.cmake This is the install/share dir . └── pcltest ├── cmake │   ├── pcltestConfig.cmake │   └── pcltestConfig-version.cmake └── package.xml This is the package in the build dir drwxrwxr-x 4 cesare cesare 4096 giu 18 10:46 . drwxrwxr-x 8 cesare cesare 4096 giu 18 10:47 .. drwxrwxr-x 4 cesare cesare 4096 giu 18 10:46 catkin_generated drwxrwxr-x 47 cesare cesare 4096 giu 18 10:46 CMakeFiles -rw-rw-r-- 1 cesare cesare 2280 giu 18 10:46 cmake_install.cmake -rw-rw-r-- 1 cesare cesare 277 giu 18 10:46 CTestTestfile.cmake -rw-rw-r-- 1 cesare cesare 41872 giu 18 10:46 Makefile -rwxrwxr-x 1 cesare cesare 466725 giu 18 10:46 pcltest_node CMakeList.txt cmake_minimum_required(VERSION 2.8.3) project(pcltest) find_package(catkin REQUIRED COMPONENTS pcl_ros roscpp rospy std_msgs ) #add_executable(pcltest src/pcltest.cpp) #in this position doesn't work :( catkin_package( ) include_directories( ${catkin_INCLUDE_DIRS} ) add_executable(pcltest src/pcltest.cpp) target_link_libraries(pcltest ${catkin_LIBRARIES} ) Thank you :)

Building cob_people_perception with catkin_make

$
0
0
Hi y'all, I am trying to do face detection and position measurement with the Kinect for Windows v2 sensor. I have successfully calibrated the kinect camera and I need to port cob_people_perception over to my kinect v2 but while running catkin_make, I stumbled upon the following error: -- +++ processing catkin package: 'cob_people_tracking_filter' -- ==> add_subdirectory(cob_people_perception/cob_people_tracking_filter) -- Using these message generators: gencpp;genlisp;genpy CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package): Could not find a package configuration file provided by "cob_perception_msgs" with any of the following names: cob_perception_msgsConfig.cmake cob_perception_msgs-config.cmake Add the installation prefix of "cob_perception_msgs" to CMAKE_PREFIX_PATH or set "cob_perception_msgs_DIR" to a directory containing one of the above files. If "cob_perception_msgs" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): cob_people_perception/cob_people_tracking_filter/CMakeLists.txt:20 (find_package) I'm wondering what I am missing?

Why catkin_make doesnt create new executables

$
0
0
Hi there, I am trying to create a new ROS package, but when I try to build it, it doesnt show that red line that says Linking CXX executable /home/edrone/catkin_ws/devel/lib/stream/stream_node Then, it doesnt create the executable. The curious thing is that it worked before, I have created several packages, and when I change something in the cpp file in those packages, it shows that line. but now i dont know what is going on with this new package. Here is my CMakeList.txt: cmake_minimum_required(VERSION 2.8.3) project(camshift_drone) find_package(catkin REQUIRED COMPONENTS ardrone_autonomy cv_bridge geometry_msgs image_transport roscpp sensor_msgs std_msgs tf ) catkin_package() include_directories( ${catkin_INCLUDE_DIRS} ) add_executable(camshift_drone_node src/camshift_drone_node.cpp) target_link_libraries(camshift_drone_node ${catkin_LIBRARIES} ) Also, I have tried the solution of putting this line on the terminal, in my home folder, in the catkin workspace folder, but it hasnt worked. . ~/catkin_ws/devel/setup.bash I hope somebody can help me, Thanks!

catkin_make error invoking j8 -8

$
0
0
when i run catkin_make i get the following error: invoking "make -j8 -l8"failed. can someone help? This is what i get when i run catkin_make. I am very new to Ros Generating dynamic reconfigure files from cfg/GeneralIO.cfg: /home/hand/workspace/devel/include/sr_ronex_drivers/GeneralIOConfig.h /home/hand/workspace/devel/lib/python2.7/dist-packages/sr_ronex_drivers/cfg/GeneralIOConfig.py Generating dynamic reconfigure files from cfg/SPI.cfg: /home/hand/workspace/devel/include/sr_ronex_drivers/SPIConfig.h /home/hand/workspace/devel/lib/python2.7/dist-packages/sr_ronex_drivers/cfg/SPIConfig.py ../../catkin_generated/env_cached.sh: 16: exec: /home/hand/workspace/src/sr-ronex-indigo-devel/sr_ronex_drivers/cfg/GeneralIO.cfg: Permission denied make[2]: *** [/home/hand/workspace/devel/include/sr_ronex_drivers/GeneralIOConfig.h] Error 126 make[2]: *** Waiting for unfinished jobs.... ../../catkin_generated/env_cached.sh: 16: exec: /home/hand/workspace/src/sr-ronex-indigo-devel/sr_ronex_drivers/cfg/SPI.cfg: Permission denied make[2]: *** [/home/hand/workspace/devel/include/sr_ronex_drivers/SPIConfig.h] Error 126 make[1]: *** [sr-ronex-indigo-devel/sr_ronex_drivers/CMakeFiles/sr_ronex_drivers_gencfg.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 5%] [ 5%] Built target sr_ronex_transmissions [ 5%] Built target gtest [ 5%] Built target nav_msgs_generate_messages_cpp Built target nav_msgs_generate_messages_py [ 5%] Built target nav_msgs_generate_messages_lisp [ 5%] Built target _sr_edc_ethercat_drivers_generate_messages_check_deps_ActuatorInfo [ 5%] Built target _sr_edc_ethercat_drivers_generate_messages_check_deps_MotorTrace

DDS on ROS osrf prototype

$
0
0
Hi everybody. At the moment I'm trying do build a DDS implementation on ROS. The only code I found about it was the https://github.com/osrf/ros_dds . I've build the cpp example and it worked, but when I want to build the prototype, the catkin_make is not working ***DDS parse error DDS undefined at line: 27 (searching from scope 'Time_') make[2]: *** [~/ros_dds/ros_dds-master/prototype/devel/include/std_msgs/dds_impl/Time_.h] Error 255 make[1]: *** [ros-packages/std_msgs/CMakeFiles/std_msgs_generate_messages_idlcpp.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 7%] Built target actionlib_msgs_generate_messages_cpp [ 7%] Built target diagnostic_msgs_generate_messages_idl [ 7%] Built target diagnostic_msgs_generate_messages_cpp make: *** [all] Error 2 Invoking "make" failed Is there any solution for this? Is there any other prototype or developed thing? I don't want to wait until ROS2 is released :)

Install hector quadrotor on ROS Jade

$
0
0
I tried compiling the hector quadrotor files as according to the instructions given in the tutorials for hector quadrotor on the ROS page but the instruction catkin_make gives an Cmake Error! how do i overcome this? Update: The CMake Error : CMake Error at /opt/ros/jade/share/catkin/cmake/catkinConfig.cmake:75 (find_package): Could not find a package configuration file provided by "hardware_interface" with any of the following names: hardware_interfaceConfig.cmake hardware_interface-config.cmake Add the installation prefix of "hardware_interface" to CMAKE_PREFIX_PATH or set "hardware_interface_DIR" to a directory containing one of the above files. If "hardware_interface" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): hector_quadrotor/hector_quadrotor_controller/CMakeLists.txt:7 (find_package) -- Configuring incomplete, errors occurred!

catkin_make, invoking CMake error in Raspberry pi 2

$
0
0
Hello. I just installed ROS indigo on my raspberry pi 2 (with the most recent version of Raspbian). I followed installration guide at ROS wiki. (http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi#Create_a_catkin_Workspace) After all installation steps, except '3.1 Updating the workspace' chapter, I saw that my turtle moved by my arrow keys. However, when I tried to use 'catkin_make' command at my catkin workspace folder, CMake error occured. Following is the error message. CMake Error at catkin/cmake/catkin_workspace.cmake:95 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead. Call Stack (most recent call first): CmakeLists.txt:63 (catkin_workspace) --Configuring incomplete, errors occured! Inovking "cmake" failed One of my college succesfully built catkin workspace with 'catkin_make' command, but he don't remember how he done that. Do I have to use catkin_make_isolated command instead of catkim_make all the time, while I use ROS at Raspberry pi2 with raspbian? I'm not familiar with Linux, so it would be great thanks to teach me why does this cmake error happen.

writing a custom message and using it in a different package

$
0
0
first of all, I have gone through these links, so it is not a repeat question: - http://wiki.ros.org/ROS/Tutorials/DefiningCustomMessages - http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv#Creating_a_msg - http://answers.ros.org/question/31779/how-to-use-a-message-that-i-made/ - http://answers.ros.org/question/62092/catkin_make-started-failing-to-generate-h-from-msg/ - http://answers.ros.org/question/52744/how-to-specify-dependencies-with-foo_msgs-catkin-packages/ - http://answers.ros.org/question/62707/jenkins-fails-to-build-with-no-such-file-or-directory/ and i tried all of these solutions, but they did not help me. The question is.. I have created a msg folder in package 'A'. wrote hello.msg in that 'msg' folder. I followed this tutorial: http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv#Creating_a_msg and catkin_make worked fine here. I now created a new package 'B' , has a node 'helpme.cpp' and in that I have written `#include "A/hello.h"` and I defined A::hello left,right; left.myheight = image.rows; left.mywidth = image.cols; .....in the callback function and when I do `catkin_make`, it says.. /home/krish/architecture_ws/src/rectifier/src/camera_timestamp_node.cpp:276:6: error: ‘const ImageConstPtr’ has no member named ‘mywidth’ /home/krish/architecture_ws/src/rectifier/src/camera_timestamp_node.cpp:277:6: error: ‘const ImageConstPtr’ has no member named ‘myheight’ pls tell me what changes should I make in `CMakeLists.txt` and `package.xml` in the packages A and B.

preprocessor errors of catkin_make

$
0
0
Dear ALL Recently I want to transplant an old version code to Ubuntu 14.04 with ROS Indigo. But when I catkin_make the old code, there are many preprocessor errors like: In file included from /usr/include/math.h:32:0, from /usr/include/c++/4.8/cmath:44, from /usr/include/c++/4.8/complex:44, from /usr/include/eigen3/Eigen/Core:28, from /usr/include/eigen3/Eigen/Dense:1, from /home/cheng/catkin_ws/src/pioneer_neo/neo_3dlabelling/src/include/generic_utils.h:4, from /home/cheng/catkin_ws/src/pioneer_neo/neo_3dlabelling/./src/include/features.h:20, from /usr/include/x86_64-linux-gnu/c++/4.8/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h:426, from /usr/include/c++/4.8/cstddef:41, from /usr/include/boost/config/select_stdlib_config.hpp:18, from /usr/include/boost/config.hpp:40, from /usr/include/boost/cstdint.hpp:36, from /usr/include/pcl-1.7/pcl/pcl_macros.h:41, from /usr/include/pcl-1.7/pcl/point_types.h:42, from /home/cheng/catkin_ws/src/pioneer_neo/neo_3dlabelling/src/include/point_types.h:19, from /home/cheng/catkin_ws/src/pioneer_neo/neo_3dlabelling/src/include/global_define.h:19, from /home/cheng/catkin_ws/src/pioneer_neo/neo_3dlabelling/src/graeae.cpp:16: /usr/include/x86_64-linux-gnu/bits/huge_val.h:26:18: error: missing binary operator before token "(" #if __GNUC_PREREQ(3,3) ^ /usr/include/x86_64-linux-gnu/bits/huge_val.h:28:20: error: missing binary operator before token "(" #elif __GNUC_PREREQ(2,96) I am just a new beginner and I google many websites. But I still did not find the solution. Could anyone give me some suggestions? Thank you so much! Henry

catkin_package() include dir 'include' does not exist

$
0
0
I am trying to install **viso2_ros** package from [here](http://wiki.ros.org/viso2_ros), when I encounter the following error while I **catkin_make** CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:296 (message): catkin_package() include dir 'include' does not exist relative to '/home/tonystark/vision_odometry/src/dlut_smartrob/dlut_motor_hokuyo' Call Stack (most recent call first): /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package) dlut_smartrob/dlut_motor_hokuyo/CMakeLists.txt:50 (catkin_package) -- Configuring incomplete, errors occurred! See also "/home/tonystark/vision_odometry/build/CMakeFiles/CMakeOutput.log". See also "/home/tonystark/vision_odometry/build/CMakeFiles/CMakeError.log". Can you please tell me how I can solve this? Thanks in advance. If the way am installing is wrong, can you please point me towards the correct direction?

Failed to build razor_imu_9dof

$
0
0
Hi, I'm trying to build my catkin workspace on ROS Indigo, it used to build fine, but now the package razor_imu_9dof fail to build. I don't get why. The only thing I temember I did is to install some Android/Java SDK sofware and add a few lines in my .bahrc file. Here is the output of my terminal : dcx@dcx-M4700:~/catkin_ws$ catkin_make --pkg razor_imu_9dof Base path: /home/dcx/catkin_ws Source space: /home/dcx/catkin_ws/src Build space: /home/dcx/catkin_ws/build Devel space: /home/dcx/catkin_ws/devel Install space: /home/dcx/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/dcx/catkin_ws/build" #### #### #### Running command: "make -j8 -l8" in "/home/dcx/catkin_ws/build/razor_imu_9dof" #### [ 0%] Built target std_msgs_generate_messages_lisp [ 0%] Built target std_msgs_generate_messages_cpp [ 0%] [ 14%] Built target std_msgs_generate_messages_py Generating Java gradle project from razor_imu_9dof [ 14%] Built target _razor_imu_9dof_generate_messages_check_deps_RazorImu [ 28%] [ 57%] [ 71%] Built target razor_imu_9dof_generate_messages_lisp Built target razor_imu_9dof_generate_messages_py Generating Java gradle project from razor_imu_9dof [ 85%] Built target razor_imu_9dof_generate_messages_cpp Traceback (most recent call last): File "/opt/ros/indigo/share/genjava/cmake/../../../lib/genjava/genjava_gradle_project.py", line 14, in genjava.main(sys.argv) File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/genjava_main.py", line 82, in main gradle_project.create(args.package, args.output_dir) File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/gradle_project.py", line 152, in create raise IOError("could not find %s on the ros package path" % msg_pkg_name) IOError: could not find razor_imu_9dof on the ros package path make[2]: *** [razor_imu_9dof/java/razor_imu_9dof/build.gradle] Error 1 make[1]: *** [razor_imu_9dof/CMakeFiles/razor_imu_9dof_generate_messages_java_gradle.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "/opt/ros/indigo/share/genjava/cmake/../../../lib/genjava/genjava_gradle_project.py", line 14, in genjava.main(sys.argv) File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/genjava_main.py", line 82, in main gradle_project.create(args.package, args.output_dir) File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/gradle_project.py", line 152, in create raise IOError("could not find %s on the ros package path" % msg_pkg_name) IOError: could not find razor_imu_9dof on the ros package path make[2]: *** [razor_imu_9dof/java/razor_imu_9dof/build.gradle] Error 1 make[1]: *** [razor_imu_9dof/CMakeFiles/razor_imu_9dof_generate_messages_java.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j8 -l8" failed If I do rospack find razor_imu_9dof, it finds it well. I tried delete all the generated files in build and devel folders, but still the same issue. The package razor_imu_9dof works fine in fact as it's just two python scripts, but the build fail which is annoying. Any idea how to solve this ?

catkin_make hector_costmap with undefined reference Error

$
0
0
Hello , I run indigo in Ubuntu14.04 LTS. When I catkin_make it , I get some problems. CMakeFiles/hector_costmap.dir/src/hector_costmap.cpp.o: In function `cv::String::String(char const*)': hector_costmap.cpp:(.text._ZN2cv6StringC2EPKc[_ZN2cv6StringC5EPKc]+0x3d): undefined reference to `cv::String::allocate(unsigned int)' CMakeFiles/hector_costmap.dir/src/hector_costmap.cpp.o: In function `cv::String::~String()': hector_costmap.cpp:(.text._ZN2cv6StringD2Ev[_ZN2cv6StringD5Ev]+0xd): undefined reference to `cv::String::deallocate()' CMakeFiles/hector_costmap.dir/src/hector_costmap.cpp.o: In function `cv::Mat::Mat(int, int, int, void*, unsigned int)': hector_costmap.cpp:(.text._ZN2cv3MatC2EiiiPvj[_ZN2cv3MatC5EiiiPvj]+0x17b): undefined reference to `cv::error(int, cv::String const&, char const*, char const*, int)' collect2: error: ld returned 1 exit status make[2]: *** [/home/exbot/hector/devel/lib/hector_costmap/hector_costmap] Error 1 make[1]: *** [hector_navigation/hector_costmap/CMakeFiles/hector_costmap.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j4 -l4" failed My opencv is 3.0.0beta. I wonder if this is the problem. Thanks first!

Catkin_make error: virtual memory exhausted: Cannot allocate memory

$
0
0
Relative noob having enough knowledge to get into trouble.... Attempting to compile robot_localization package (along with a couple of drivers- ublox gps and christa imu). Goes along fine at first: #### Running command: "make cmake_check_build_system" in "/media/sdcard/catkin_ws/build" #### #### #### Running command: "make -j1 -l1" in "/media/sdcard/catkin_ws/build" #### [ 1%] Built target filter_utilities [ 1%] Built target _robot_localization_generate_messages_check_deps_SetDatum [ 1%] Built target geometry_msgs_generate_messages_cpp [ 1%] Built target std_msgs_generate_messages_cpp [ 1%] Built target _robot_localization_generate_messages_check_deps_SetPose [ 1%] Built target geographic_msgs_generate_messages_cpp [ 2%] Built target robot_localization_generate_messages_cpp [ 2%] Built target robot_localization_gencpp [ 3%] Built target filter_base [ 3%] Built target ekf [ 4%] Built target ros_filter_utilities [ 5%] Built target ukf [ 5%] Building CXX object robot_localization/CMakeFiles/ros_filter.dir/src/ros_filter.cpp.o In file included from /opt/ros/indigo/include/ros/ros.h:40:0, from /opt/ros/indigo/include/tf2_ros/buffer.h:38, ################################################################# Then fails at the very end of the compilation: ^ /opt/ros/indigo/include/rosconsole/macros_generated.h:60:36: note: in expansion of macro ‘ROS_LOG’ #define ROS_DEBUG_NAMED(name, ...) ROS_LOG(::ros::console::levels::Debug, std::string(ROSCONSOLE_NAME_PREFIX) + "." + name, __VA_ARGS__) ^ /opt/ros/indigo/include/tf2_ros/message_filter.h:53:3: note: in expansion of macro ‘ROS_DEBUG_NAMED’ ROS_DEBUG_NAMED("message_filter", "MessageFilter [target=%s]: ", fmt, getTargetFramesString().c_str(), __VA_ARGS__) ^ /opt/ros/indigo/include/tf2_ros/message_filter.h:282:5: note: in expansion of macro ‘TF2_ROS_MESSAGEFILTER_DEBUG’ TF2_ROS_MESSAGEFILTER_DEBUG("%s", "Cleared"); ^ virtual memory exhausted: Cannot allocate memory make[2]: *** [robot_localization/CMakeFiles/ros_filter.dir/src/ros_filter.cpp.o] Error 1 make[1]: *** [robot_localization/CMakeFiles/ros_filter.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j1 -l1" failed ubuntu@arm:/media/sdcard/catkin_ws$ ############################# This is being performed on a Beaglebone Black with: Linux arm 4.1.1-ti-r2 #1 SMP PREEMPT Wed Jul 8 18:40:57 UTC 2015 armv7l armv7l armv7l GNU/Linux I am out of ideas now. There should be plenty of memory: ubuntu@arm:/media/sdcard/catkin_ws$ free total used free shared buffers cached Mem: 502088 43824 458264 380 3104 9768 -/+ buffers/cache: 30952 471136 Swap: 0 0 0 Any ideas are gratefully accepted! Perhaps this is too much for this board/sd card mix? (sd card is vfat FAT32) Thanks in advance, B2256 ---------- Thank you allenh1. It seems that I was also able to find an answer based upon the swap file solution while waiting for answers. Other BBB users may also try [this](http://charette.no-ip.com:81/programming/2015-06-07_BeagleBoneBlack/) for a similar solution. It turns out that allenh1's point of the BBB only having 512MB is well founded and that "anything non-trivial will fail to compile with an out-of-memory error" according to the second source. Compiling was slow as noted, but appears to work aside from a clock skew warning. Thank you all again.

roslaunch can't find launch files with "catkin build"

$
0
0
If I use "catkin_make" to build my workspace, and re-source my bashrc, then roslaunch is able to find my launch files and the nodes launch just fine. If I do a "cakin clean -a" and a "cakin build," and re-source my bashrc, roslaunch can't autocomplete my launch files, or run any of the nodes in my workspace. Here are the ROS related lines from my .bashrc: export ROS_HOSTNAME=localhost export ROS_MASTER_URI=http://localhost:11311 export ROS_ROOT=/opt/ros/indigo export PATH=/opt/ros/indigo/bin:$PATH source /opt/ros/indigo/setup.bash source ~/catkin_ws/devel/setup.bash export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/indigo/lib The difference in my environment is only in the ROS_PACKAGE_PATH variable: with catkin tools ("catkin make"): ROS_PACKAGE_PATH=/home/awagner/catkin_ws/install/share:/home/awagner/catkin_ws/install/stacks:/home/awagner/catkin_ws/src/image_retriever:/home/awagner/catkin_ws/src/ros-indigo-openni2-camera-0.2.4:/home/awagner/catkin_ws/src/bear_detector:/opt/ros/indigo/share:/opt/ros/indigo/stacks with catkin_make: ROS_PACKAGE_PATH=/home/awagner/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks so catkin tools is appending ROS_PACKAGE_PATH with all of the subdirectories of my packages, rather than just the parent package. Is this just a bug in the newer "python-catkin-tools" catkin front-end? Anyone else running into this? $ rospack profile Full tree crawl took 0.018942 seconds. Directories marked with (*) contain no manifest. You may want to delete these directories. To get just of list of directories without manifests, re-run the profile with --zombie-only ------------------------------------------------------------- 0.015500 /opt/ros/indigo/share 0.001762 /home/awagner/catkin_ws/install/share 0.000158 * /home/awagner/catkin_ws/install/share/libautocalib 0.000139 * /home/awagner/catkin_ws/install/share/libplanview 0.000066 * /home/awagner/catkin_ws/install/share/bearvis 0.000042 * /home/awagner/catkin_ws/install/share/libautocalib/data 0.000027 * /home/awagner/catkin_ws/install/share/libdmd 0.000026 * /home/awagner/catkin_ws/install/share/libpdetect 0.000025 * /opt/ros/indigo/share/doc 0.000023 * /home/awagner/catkin_ws/install/share/libplanview/data 0.000023 * /home/awagner/catkin_ws/install/share/libbeardetect 0.000023 * /home/awagner/catkin_ws/install/share/libdepthio 0.000005 * /opt/ros/indigo/share/doc/liborocos-kdl My version of catkin tools: $ apt-cache show python-catkin-tools Package: python-catkin-tools Version: 0.3.0-1 I am running ROS Indigo on Ubuntu 14.04

catkin_make builds executable in the wrong directory?

$
0
0
Hello! I have a package I have been able to successfully build using catkin_make after setting up my package.xml and CMakeLists.txt. However, I have one problem. When I run catkin_make, it successfully makes the executable, but places the executable in catkin_ws/build/package_name. For example, I have made a small example below (**tbrandom and tbsub are my executables**): may@MooMoo:~/Desktop/Tree/Programming/ros/TurtleBotRandom$ ls build devel src may@MooMoo:~/Desktop/Tree/Programming/ros/TurtleBotRandom$ cd build may@MooMoo:~/Desktop/Tree/Programming/ros/TurtleBotRandom/build$ ls catkin catkin_make.cache cmake_install.cmake Makefile catkin_generated CMakeCache.txt CTestTestfile.cmake test_results CATKIN_IGNORE CMakeFiles gtest turtle_bot_random may@MooMoo:~/Desktop/Tree/Programming/ros/TurtleBotRandom/build$ cd turtle_bot_random may@MooMoo:~/Desktop/Tree/Programming/ros/TurtleBotRandom/build/turtle_bot_random$ ls catkin_generated cmake_install.cmake Makefile tbsub CMakeFiles CTestTestfile.cmake tbrandom When I source the devel/setup.bash, and try to run the executable through the package, ROS cannot find the executable unless I copy the executable(s) made (in this example, tbrandom and tbsub) and copy them into `Desktop/Tree/Programming/ros/TurtleBotRandom/src/turtle_bot_random`. This is really annoying for bigger projects which require more compile time, and then require me to copy paste files in between to actually start testing to see if my code even works. What could be the reason or a potential fix? Am I doing something wrong? I've only started toying with catkin last night. MY CMAKELISTS.TXT FILE: http://www.pastebin.ca/3086592

catkin_make does not compile all packages in the workspace

$
0
0
I tried catkin_make from the workspace. It only finds one package in the workspace.. the rest dont get compiled. ~/catkin_ws$ catkin_make --force-cmake Base path: /home/venky/catkin_ws Source space: /home/venky/catkin_ws/src Build space: /home/venky/catkin_ws/build Devel space: /home/venky/catkin_ws/devel Install space: /home/venky/catkin_ws/install #### #### Running command: "cmake /home/venky/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/venky/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/venky/catkin_ws/install" in "/home/venky/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/venky/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/venky/catkin_ws/devel;/home/venky/moveit/devel;/opt/ros/indigo -- This workspace overlays: /home/venky/catkin_ws/devel;/home/venky/moveit/devel;/opt/ros/indigo -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/venky/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.9 -- BUILD_SHARED_LIBS is on WARNING: Package "ompl" does not follow the version conventions. It should not contain leading zeros (unless the number is 0). -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - fastmarching -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'fastmarching' -- ==> add_subdirectory(fastmarching_node) -- Using these message generators: gencpp;genlisp;genpy -- fastmarching: 5 messages, 0 services -- Configuring done -- Generating done -- Build files have been written to: /home/venky/catkin_ws/build #### #### Running command: "make -j8 -l8" in "/home/venky/catkin_ws/build" #### [ 0%] [ 0%] [ 0%] Built target std_msgs_generate_messages_py Built target std_msgs_generate_messages_lisp Built target std_msgs_generate_messages_cpp [ 0%] [ 0%] Built target _fastmarching_generate_messages_check_deps_pathFM Built target _fastmarching_generate_messages_check_deps_dims [ 0%] [ 14%] Built target fmm_coverage Built target _fastmarching_generate_messages_check_deps_InitAndGoal [ 28%] [ 28%] Built target fmm_coverage_navn Built target _fastmarching_generate_messages_check_deps_map [ 28%] Built target _fastmarching_generate_messages_check_deps_pathTurtlebot [ 42%] Built target test_nav_goals [100%] [ 96%] [100%] Built target fastmarching_generate_messages_py Built target fastmarching_generate_messages_lisp Built target fastmarching_generate_messages_cpp [100%] Built target fastmarching_generate_messages The rest of the packages don't get compiled. The ROS_PAKAGE PATH: ~/catkin_ws$ echo $ROS_PACKAGE_PATH /home/venky/catkin_ws/src:/home/venky/moveit/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks I am not even able to rosrun the executables which got compiled before. I am using ROS after a break, I believe it has something to do with installing move_it. ~/catkin_ws$ catkin_make --pkg robot_setup_tf Base path: /home/venky/catkin_ws Source space: /home/venky/catkin_ws/src Build space: /home/venky/catkin_ws/build Devel space: /home/venky/catkin_ws/devel Install space: /home/venky/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/venky/catkin_ws/build" #### #### #### Running command: "make -j8 -l8" in "/home/venky/catkin_ws/build/ua_ros_p3dx/robot_setup_tf" #### make[1]: *** No rule to make target `ua_ros_p3dx/robot_setup_tf/all'. Stop. make: *** [all] Error 2 Invoking "make" failed The output for rospack profile: $ rospack profile --length=2000 Full tree crawl took 0.032864 seconds. Directories marked with (*) contain no manifest. You may want to delete these directories. To get just of list of directories without manifests, re-run the profile with --zombie-only ------------------------------------------------------------- 0.019945 /opt/ros/indigo/share 0.010117 /home/venky/catkin_ws/src 0.004896 /home/venky/catkin_ws/src/navigation 0.002051 /home/venky/moveit/src 0.001361 /home/venky/catkin_ws/src/turtlebot_simulator 0.001351 /home/venky/catkin_ws/src/navigation_tutorials 0.000849 /home/venky/moveit/src/moveit_ros 0.000369 /home/venky/catkin_ws/src/ua_ros_p3dx 0.000294 /home/venky/catkin_ws/src/gazebo_ros_demos 0.000265 /home/venky/moveit/src/moveit_planners 0.000259 * /home/venky/moveit/src/moveit_docs 0.000200 /home/venky/moveit/src/moveit_plugins 0.000162 /home/venky/catkin_ws/src/husky_simulator 0.000146 * /home/venky/moveit/src/moveit_docs/webpage 0.000068 /home/venky/moveit/src/moveit_planners/chomp 0.000061 /home/venky/moveit/src/moveit_planners/sbpl 0.000038 * /opt/ros/indigo/share/doc 0.000029 * /opt/ros/indigo/share/man 0.000022 /home/venky/moveit/src/moveit_planners/sbpl/core 0.000022 /home/venky/moveit/src/moveit_planners/chomp/ros 0.000020 * /home/venky/moveit/src/moveit_docs/webpage/css 0.000019 /home/venky/moveit/src/moveit_planners/chomp/core 0.000018 * /home/venky/moveit/src/moveit_docs/diagram 0.000017 /home/venky/moveit/src/moveit_planners/sbpl/ros 0.000008 * /home/venky/moveit/src/moveit_docs/webpage/js 0.000008 * /home/venky/catkin_ws/src/Blender_map 0.000007 * /home/venky/moveit/src/moveit_docs/webpage/pdfs 0.000006 * /opt/ros/indigo/share/man/man1 0.000006 * /opt/ros/indigo/share/doc/liborocos-kdl 0.000004 * /home/venky/moveit/src/moveit_docs/dox 0.000004 * /home/venky/moveit/src/moveit_docs/webpage/images It detects the package also: $ rospack find robot_setup_tf /home/venky/catkin_ws/src/ua_ros_p3dx/robot_setup_tf Kindly help.

Invoking "make" failed

$
0
0
I'm using Ubuntu 12.04 & ROS Hydro. While going through this tutorial [here](http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28c%2B%2B%29) i encountered the following error upon typing: `catkin_make` asaad@VAIO:~/catkin_ws$ catkin_make Base path: /home/asaad/catkin_ws Source space: /home/asaad/catkin_ws/src Build space: /home/asaad/catkin_ws/build Devel space: /home/asaad/catkin_ws/devel Install space: /home/asaad/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/asaad/catkin_ws/build" #### #### #### Running command: "make -j4 -l4" in "/home/asaad/catkin_ws/build" #### [ 0%] [ 8%] Built target std_msgs_generate_messages_py [ 16%] [ 16%] Built target std_msgs_generate_messages_cpp Building CXX object begginer_tutorials/CMakeFiles/add_two_ints_server.dir/src/add_two_ints_server.cpp.o Building CXX object begginer_tutorials/CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.cpp.o [ 16%] Built target std_msgs_generate_messages_lisp [ 25%] Built target listener [ 33%] Built target talker [ 50%] Built target begginer_tutorials_generate_messages_cpp [ 83%] Built target begginer_tutorials_generate_messages_py [100%] Built target begginer_tutorials_generate_messages_lisp [100%] Built target begginer_tutorials_generate_messages /home/asaad/catkin_ws/src/begginer_tutorials/src/add_two_ints_server.cpp:2:43: fatal error: beginner_tutorials/AddTwoInts.h: No such file or directory compilation terminated. /home/asaad/catkin_ws/src/begginer_tutorials/src/add_two_ints_client.cpp:2:43: fatal error: beginner_tutorials/AddTwoInts.h: No such file or directory compilation terminated. make[2]: *** [begginer_tutorials/CMakeFiles/add_two_ints_server.dir/src/add_two_ints_server.cpp.o] Error 1 make[1]: *** [begginer_tutorials/CMakeFiles/add_two_ints_server.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** [begginer_tutorials/CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.cpp.o] Error 1 make[1]: *** [begginer_tutorials/CMakeFiles/add_two_ints_client.dir/all] Error 2 make: *** [all] Error 2 Invoking "make" failed I saw the other answers related to this but couldn't find the error myself.

Could not find a package configuration file provided by "controller_manager"

$
0
0
I am running ROS jade on an Ubuntu 14.04 OS and I am trying to connect the Gazebo simulator to ROS. I have followed the tutorials to connect Gazebo to ROS on the Gazebo website, and now I am trying to download the URDF of the Pioneer 3dx robot (since that is the robot I am using), but I am running into a problem. I have placed the URDF file from a github site into the src directory of my catkin_ws, but whenever I run "catkin_make" I always get this error: CMake Error at /opt/ros/jade/share/catkin/cmake/catkinConfig.cmake:75 (find_package): Could not find a package configuration file provided by "controller_manager" with any of the following names: controller_managerConfig.cmake controller_manager-config.cmake Add the installation prefix of "controller_manager" to CMAKE_PREFIX_PATH or set "controller_manager_DIR" to a directory containing one of the above files. If "controller_manager" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): ua_ros_p3dx/p3dx_control/CMakeLists.txt:7 (find_package) -- Configuring incomplete, errors occurred! See also "/home/tatum/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/tatum/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed I have looked online to find an answer to this problem but the answers posted do not help me. I think this has to do with the fact that the the other questions were based on the indigo distribution. Please help!!

catkin_make fails to build executables ROS indigo

$
0
0
I face a problem using `catkin_make`. It seems that the c compiler cannot be found. the final error I am getting is is Invoking "cmake" failed. The environment variables seem ok: ROS_PACKAGE_PATH=/home/thanos/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks and the installed version of the compiler is: cmake version 2.8.12.2 I have edited the `.bashrc` file as follows: source /opt/ros/indigo/setup.bash source ~/catkin_ws/devel/setup.bash Please any help would be more than welcome! The result I get from catkin_make is : Base path: /home/thanos/catkin_ws Source space: /home/thanos/catkin_ws/src Build space: /home/thanos/catkin_ws/build Devel space: /home/thanos/catkin_ws/devel Install space: /home/thanos/catkin_ws/install #### #### Running command: "cmake /home/thanos/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/thanos/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/thanos/catkin_ws/install -G Unix Makefiles" in "/home/thanos/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/thanos/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/thanos/catkin_ws/devel;/opt/ros/indigo -- This workspace overlays: /home/thanos/catkin_ws/devel;/opt/ros/indigo -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/thanos/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.14 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 34 packages in topological order: -- ~~ - joystick_drivers (metapackage) -- ~~ - navigation (metapackage) -- ~~ - p2os_doc -- ~~ - p2os_launch -- ~~ - static_localizer -- ~~ - move_base_msgs -- ~~ - p2os_msgs -- ~~ - ps3joy -- ~~ - spacenav_node -- ~~ - joy -- ~~ - teleop_twist_joy -- ~~ - fake_localization -- ~~ - following -- ~~ - map_server -- ~~ - amcl -- ~~ - p2os_driver -- ~~ - p2os_teleop -- ~~ - robot_pose_ekf -- ~~ - rosaria -- ~~ - p2os_urdf -- ~~ - urg_node -- ~~ - voxel_grid -- ~~ - costmap_2d -- ~~ - nav_core -- ~~ - base_local_planner -- ~~ - carrot_planner -- ~~ - clear_costmap_recovery -- ~~ - dwa_local_planner -- ~~ - move_slow_and_clear -- ~~ - navfn -- ~~ - global_planner -- ~~ - rotate_recovery -- ~~ - move_base -- ~~ - wiimote -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'joystick_drivers' -- ==> add_subdirectory(joystick_drivers/joystick_drivers) -- +++ processing catkin metapackage: 'navigation' -- ==> add_subdirectory(navigation/navigation) -- +++ processing catkin package: 'p2os_doc' -- ==> add_subdirectory(p2os/p2os_doc) -- +++ processing catkin package: 'p2os_launch' -- ==> add_subdirectory(p2os/p2os_launch) -- +++ processing catkin package: 'static_localizer' -- ==> add_subdirectory(static_localizer) ... Finds all the packages and creates all the subdirectories.. -- +++ processing catkin package: 'wiimote' -- ==> add_subdirectory(joystick_drivers/wiimote) -- Using these message generators: gencpp;genlisp;genpy -- wiimote: 3 messages, 0 services -- Configuring incomplete, errors occurred! See also "/home/thanos/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/thanos/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed In the CMakeErrors.log I get the following errors: Determining if the pthread_create exist failed with the following output: Change Dir: /home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec997468529/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec997468529.dir/build.make CMakeFiles/cmTryCompileExec997468529.dir/build make[1]: Entering directory `/home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec997468529.dir/CheckSymbolExists.c.o /usr/bin/cc -o CMakeFiles/cmTryCompileExec997468529.dir/CheckSymbolExists.c.o -c /home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec997468529 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec997468529.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTryCompileExec997468529.dir/CheckSymbolExists.c.o -o cmTryCompileExec997468529 -rdynamic CMakeFiles/cmTryCompileExec997468529.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[1]: *** [cmTryCompileExec997468529] Error 1 make[1]: Leaving directory `/home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp' make: *** [cmTryCompileExec997468529/fast] Error 2 Determining if the include file FL/Fl.H exists failed with the following output: Change Dir: /home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec2890154973/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec2890154973.dir/build.make CMakeFiles/cmTryCompileExec2890154973.dir/build make[1]: Entering directory `/home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2890154973.dir/CheckIncludeFile.cxx.o /usr/bin/c++ -Wno-deprecated -o CMakeFiles/cmTryCompileExec2890154973.dir/CheckIncludeFile.cxx.o -c /home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:19: fatal error: FL/Fl.H: No such file or directory #include ^ compilation terminated. make[1]: *** [CMakeFiles/cmTryCompileExec2890154973.dir/CheckIncludeFile.cxx.o] Error 1 make[1]: Leaving directory `/home/thanos/catkin_ws/build/CMakeFiles/CMakeTmp' make: *** [cmTryCompileExec2890154973/fast] Error 2 Please any help would be more than welcome! --- Edit: The conclusion was derived from the fact that there are no lines about the C/C++ compiler anywhere in the `catkin_make`, as you mentioned. You are right about the CMake. The `catkin_make` command was working properly about a month ago. I have these problems without and significant changes in the system except for the regular updates. I installed ROS using this tutorial: http://wiki.ros.org/indigo/Installation/Ubuntu After facing this problem I re-initialized the workspace using the following tutorial: http://wiki.ros.org/catkin/Tutorials/create_a_workspace **os version:** Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty **kernel version** 3.13.0-63-generic The output of `which gcc` is: `/usr/bin/gcc` **Edit:** The output of `catkin_make` in `/tmp/catkin_test/` is the following: Base path: /tmp/catkin_test Source space: /tmp/catkin_test/src Build space: /tmp/catkin_test/build Devel space: /tmp/catkin_test/devel Install space: /tmp/catkin_test/install Creating symlink "/tmp/catkin_test/src/CMakeLists.txt" pointing to "/opt/ros/indigo/share/catkin/cmake/toplevel.cmake" #### #### Running command: "cmake /tmp/catkin_test/src -DCATKIN_DEVEL_PREFIX=/tmp/catkin_test/devel -DCMAKE_INSTALL_PREFIX=/tmp/catkin_test/install -G Unix Makefiles" in "/tmp/catkin_test/build" #### -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Using CATKIN_DEVEL_PREFIX: /tmp/catkin_test/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /opt/ros/indigo -- Found PythonInterp: /usr/bin/python (found version "2.7.6") -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /tmp/catkin_test/build/test_results -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.14 -- BUILD_SHARED_LIBS is on -- Configuring done -- Generating done -- Build files have been written to: /tmp/catkin_test/build #### #### Running command: "make -j8 -l8" in "/tmp/catkin_test/build" #### The output of `cmake --system-information`: Avoid ctest truncation of output: CTEST_FULL_OUTPUT MAIN VARIABLES CMAKE_STATIC_LIBRARY_PREFIX == "lib" CMAKE_STATIC_LIBRARY_SUFFIX == ".a" CMAKE_SHARED_LIBRARY_PREFIX == "lib" CMAKE_SHARED_LIBRARY_SUFFIX == ".so" CMAKE_SHARED_MODULE_PREFIX == "lib" CMAKE_SHARED_MODULE_SUFFIX == ".so" CMAKE_DL_LIBS == "dl" CMAKE_LIBRARY_PATH_FLAG == "-L" CMAKE_LINK_LIBRARY_FLAG == "-l" CMAKE_SKIP_RPATH == "NO" CMAKE_SYSTEM_INFO_FILE == "Platform/Linux" CMAKE_SYSTEM_NAME == "Linux" CMAKE_SYSTEM == "Linux-3.13.0-63-generic" CMAKE_CXX_COMPILER == "/usr/bin/c++" CMAKE_C_COMPILER == "/usr/bin/cc" CMAKE_COMPILER_IS_GNUCC == "1" CMAKE_COMPILER_IS_GNUCXX == "1" **Edit:** As I mentioned previously in my question I followed this tutorial [http://wiki.ros.org/catkin/Tutorials/create_a_workspace] (http://wiki.ros.org/catkin/Tutorials/create_a_workspace) in order to initialize my workspace. So after having this problem I saved the src folder of catkin_ws in another path and I erased everything under catkin_ws folder. The next step was to follow the instructions of the tutorial: source /opt/ros/indigo/setup.bash mkdir -p ~/catkin_ws/src cd ~/catkin_ws/src catkin_init_workspace cd ~/catkin_ws/ catkin_make source devel/setup.bash Finally, I edited the `.bashrc` as mentioned previously, copied back the src folder, but nothing changed. **Output** of `env | grep -i ros` : ROS_ROOT=/opt/ros/indigo/share/ros ROS_PACKAGE_PATH=/home/thanos/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks ROS_MASTER_URI=http://localhost:11311 LD_LIBRARY_PATH=/home/thanos/catkin_ws/devel/lib:/home/thanos/catkin_ws/devel/lib/x86_64-linux-gnu:/opt/ros/indigo/lib/x86_64-linux-gnu:/opt/ros/indigo/lib CPATH=/home/thanos/catkin_ws/devel/include:/opt/ros/indigo/include PATH=/home/thanos/catkin_ws/devel/bin:/opt/ros/indigo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games ROSLISP_PACKAGE_DIRECTORIES=/home/thanos/catkin_ws/devel/share/common-lisp ROS_DISTRO=indigo PYTHONPATH=/home/thanos/catkin_ws/devel/lib/python2.7/dist-packages:/opt/ros/indigo/lib/python2.7/dist-packages PKG_CONFIG_PATH=/home/thanos/catkin_ws/devel/lib/pkgconfig:/home/thanos/catkin_ws/devel/lib/x86_64-linux-gnu/pkgconfig:/opt/ros/indigo/lib/x86_64-linux-gnu/pkgconfig:/opt/ros/indigo/lib/pkgconfig CMAKE_PREFIX_PATH=/home/thanos/catkin_ws/devel:/opt/ros/indigo ROS_ETC_DIR=/opt/ros/indigo/etc/ros **Edit 4:** I removed both lines from the `.bashrc` and I opened a new 'clean' terminal I followed again the instructions from the tutorial mentioned above in order to initialize the workspace. With an empty src folder (without the packages) I ran the `catkin_make` command and the output is the following: Source space: /home/thanos/catkin_ws/src Build space: /home/thanos/catkin_ws/build Devel space: /home/thanos/catkin_ws/devel Install space: /home/thanos/catkin_ws/install #### #### Running command: "cmake /home/thanos/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/thanos/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/thanos/catkin_ws/install -G Unix Makefiles" in "/home/thanos/catkin_ws/build" #### -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Using CATKIN_DEVEL_PREFIX: /home/thanos/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo -- This workspace overlays: /opt/ros/indigo -- Found PythonInterp: /usr/bin/python (found version "2.7.6") -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/thanos/catkin_ws/build/test_results -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.14 -- BUILD_SHARED_LIBS is on -- Configuring done -- Generating done -- Build files have been written to: /home/thanos/catkin_ws/build #### #### Running command: "make -j8 -l8" in "/home/thanos/catkin_ws/build" #### The next step is to run the `source devel/setup.bash` command of the tutorial and the last command echo $ROS_PACKAGE_PATH /home/thanos/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks So I am at this point right now.
Viewing all 417 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>