View Single Post
  #17   Spotlight this post!  
Unread 04-05-2015, 00:34
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Raspberry Pi C++

That's quite a simple problem to understand, but I don't know how to fix it.

If you notice, in the error, there's some version info about the shared object file.
If this isn't the same, you will often get an error.

I guess that you can try getting that shared object from the system which compiled the code and place it in the libraries folder in your system. You'll need to run ldconfig to flush the changes. After that, it should work magically.

Ideally, you would want to just compile the software on your Pi. OpenCV's CMakeLists.txt is very smart and will automatically optimize your build for what's available for it to use. This way, it can add optimizations such as better GPU acceleration, etc.

Compiling on your Pi will also get rid of the error because you will have compiled your software using libraries already present on your system.