Ask Your Question

justas's profile - activity

2013-12-31 06:19:41 -0600 commented question problem with cv.h header file

please copy the error, otherwise we have no idea to what it is related to

2013-12-30 07:18:59 -0600 received badge  Supporter (source)
2013-12-30 07:18:57 -0600 received badge  Supporter (source)
2013-12-30 03:37:30 -0600 commented answer Cross compile opencv raspberry pi

But can I build opencv in a way, that I would not need to have it on RPi? Because opencv is not so small. Also the one I made on host is 3.0 and I installed on rpi using apt-get install libopencv-dev which gave me 2.3

2013-12-29 16:21:28 -0600 asked a question 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?