View Single Post
  #6   Spotlight this post!  
Unread 15-03-2016, 08:41
Wishbonea's Avatar
Wishbonea Wishbonea is offline
Registered User
FRC #2062
Team Role: Programmer
 
Join Date: Mar 2016
Rookie Year: 2008
Location: Wisconsin
Posts: 11
Wishbonea is an unknown quantity at this point
Re: mjpg-streamer now with OpenCV input plugin (+filtering)

I also spent some time working on it last night, and we found that cmake was using python 2 as its python interpreter when building. After some troubleshooting, we managed to make it build cvfilter_py.so correctly by setting the PYTHON_EXECUTABLE to /usr/bin/python3 instead of /usr/bin/python. Although this seems to have fixed the issue with cmake not finding python to build cvfilter_py.so, it has not fixed the numpy import error when running cvfilter_py.so.

Running ldd on cvfilter_py.so shows that it has decided to link against libpython3.4m.so.1.0
Reply With Quote