Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.70 KB | None | 0 0
  1. /tmp/ccJ8O0ig.o: In function `main':
  2. LeapSLAM.cpp:(.text+0xb8): undefined reference to `ORB_SLAM2::System::System(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ORB_SLAM2::System::eSensor, bool)'
  3. LeapSLAM.cpp:(.text+0x103): undefined reference to `Leap::Controller::Controller()'
  4. LeapSLAM.cpp:(.text+0x112): undefined reference to `Leap::Controller::now() const'
  5. LeapSLAM.cpp:(.text+0x132): undefined reference to `ORB_SLAM2::System::Shutdown()'
  6. LeapSLAM.cpp:(.text+0x177): undefined reference to `ORB_SLAM2::System::SaveTrajectoryKITTI(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  7. LeapSLAM.cpp:(.text+0x1a9): undefined reference to `Leap::Controller::~Controller()'
  8. LeapSLAM.cpp:(.text+0x260): undefined reference to `Leap::Controller::~Controller()'
  9. /tmp/ccJ8O0ig.o: In function `undistort(Leap::Image, cv::Mat&)':
  10. LeapSLAM.cpp:(.text+0x30e): undefined reference to `cv::error(int, cv::String const&, char const*, char const*, int)'
  11. LeapSLAM.cpp:(.text+0x329): undefined reference to `Leap::Image::data() const'
  12. LeapSLAM.cpp:(.text+0x33c): undefined reference to `Leap::Image::distortion() const'
  13. LeapSLAM.cpp:(.text+0x34f): undefined reference to `Leap::Image::distortionWidth() const'
  14. LeapSLAM.cpp:(.text+0x364): undefined reference to `Leap::Image::width() const'
  15. LeapSLAM.cpp:(.text+0x379): undefined reference to `Leap::Image::height() const'
  16. /tmp/ccJ8O0ig.o: In function `cv::String::String(char const*)':
  17. LeapSLAM.cpp:(.text._ZN2cv6StringC2EPKc[_ZN2cv6StringC5EPKc]+0x4d): undefined reference to `cv::String::allocate(unsigned long)'
  18. /tmp/ccJ8O0ig.o: In function `cv::String::~String()':
  19. LeapSLAM.cpp:(.text._ZN2cv6StringD2Ev[_ZN2cv6StringD5Ev]+0x14): undefined reference to `cv::String::deallocate()'
  20. /tmp/ccJ8O0ig.o: In function `cv::String::operator=(cv::String const&)':
  21. LeapSLAM.cpp:(.text._ZN2cv6StringaSERKS0_[_ZN2cv6StringaSERKS0_]+0x28): undefined reference to `cv::String::deallocate()'
  22. /tmp/ccJ8O0ig.o: In function `cv::Mat::Mat(cv::Mat const&)':
  23. LeapSLAM.cpp:(.text._ZN2cv3MatC2ERKS0_[_ZN2cv3MatC5ERKS0_]+0x183): undefined reference to `cv::Mat::copySize(cv::Mat const&)'
  24. /tmp/ccJ8O0ig.o: In function `pangolin::_CheckGlDieOnError(char const*, int)':
  25. LeapSLAM.cpp:(.text._ZN8pangolin18_CheckGlDieOnErrorEPKci[_ZN8pangolin18_CheckGlDieOnErrorEPKci]+0x10): undefined reference to `glGetError'
  26. LeapSLAM.cpp:(.text._ZN8pangolin18_CheckGlDieOnErrorEPKci[_ZN8pangolin18_CheckGlDieOnErrorEPKci]+0x23): undefined reference to `pangolin::glErrorString(unsigned int)'
  27. /tmp/ccJ8O0ig.o: In function `pangolin::GlTexture::~GlTexture()':
  28. LeapSLAM.cpp:(.text._ZN8pangolin9GlTextureD2Ev[_ZN8pangolin9GlTextureD5Ev]+0x26): undefined reference to `pangolin::ShouldQuit()'
  29. LeapSLAM.cpp:(.text._ZN8pangolin9GlTextureD2Ev[_ZN8pangolin9GlTextureD5Ev]+0x52): undefined reference to `glDeleteTextures'
  30. /tmp/ccJ8O0ig.o: In function `pangolin::GlTexture::Bind() const':
  31. LeapSLAM.cpp:(.text._ZNK8pangolin9GlTexture4BindEv[_ZNK8pangolin9GlTexture4BindEv]+0x1b): undefined reference to `glBindTexture'
  32. /tmp/ccJ8O0ig.o: In function `pangolin::GlTexture::Reinitialise(int, int, int, bool, int, unsigned int, unsigned int, void*)':
  33. LeapSLAM.cpp:(.text._ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv[_ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv]+0x3b): undefined reference to `glDeleteTextures'
  34. LeapSLAM.cpp:(.text._ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv[_ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv]+0x6e): undefined reference to `glGenTextures'
  35. LeapSLAM.cpp:(.text._ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv[_ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv]+0xba): undefined reference to `glTexImage2D'
  36. LeapSLAM.cpp:(.text._ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv[_ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv]+0xd8): undefined reference to `glTexParameteri'
  37. LeapSLAM.cpp:(.text._ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv[_ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv]+0xec): undefined reference to `glTexParameteri'
  38. LeapSLAM.cpp:(.text._ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv[_ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv]+0x102): undefined reference to `glTexParameteri'
  39. LeapSLAM.cpp:(.text._ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv[_ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv]+0x116): undefined reference to `glTexParameteri'
  40. LeapSLAM.cpp:(.text._ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv[_ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv]+0x12a): undefined reference to `glTexParameteri'
  41. /tmp/ccJ8O0ig.o:LeapSLAM.cpp:(.text._ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv[_ZN8pangolin9GlTexture12ReinitialiseEiiibijjPv]+0x13e): more undefined references to `glTexParameteri' follow
  42. /tmp/ccJ8O0ig.o: In function `pangolin::GlBufferData::Free()':
  43. LeapSLAM.cpp:(.text._ZN8pangolin12GlBufferData4FreeEv[_ZN8pangolin12GlBufferData4FreeEv]+0x1a): undefined reference to `__glewDeleteBuffers'
  44. /tmp/ccJ8O0ig.o: In function `pangolin::Handler::~Handler()':
  45. LeapSLAM.cpp:(.text._ZN8pangolin7HandlerD2Ev[_ZN8pangolin7HandlerD5Ev]+0xb): undefined reference to `vtable for pangolin::Handler'
  46. /tmp/ccJ8O0ig.o:(.data.rel+0x0): undefined reference to `vtable for pangolin::Handler'
  47. /tmp/ccJ8O0ig.o:(.data.rel+0x8): undefined reference to `vtable for pangolin::HandlerScroll'
  48. /tmp/ccJ8O0ig.o: In function `pangolin::HandlerScroll::~HandlerScroll()':
  49. LeapSLAM.cpp:(.text._ZN8pangolin13HandlerScrollD2Ev[_ZN8pangolin13HandlerScrollD5Ev]+0xf): undefined reference to `vtable for pangolin::HandlerScroll'
  50. collect2: error: ld returned 1 exit status
  51. nova@pop-os:/media/nova/SD/LeapSLAM$ g++ -I/media/nova/SD/Builds/ORB_SLAM2/ -lopencv_core `pkg-config --cflags --libs opencv` LeapSLAM.cpp -o LeapSLAM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement