webcam-capture-driver-native icon indicating copy to clipboard operation
webcam-capture-driver-native copied to clipboard

ERROR c.g.e.w.d.c.CaptureManagerDriver - Unexpected error listing video devices

Open i-make-robots opened this issue 1 year ago • 2 comments

Java 21 IntelliJ IDEA 2023.2.5 com.github.sarxos:webcam-capture:0.3.12 this library v1.0.0

README documentation does not mention modules. Workaround is to add requires io.github.eduramiba.webcamcapture;

Running the application as recommended, I get

14:38:26.220 [main] DEBUG com.github.sarxos.webcam.Webcam - Setting new capture driver com.github.eduramiba.webcamcapture.drivers.NativeDriver@4e096385
14:38:26.239 [webcam-discovery-service] ERROR c.g.e.w.d.c.CaptureManagerDriver - Unexpected error listing video devices
java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\me\Documents\GitHub\myApp\CaptureManager.dll
14:38:26.241 [main] INFO  c.g.s.webcam.WebcamDiscoveryService - Discovery will not run - driver NativeDriver does not support this feature

I believe it's looking in the wrong place for the native driver.

i-make-robots avatar Nov 16 '23 22:11 i-make-robots