Raspberry Pi version 2 executable are broken
rhoppel opened this issue · 7 comments
Installed "cam2ip" on a Raspberry Pi version 2 and got the following when executing.
$ cam2ip
cam2ip: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by cam2ip)
cam2ip: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by cam2ip)
I get exactly the same messages when executing the version for Raspberry Pi v3 on the4 v2 platform
the version on Raspberry Pi v3 works great. Well done. System resources are very low compared to other solutions. I would like to use it on my older Raspberry Pi platforms to turn them into dedicated USB camera hosts. I am curious to see how the can be used with multiple camera.
Hmm, I deleted duplicate comment from github and now both are gone, I guess you received comment via email. Binaries are cross compiled on my system, I have toolchains installed with Gentoo crossdev. I probably installed that with newer gcc/glibc etc. not sure what exactly is problem.
You should be able to install go, opencv and jpegturbo on real device, and install there, for test, I will see when I find time what exactly is the problem, will have to find and install system on old RPi I have somewhere.
I will give that a try tomorrow. I do not really have my RaspiPi v2 setup for development so it will take some time. I am unfamilar with "go".
I was able to compile. Here is the tested result: cam2ip (for non-Raspberry Pi version 3)
I had to install the following in order to compile:
- libopencv-dev
- libjpeg-dev
works great! Very interesting working with "go".
Great! You should be able to boost performance a little with libjpegturbo-dev
instead of plain libjpeg. Not sure if that is correct name of package though. Decoding performance of jpegturbo is much better, but It is also slightly faster with encoding (what cam2ip needs and use).
libjpegturbo-dev
was not available in the default depositories. I tried to find one but I gave up. That is why I settled for libjpeg-dev
. If you know of a quality source I will rebuild it.
It is better then to wait for binaries here, probably for new release. Also, binary you have now requires that you install OpenCV runtime libraries on some other RPi (jpeg is probably already installed). I prefer to compile binary with static OpenCV and libjpeg-turbo, so it is more portable, just one file to copy and run.