Error during Kinect Installation

Home Forums AR Sandbox Forum Error during Kinect Installation

This topic contains 2 replies, has 3 voices, and was last updated by  Lindsay White 1 week, 2 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #102412

    Kuma
    Participant

    I am getting error on step 4 of the installation. I typed the following script after installing Vrui:

    cd ~/src
    wget http://idav.ucdavis.edu/~okreylos/ResDev/Kinect/Kinect-2.8-002.tar.gz
    tar xfz Kinect-2.8-002.tar.gz
    cd Kinect-2.8-002
    make
    make install
    make installudevrule

    and I get error after entering “make”:

    sandbox@sandbox ~/src/Kinect-2.8-002 $ make
    —- Kinect configuration options: —-
    CPU-based facade projector selected
    —- Kinect installation configuration —-
    Root installation directory: /usr/local
    Calibration data directory: /usr/local/etc/Vrui-4.2/Kinect-2.8
    Resource data directory: /usr/local/share/Vrui-4.2/Kinect-2.8
    Vislet plug-in directory: /usr/local/lib/x86_64-linux-gnu/Vrui-4.2/VRVislets
    —- End of Kinect configuration options: —-
    Compiling Kinect/Motor.cpp…
    Kinect/Motor.cpp: In constructor ‘Kinect::Motor::Motor(USB::Context&, size_t)’:
    Kinect/Motor.cpp:39:39: error: no matching function for call to ‘USB::DeviceList::DeviceList(USB::Context&)’
    USB::DeviceList deviceList(usbContext);
    ^
    In file included from Kinect/Motor.cpp:28:0:
    /usr/local/include/Vrui-4.2/USB/DeviceList.h:48:2: note: candidate: USB::DeviceList::DeviceList(const USB::DeviceList&)
    DeviceList(const DeviceList& source); // Prohibit copy constructor
    ^
    /usr/local/include/Vrui-4.2/USB/DeviceList.h:48:2: note: no known conversion for argument 1 from ‘USB::Context’ to ‘const USB::DeviceList&’
    /usr/local/include/Vrui-4.2/USB/DeviceList.h:46:2: note: candidate: USB::DeviceList::DeviceList()
    DeviceList(void); // Creates a device list by enumerating all devices in the U
    ^
    /usr/local/include/Vrui-4.2/USB/DeviceList.h:46:2: note: candidate expects 0 arguments, 1 provided
    /home/sandbox/src/Vrui-4.2-004/BuildRoot/BasicMakefile:128: recipe for target ‘o/g++-3.g0.O3/Kinect/Motor.o’ failed
    make: *** [o/g++-3.g0.O3/Kinect/Motor.o] Error 1

    Any ideas to fix the error of motor.cpp?
    Thanks.

    #103667

    alex.wyatt
    Participant

    I’m having this problem as well. Did you ever figure it out?

    #103708

    Lindsay White
    Participant

    I confirmed this solved my install problem.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Comments are closed.