Skip to content

error: 'libusb_get_port_number' was not declared. Please! #7

@Kanelankai

Description

@Kanelankai

Hello!
Sorry for disturbing you.
Now I want to install the driver of r200 on a Jetson tk1 with ubuntu 14.04.
I noticed that in this article it uses libusb 1.0-0 but I have installed libusb 1.0-9 in my tk1 and it must be remained because other device needs this library.
First I installed libusb 1.0-0, when I executed "make" it came up with the error "src/uvc-v4l2.cpp:402:72: error: 'libusb_get_port_number' was not declared in this scope
std::to_string(libusb_get_port_number(device.usb_device));
".
I know that this was because two version of libusb was in my pc.
So then I removed libusb 1.0-0 leaving only libusb 1.0-9 and executed "make", the same error occured.
Could you tell me how to resolve the usb library to version 1.0-9?
Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions