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

macOS M1: current master branch fails trying to load BridJ. #889

Open
msgilligan opened this issue Dec 10, 2022 · 0 comments
Open

macOS M1: current master branch fails trying to load BridJ. #889

msgilligan opened this issue Dec 10, 2022 · 0 comments

Comments

@msgilligan
Copy link
Contributor

msgilligan commented Dec 10, 2022

The current master branch fails trying to load the BridJ library even when a device that doesn't use BridJ is configured. (https://github.com/eduramiba/webcam-capture-driver-native, for example)

The workaround for me was to comment-out the following lines in the getDriver() method of Webcam.java:

//   if (driver == null) {
//	driver = new WebcamDefaultDriver();
//   }

It may also be possible to fix this by using a different version of BridJ, but as I suggest in Issue #888, there really shouldn't be a dependency on BridJ in the core webcam-capture model. Especially now that there are solutions (such as https://github.com/eduramiba/webcam-capture-driver-native) that don't require BridJ (and with Panama coming soon...)

Note: For some reason I was unable to reproduce this after re-enabling the commented out lines.

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

1 participant