I need to install Emgu CV, a .NET wrapper for OpenCV, for my robotics programming class at the instructor's request. The documentation for this software indicates that it is cross-platform and can be used on Ubuntu using MonoDevelop, but requires compilation first. Since my laptop only runs Ubuntu, this what I'm attempting to set up.
I got through compiling the library just fine and was even able to successfully run the test .monoexe application it comes with, but the problem I'm having is with trying to install the generated .deb package. When I navigate into the
~/emgucv directory after building the package and run the following command to install it from the command line, just like any other package:
sudo dpkg -i libemgucv-x64-tbb-22.214.171.1242.deb
...the package fails to install due to dependency issues, and requires me to run
apt-get install -f to fix my package system:
Selecting previously unselected package emgucv-x64-tbb. (Reading database ... 301667 files and directories currently installed.) Preparing to unpack libemgucv-x64-tbb-126.96.36.1992.deb ... Unpacking emgucv-x64-tbb (188.8.131.522) ... dpkg: dependency problems prevent configuration of emgucv-x64-tbb: emgucv-x64-tbb depends on libmono-wcf3.0-cil; however: Package libmono-wcf3.0-cil is not installed. emgucv-x64-tbb depends on libavcodec53; however: Package libavcodec53 is not installed. emgucv-x64-tbb depends on libswscale2; however: Package libswscale2 is not installed. emgucv-x64-tbb depends on libavformat53; however: Package libavformat53 is not installed. emgucv-x64-tbb depends on libopenexr6; however: Package libopenexr6 is not installed. dpkg: error processing package emgucv-x64-tbb (--install): dependency problems - leaving unconfigured Errors were encountered while processing: emgucv-x64-tbb
How can I resolve these errors and properly install the package? The documentation seems to indicate that the installation instructions have not been updated since Ubuntu 11.04/14.04 LTS, but I'm trying to install this on Ubuntu 15.10. Help would be much appreciated — if I can't get this to work, I'll be forced to use Windows and Visual Studio instead.