Have an error when using OpenCV

#1

UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/.

See full error message:

Summary

UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/. Last error:java.lang.UnsatisfiedLinkError: Unable to load library ‘gio-2.0’: Native library (win32-x86-64/gio-2.0.dll) not found in resource path ([file:/C:/Users/kave7/AppData/Local/Temp/LiveCamTest1863809931809618172temp/, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv-245.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv_processing.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/gstreamer-java.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/jna.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/video.jar, file:/F:/programming/processing-3.5.3/lib/, file:/F:/programming/processing-3.5.3/lib/pde.jar, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/lib/jna.jar, file:/F:/programming/processing-3.5.3/lib/jna-platform.jar, file:/F:/programming/processing-3.5.3/lib/antlr.jar, file:/F:/programming/processing-3.5.3/lib/ant.jar, file:/F:/programming/processing-3.5.3/lib/ant-launcher.jar])
UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/. Last error:java.lang.UnsatisfiedLinkError: Unable to load library ‘gio-2.0’: Native library (win32-x86-64/gio-2.0.dll) not found in resource path ([file:/C:/Users/kave7/AppData/Local/Temp/LiveCamTest1863809931809618172temp/, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv-245.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv_processing.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/gstreamer-java.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/jna.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/video.jar, file:/F:/programming/processing-3.5.3/lib/, file:/F:/programming/processing-3.5.3/lib/pde.jar, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/lib/jna.jar, file:/F:/programming/processing-3.5.3/lib/jna-platform.jar, file:/F:/programming/processing-3.5.3/lib/antlr.jar, file:/F:/programming/processing-3.5.3/lib/ant.jar, file:/F:/programming/processing-3.5.3/lib/ant-launcher.jar])
UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/. Last error:java.lang.UnsatisfiedLinkError: Unable to load library ‘gio-2.0’: Native library (win32-x86-64/gio-2.0.dll) not found in resource path ([file:/C:/Users/kave7/AppData/Local/Temp/LiveCamTest1863809931809618172temp/, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv-245.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv_processing.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/gstreamer-java.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/jna.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/video.jar, file:/F:/programming/processing-3.5.3/lib/, file:/F:/programming/processing-3.5.3/lib/pde.jar, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/lib/jna.jar, file:/F:/programming/processing-3.5.3/lib/jna-platform.jar, file:/F:/programming/processing-3.5.3/lib/antlr.jar, file:/F:/programming/processing-3.5.3/lib/ant.jar, file:/F:/programming/processing-3.5.3/lib/ant-launcher.jar])
A library relies on native code that’s not available.
Or only works properly when the sketch is run as a 32-bit application.
UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/. Last error:java.lang.UnsatisfiedLinkError: Unable to load library ‘gio-2.0’: Native library (win32-x86-64/gio-2.0.dll) not found in resource path ([file:/C:/Users/kave7/AppData/Local/Temp/LiveCamTest1863809931809618172temp/, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv-245.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv_processing.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/gstreamer-java.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/jna.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/video.jar, file:/F:/programming/processing-3.5.3/lib/, file:/F:/programming/processing-3.5.3/lib/pde.jar, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/lib/jna.jar, file:/F:/programming/processing-3.5.3/lib/jna-platform.jar, file:/F:/programming/processing-3.5.3/lib/antlr.jar, file:/F:/programming/processing-3.5.3/lib/ant.jar, file:/F:/programming/processing-3.5.3/lib/ant-launcher.jar])
UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/. Last error:java.lang.UnsatisfiedLinkError: Unable to load library ‘gio-2.0’: Native library (win32-x86-64/gio-2.0.dll) not found in resource path ([file:/C:/Users/kave7/AppData/Local/Temp/LiveCamTest1863809931809618172temp/, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv-245.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv_processing.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/gstreamer-java.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/jna.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/video.jar, file:/F:/programming/processing-3.5.3/lib/, file:/F:/programming/processing-3.5.3/lib/pde.jar, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/lib/jna.jar, file:/F:/programming/processing-3.5.3/lib/jna-platform.jar, file:/F:/programming/processing-3.5.3/lib/antlr.jar, file:/F:/programming/processing-3.5.3/lib/ant.jar, file:/F:/programming/processing-3.5.3/lib/ant-launcher.jar])
UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/. Last error:java.lang.UnsatisfiedLinkError: Unable to load library ‘gio-2.0’: Native library (win32-x86-64/gio-2.0.dll) not found in resource path ([file:/C:/Users/kave7/AppData/Local/Temp/LiveCamTest1863809931809618172temp/, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv-245.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv_processing.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/gstreamer-java.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/jna.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/video.jar, file:/F:/programming/processing-3.5.3/lib/, file:/F:/programming/processing-3.5.3/lib/pde.jar, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/lib/jna.jar, file:/F:/programming/processing-3.5.3/lib/jna-platform.jar, file:/F:/programming/processing-3.5.3/lib/antlr.jar, file:/F:/programming/processing-3.5.3/lib/ant.jar, file:/F:/programming/processing-3.5.3/lib/ant-launcher.jar])
UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/. Last error:java.lang.UnsatisfiedLinkError: Unable to load library ‘gio-2.0’: Native library (win32-x86-64/gio-2.0.dll) not found in resource path ([file:/C:/Users/kave7/AppData/Local/Temp/LiveCamTest1863809931809618172temp/, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv-245.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv_processing.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/gstreamer-java.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/jna.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/video.jar, file:/F:/programming/processing-3.5.3/lib/, file:/F:/programming/processing-3.5.3/lib/pde.jar, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/lib/jna.jar, file:/F:/programming/processing-3.5.3/lib/jna-platform.jar, file:/F:/programming/processing-3.5.3/lib/antlr.jar, file:/F:/programming/processing-3.5.3/lib/ant.jar, file:/F:/programming/processing-3.5.3/lib/ant-launcher.jar])
UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/. Last error:java.lang.UnsatisfiedLinkError: Unable to load library ‘gio-2.0’: Native library (win32-x86-64/gio-2.0.dll) not found in resource path ([file:/C:/Users/kave7/AppData/Local/Temp/LiveCamTest1863809931809618172temp/, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv-245.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv_processing.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/gstreamer-java.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/jna.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/video.jar, file:/F:/programming/processing-3.5.3/lib/, file:/F:/programming/processing-3.5.3/lib/pde.jar, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/lib/jna.jar, file:/F:/programming/processing-3.5.3/lib/jna-platform.jar, file:/F:/programming/processing-3.5.3/lib/antlr.jar, file:/F:/programming/processing-3.5.3/lib/ant.jar, file:/F:/programming/processing-3.5.3/lib/ant-launcher.jar])
UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/. Last error:java.lang.UnsatisfiedLinkError: Unable to load library ‘gio-2.0’: Native library (win32-x86-64/gio-2.0.dll) not found in resource path ([file:/C:/Users/kave7/AppData/Local/Temp/LiveCamTest1863809931809618172temp/, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/gluegen-rt.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-aarch64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-armv6hf.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-linux-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-macosx-universal.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-amd64.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all-natives-windows-i586.jar, file:/F:/programming/processing-3.5.3/core/library/jogl-all.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv-245.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/opencv_processing/library/opencv_processing.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/gstreamer-java.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/jna.jar, file:/C:/Users/kave7/OneDrive/%d0%94%d0%be%d0%ba%d1%83%d0%bc%d0%b5%d0%bd%d1%82%d1%8b/Processing/libraries/video/library/video.jar, file:/F:/programming/processing-3.5.3/lib/, file:/F:/programming/processing-3.5.3/lib/pde.jar, file:/F:/programming/processing-3.5.3/core/library/core.jar, file:/F:/programming/processing-3.5.3/lib/jna.jar, file:/F:/programming/processing-3.5.3/lib/jna-platform.jar, file:/F:/programming/processing-3.5.3/lib/antlr.jar, file:/F:/programming/processing-3.5.3/lib/ant.jar, file:/F:/programming/processing-3.5.3/lib/ant-launcher.jar])

