Has anyone on here installed MRL on a raspberry pi 2 running Raspbian? I've got it mostly installed but opencv won't start my camera. When I click capture I get an bunch of errors like these
ERROR>> Caused by: java.lang.UnsatisfiedLinkError: /tmp/javacpp55587950902807/libjniopencv_highgui.so: libunicap.so.2: cannot open shared object file: No such file or directory
39579 [StreamGobbler_ERROR] INFO class org.myrobotlab.framework.StreamGobbler - ERROR>> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
If anyone knows what I'm doing wrong or has a good tutorial on getting up and running it would be greatly appreciated.
P.S. I'm running MRL 1.0.107
Hello KevinM and Welcome
Hello KevinM and Welcome !
OpenCV can sometimes be a pain... So its important a simple set of steps be followed.
First we are going to see if OpenCV 2.4.6.1 native library works on your system.
Step 1 - find this file in your installation directory - ./libraries/jar/opencv-2.4.6.1-linux-arm.jar
Step 2 - unzip its contents into another directory - a jar file is just a zipped archive - the contents should look like the group of files below
when you exta
when you extract them all we want to make them executable
you can make files executable with the following command
this usually turns the file green
Step 3 - this package was re-packaged with a neat little example program to attempt to start it type
This is the very basic low level native files of OpenCV - this example should start a window and attempt to connect to the first video device. If it doesn't it "should" tell you a much more intelligent error why it can't run.
Good luck - let us know how it goes !
Okay I'm pretty sure I
Okay I'm pretty sure I followed your directions correctly and I get this error
hi, I've installed MRL on a
hi,
I've installed MRL on a raspberry bananapi with raspbian, and before that work i had a similar problem, look here : http://myrobotlab.org/content/webcam-under-linux
To make it work i had to install lot of things and i don't know exactly what solved the problem .
In your error message, i see "libunicap2" so maybe, this part can solve your problem ...
This is my post on the other webpage :
I have it working.
Hi, Iv got it work but I ended up doing a build/make on the raspberry Pi 2 took about 4hours but I can't find the post I used, I'll keep looking,
Hey kevin, you mentioned you
Hey kevin, you mentioned you got opencv to work in myrobotlab on latest version of osx... Can you please explain which steps you followed ?? thanks a lot
Hey Alessandro sadly I don't
Hey Alessandro sadly I don't remember the steps I took to install it and get it working seeing it's been awhile ago and the fact I don't really know what I'm doing lol. As far as I remember I'm pretty sure I used Homebrew to install it (http://brew.sh) I don't remember what site I used for directions though
Yay! I got it up and running
Yay! I got it up and running after doing a complete build. It's a little slow but at least I have a video feed. Thank you to everyone for your help. Anyone know what this error might be?