mono/monotouch-bindings — Issue #14: CorePlot.dll compilation failed
Author: Emasoft
Created: 2011-10-31 16:39:05+00:00
State: open

I've tried to compile CorePlot.dll, but it doesn't work. This is the error:

mkdir ios
sed 's/MonoMac/MonoTouch/g' < coreplot.cs > ios/coreplot.cs
mkdir ios
mkdir: ios: File exists
make: [ios/enums.cs] Error 1 (ignored)
sed 's/MonoMac/MonoTouch/g' < enums.cs > ios/enums.cs
mkdir ios
mkdir: ios: File exists
make: [ios/extras.cs] Error 1 (ignored)
sed 's/MonoMac/MonoTouch/g' < extras.cs > ios/extras.cs
mkdir ios
mkdir: ios: File exists
make: [CorePlotiOS.dll] Error 1 (ignored)
/Developer/MonoTouch/usr/bin/btouch -d=MONOTOUCH -e ios/coreplot.cs ios/enums.cs --sourceonly=list --tmpdir=ios
/Developer/MonoTouch/usr/bin/smcs -unsafe -target:library -nowarn:436 -nowarn:219 -out:CorePlotiOS.dll -define:MONOTOUCH @list ios/enums.cs ios/extras.cs -r:monotouch.dll
ios/CorePlot/CPTMutableNumericData.g.cs(66,53): warning CS0108: `MonoTouch.CorePlot.CPTMutableNumericData.FromData(MonoTouch.Foundation.NSData, System.IntPtr, MonoTouch.Foundation.NSNumber[])' hides inherited member `MonoTouch.CorePlot.CPTNumericData.FromData(MonoTouch.Foundation.NSData, System.IntPtr, MonoTouch.Foundation.NSNumber[])'. Use the new keyword if hiding was intended
ios/CorePlot/CPTNumericData.g.cs(81,46): (Location of the symbol related to previous warning)
ios/CorePlot/CPTMutableNumericData.g.cs(124,43): warning CS0114: `MonoTouch.CorePlot.CPTMutableNumericData.Shape' hides inherited member `MonoTouch.CorePlot.CPTNumericData.Shape'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
ios/CorePlot/CPTNumericData.g.cs(273,43): (Location of the symbol related to previous warning)
ios/CorePlot/CPTXYAxisSet.g.cs(91,42): warning CS0114: `MonoTouch.CorePlot.CPTXYAxisSet.Axes' hides inherited member `MonoTouch.CorePlot.CPTAxisSet.Axes'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
ios/CorePlot/CPTAxisSet.g.cs(71,42): (Location of the symbol related to previous warning)
ios/CorePlot/CPTXYAxisSet.g.cs(114,45): warning CS0114: `MonoTouch.CorePlot.CPTXYAxisSet.BorderLineStyle' hides inherited member `MonoTouch.CorePlot.CPTAxisSet.BorderLineStyle'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
ios/CorePlot/CPTAxisSet.g.cs(94,45): (Location of the symbol related to previous warning)
ios/CorePlot/CPTBarPlotDataSource.g.cs(45,30): error CS0534: `MonoTouch.CorePlot.CPTBarPlotDataSource' does not implement inherited abstract member `MonoTouch.CorePlot.CPTPlotDataSource.NumberOfRecordsForPlot(MonoTouch.CorePlot.CPTPlot)'
ios/CorePlot/CPTPlotDataSource.g.cs(61,37): (Location of the symbol related to previous error)
ios/CorePlot/CPTPieChartDataSource.g.cs(45,30): error CS0534: `MonoTouch.CorePlot.CPTPieChartDataSource' does not implement inherited abstract member `MonoTouch.CorePlot.CPTPlotDataSource.NumberOfRecordsForPlot(MonoTouch.CorePlot.CPTPlot)'
ios/CorePlot/CPTPlotDataSource.g.cs(61,37): (Location of the symbol related to previous error)
Compilation failed: 2 error(s), 4 warnings
make: *** [CorePlotiOS.dll] Error 1

I'm using MonoTouch 5.0 and MonoDevelop 2.8.1.

I've tried to use the already available library, but I need to bind the latest CorePlot (v 0.9) that solved some issue on iOS 5.