Cross compile opencv raspberry pi
Hi Guys,
I was trying to cross compile opencv to raspberry pi from my ubuntu (12.04). I actually almost succeeded, I mean it compiles, I copy the binary file to raspberry and then getting error:
./test: error while loading shared libraries: libopencv_imgproc.so.3.0 cannot open shared object file: No such file or directory.
According to my knowledge that means that it looks for that particular library. Does it mean that I need to have same version of opencv installed on both machines (host and target)?
If yes, then cross compilation becomes useless as I can compile natively on raspberry pi.
If no, how to walk around this error?