atduskgreg / opencv-processing

OpenCV for Processing. A creative coding computer vision library based on the official OpenCV Java API
Other
1.33k stars 462 forks source link

OpenCV not Working on Processing 3, on Ubuntu 18.04 #118

Open lub34 opened 3 years ago

lub34 commented 3 years ago

Hey all, been running processing on my Jetson Nano on a Ubuntu 18.04 setup and everytime I try to run anything with the OpenCV library, I got this error. I installed the library directly through the PDE and have had no trouble with other libraries such as PixelPusher. The issue seems to be with capturing video, or video-based libraries in general such as Video and OpenCV. Curious if anyone has a solution?

Below, you will find, the code I'm running, a screenshot of the error I keep getting, and the best solution I've tried yet.

Code: ` import processing.video.; import java.awt.;

Capture video;

void setup() { size(640, 480); video = new Capture(this, 640/2, 480/2);

video.start(); } `

Screenshot: image

Best solution yet (yet still no success, merely changed the error to what I currently have now): https://stackoverflow.com/questions/53825857/error-ld-so-object-libgtk3-nocsd-so-0-from-ld-preload-cannot-be-preloaded