I am new to Linux and I am try to install EMGU on Ubuntu 14.04. I have followed all of the steps and when I get to generating the cmake file I get the following error:
Code: Select all
benjamin@benjamin-P15SM-A-SM1-A:~/emgucv$ cmake -DBUILD_NEW_PYTHON_SUPPORT:BOOL=FALSE -DEMGU_CV_EXAMPLE_BUILD:BOOL=FALSE -DBUILD_TESTS:BOOL=FALSE -DBUILD_DOCS:BOOL=FALSE .
-- Found gacutil: /usr/bin/gacutil
-- Found al: /usr/bin/al
-- Found resgen: /usr/bin/resgen
CMake Error at cmake/modules/FindCSharp.cmake:133 (MESSAGE):
Could not find one or more of the
following programs: csc, gacutil, al, resgen
Call Stack (most recent call first):
CMakeLists.txt:26 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/home/benjamin/emgucv/CMakeFiles/CMakeOutput.log".
I have seen that the solution is to do:
sudo apt-get install mono-gmcs
and
sudo apt-get install mono-mcs
But when I try to install mono-gmcs I get the following error:
Code: Select all
benjamin@benjamin-P15SM-A-SM1-A:~/emgucv$ sudo apt-get install mono-gmcs
[sudo] password for benjamin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mono-gmcs : Depends: mono-mcs (= 3.12.1-0xamarin1) but 4.0.4.1-0xamarin1 is to be installed
E: Unable to correct problems, you have held broken packages.
I have tried redoing all of the steps in EMGU again and I am still getting the same errors. I have also tried reinstalling all of the mono packages, still with no luck.
Any help would be appreciated.