Hello, Im pretty new to C# and Mono for Android/MonoTouch. We intend to use Mono to port an image-processing related app that we developed.
We want to add http://opencv.willowgarage.com/wiki/ OpenCV features in Mono for Android as we use them already in our app (using a wrapper of OpenCV to java called https://code.google.com/p/javacv/ JavaCV - OpenCV is a c++ library). The wrapper that we want to use for our Mono for Android project is https://code.google.com/p/opencvsharp/ OpenCvSharp . This wrapper is written in C# and compiles and run on Unix Environment just adding the precompiled .dll references to the MonoDevelop project. Being a noob in C# i would have thought that adding the reference dll in the Mono for Android project would do the trick but apparently it does not. Just adding the reference i can manage to build but when i run i get this error: /Library/Frameworks/Mono.framework/External/xbuild/Novell/Novell.MonoDroid.Common.targets: Error: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile? File name: 'System.Drawing.dll' at Monodroid.Tuner.MonoDroidResolver.Resolve (Mono.Cecil.AssemblyNameReference reference, Mono.Cecil.ReaderParameters parameters) [0x00000] in <filename unknown>:0 at Monodroid.Tuner.MonoDroidResolver.Resolve (Mono.Cecil.AssemblyNameReference reference) [0x00000] in <filename unknown>:0 at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences (System.Collections.Generic.List`1 assemblies, Mono.Cecil.AssemblyDefinition assembly) [0x00000] in <filename unknown>:0 at Xamarin.Android.Tasks.ResolveAssemblies.Execute () [0x00000] in <filename unknown>:0 With my best regards, -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/How-to-add-a-precompiled-3rd-party-dll-library-to-a-mono-droid-or-mono-touch-project-tp5711323.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid