Giter Site home page Giter Site logo

Comments (2)

StrohmayerJ avatar StrohmayerJ commented on July 16, 2024 1

The problem was apparently caused by a libuvc version mismatch. It worked after installing the latest libuvc version with:

git clone https://github.com/libuvc/libuvc
cd libuvc
mkdir build
cd build
cmake ..
make && sudo make install

from pyslam.

StrohmayerJ avatar StrohmayerJ commented on July 16, 2024

Update:

I found that the problem was caused by pangolin not building correctly. I tried rebuilding but got this error (I am on Ubuntu 18.04 btw.).
Is there a solution for this?

/home/name/Desktop/pyslam/thirdparty/pangolin/src/video/drivers/uvc.cpp: In member function ‘virtual void pangolin::UvcVideo::Start()’: /home/name/Desktop/pyslam/thirdparty/pangolin/src/video/drivers/uvc.cpp:208:71: error: too few arguments to function ‘uvc_error_t uvc_stream_start(uvc_stream_handle_t*, void (*)(uvc_frame*, void*), void*, float, uint8_t)’ uvc_error_t stream_err = uvc_stream_start(strm_, NULL, this, 0); ^ In file included from /home/name/Desktop/pyslam/thirdparty/pangolin/include/pangolin/video/drivers/uvc.h:42:0, from /home/name/Desktop/pyslam/thirdparty/pangolin/src/video/drivers/uvc.cpp:29: /usr/local/include/libuvc/libuvc.h:561:13: note: declared here uvc_error_t uvc_stream_start(uvc_stream_handle_t *strmh, src/CMakeFiles/_pangolin.dir/build.make:1790: recipe for target 'src/CMakeFiles/_pangolin.dir/video/drivers/uvc.cpp.o' failed make[2]: *** [src/CMakeFiles/_pangolin.dir/video/drivers/uvc.cpp.o] Error 1 CMakeFiles/Makefile2:135: recipe for target 'src/CMakeFiles/_pangolin.dir/all' failed make[1]: *** [src/CMakeFiles/_pangolin.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2

from pyslam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.