felixendres / rgbdslam_v2

RGB-D SLAM for ROS
GNU General Public License v3.0
935 stars 399 forks source link

catkin_make undefined references ros-kinetic #103

Closed joshuayuan closed 5 years ago

joshuayuan commented 5 years ago

I am running ros-kinetic on ubuntu 16.04. When I catkin_make, with the g2o and rgbdslam packages in the ~/catkin_ws/src/ directory, I run into this error. I had successfully maked g2o, and ran into no other issues up until this point. Googling and searching the issues here did not turn up any useful results.

[ 98%] Building CXX object rgbdslam_v2/CMakeFiles/rgbdslam.dir/src/transformation_estimation_euclidean.cpp.o
[100%] Linking CXX executable /home/aaron/catkin_ws/devel/lib/rgbdslam/rgbdslam
/home/aaron/anaconda3/lib/libharfbuzz.so.0: undefined reference to `FT_Get_Var_Blend_Coordinates'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QFutureInterfaceBase::setProgressRange(int, int)@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `typeinfo for QException@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QtPrivate::ExceptionStore::setException(QException const&)@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QSemaphore::release(int)@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QFutureInterfaceBase::isCanceled() const@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QThreadPool::tryStart(QRunnable*)@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QThreadPool::maxThreadCount() const@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QFutureInterfaceBase::setProgressValue(int)@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QtPrivate::ExceptionStore::throwPossibleException()@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QSemaphore::QSemaphore(int)@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `typeinfo for QRunnable@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QFutureInterfaceBase::reportException(QException const&)@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QFutureInterfaceBase::waitForResume()@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QArrayData::shared_null@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QtPrivate::ExceptionHolder::~ExceptionHolder()@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QUnhandledException::~QUnhandledException()@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QFutureInterfaceBase::isPaused() const@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QThreadPool::globalInstance()@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QSemaphore::~QSemaphore()@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QRunnable::~QRunnable()@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `qBadAlloc()@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>)@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `qt_version_tag@Qt_5.6'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QtPrivate::ExceptionHolder::ExceptionHolder(QException*)@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `vtable for QUnhandledException@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QArrayData::deallocate(QArrayData*, unsigned long, unsigned long)@Qt_5'
/home/aaron/anaconda3/lib/libQt5Concurrent.so.5.6.2: undefined reference to `QSemaphore::acquire(int)@Qt_5'
collect2: error: ld returned 1 exit status
rgbdslam_v2/CMakeFiles/rgbdslam.dir/build.make:1486: recipe for target '/home/aaron/catkin_ws/devel/lib/rgbdslam/rgbdslam' failed
make[2]: *** [/home/aaron/catkin_ws/devel/lib/rgbdslam/rgbdslam] Error 1
CMakeFiles/Makefile2:3155: recipe for target 'rgbdslam_v2/CMakeFiles/rgbdslam.dir/all' failed
make[1]: *** [rgbdslam_v2/CMakeFiles/rgbdslam.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

Any ideas? Thanks!

joshuayuan commented 5 years ago

I fixed this by uninstalling Anaconda... which let me catkin_make successfully. (But then I got new errors #104 )