Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help Troubleshooting Error: Other #25

Open
davidlaym opened this issue Sep 23, 2021 · 1 comment
Open

Help Troubleshooting Error: Other #25

davidlaym opened this issue Sep 23, 2021 · 1 comment

Comments

@davidlaym
Copy link

I'm basically trying out the example code, and fails with the following message:

Could not get context: Other
the line indicated points to first line where the context is created.

The 'Other' error seems to come directly from libuvc and there are no more details, so can't really continue troubleshooting on my own.

I'm using Windows 10, but running over WSL2, so basically ubuntu 20.
uvc is loaded as vendor:

uvc = {version = "0.2.0",default-features = false, features = ["vendor"]}

as that was the only way I was able to make it compile.

Do you know any other thing I can do to continue troubleshooting?

@l1npengtul
Copy link
Owner

l1npengtul commented Sep 23, 2021

It looks like libuvc calls into libusb when creating the context, I want to help more but I don't want to dig into more C library code.
libusb init
libuvc

(if you need a camera library, you may be interested in the upcoming 0.4 release of nokhwa, my other crate that contains a V4L2 and a MSMF backend)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants