Compiling with Monodevelop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
* | * First make sure you installed all the dependencies following the instructions on [[Download_And_Installation#Linux | this page]] | ||
* Go to the solution directory | * Go to the solution directory | ||
Line 8: | Line 8: | ||
<code> monodevelop Emgu.CV.Example_VS2005.sln </code> | <code> monodevelop Emgu.CV.Example_VS2005.sln </code> | ||
* Monodevelop GUI will show up. | * Monodevelop GUI will show up. Try to build the solution and you might get an error message saying "System.ServiceModel" reference cannot be found. If you get this error message, it simply means Monodevelop cannot find System.ServiceModel.dll on your Linux distribution. On Fedora 10, this dll is included on the mono-extra package. Make sure it is installed, then remove the existing reference of System.ServiceModel and add a new reference by browsing to the installation folder of System.ServiceModel.dll on your linux distribution and adding it to your project. On Fedora 10, this file is located under: | ||
<code>/usr/lib/mono/gac/System.ServiceModel/3.0.0.0__b77a5c561934e089</code> | |||
* Build the "Hello world" example | * Build and run the "Hello world" example | ||
[[Image:Monodevelop_Helloworld.png|center|thumb|200px|Running "Hello World in Monodevelop]] | [[Image:Monodevelop_Helloworld.png|center|thumb|200px|Running "Hello World in Monodevelop]] | ||
* Build and run the "Shape Detection" example | |||
[[Image:Monodevelop_ShapeDetecion.png|center|thumb|200px|Running "Shape Detection in Monodevelop]] |
Latest revision as of 09:29, 23 October 2012
- First make sure you installed all the dependencies following the instructions on this page
- Go to the solution directory
cd Solution\VS2005_MonoDevelop
- Open the solution using monodevelop with the following command
monodevelop Emgu.CV.Example_VS2005.sln
- Monodevelop GUI will show up. Try to build the solution and you might get an error message saying "System.ServiceModel" reference cannot be found. If you get this error message, it simply means Monodevelop cannot find System.ServiceModel.dll on your Linux distribution. On Fedora 10, this dll is included on the mono-extra package. Make sure it is installed, then remove the existing reference of System.ServiceModel and add a new reference by browsing to the installation folder of System.ServiceModel.dll on your linux distribution and adding it to your project. On Fedora 10, this file is located under:
/usr/lib/mono/gac/System.ServiceModel/3.0.0.0__b77a5c561934e089
- Build and run the "Hello world" example

- Build and run the "Shape Detection" example