#2

Please explain a bit what the problem is, what you tried out and what you would like to achieve. Share the codes and examples, otherwise we can not help you.

Just posting an error message is not enough and in my opinion also a bit impolite.

1 Like
#3

I just installed libraries and I wanted to check if all works right. This error coccus on this line :
video = new Capture(this, 640, 480);

#4

Still, write more information:

  • Which library? (there are two opencv libraries for processing)
  • Which example?
  • Where do you run it on? (windows / mac / linux)
  • What have you already tried to fix it? (Have you even read the stacktrace?)

Please check out the guidelines for asking questions:

1 Like
#5

OpenCV for Processing 0.5.4 by Greg Borenstein
LiveCamTest
Windows 10 1903 18356.1
I think that it van be caused because of OneDrive and that processing saves libraries in OneDrive folder

#6

So, have you tried to move processing from onedrive to a system folder?
Regarding the error message, it seems that you are missing the native library gio-2.0:

UnsatisfiedLinkError: can’t load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0)

Googling this library together with processing reveals some threads which might help you:

2 Likes
#7

ok, that is some good information, but still not detailed enough,
as there are info that it might be a 32 / 64 bit problem
-a- windows 10 64Bit?
-b- processing 3.5.3 download/setup also the 64bit version?


now obviously you play OpenCV,
but as you report the line in error is

video = new Capture(this, 640, 480);

and that has nothing to do with OpenCV

like on a fresh install after download
https://github.com/atduskgreg/opencv-processing ,
https://github.com/atduskgreg/opencv-processing/releases
rev 0.5.4

opencv_processing.zip

to your sketchbook/libraries/
folder and you open that example

LiveCamTest

you get the info that you need the video library

Video 1.0.1
The Processing Foundation
GStreamer-based video library for Processing.

and there pls check for:
...\libraries\video\library\windows64\libgio-2.0-0.dll
if that is missing uninstall/install again
and check if “win 10 windows defender” deletes something…

2 Likes
#8

I solved it !!! I Just moved Processing work folder from OneDrive folder to other place !

2 Likes
#10

Use img.save("fileName.fileExtention"). You can see an example in the docs.

1 Like
#11

Thank you very much !

1 Like