[Cocoa-sharp] Monodoc won't compile (was Re: PING?)

Edward J. Sabol sabol@alderaan.gsfc.nasa.gov
Tue, 18 Jan 2005 21:00:18 -0500


kangaroo wrote:
> mono-1.1.3 currently has a compiler bug in the released version that 
> prevents the building of cocoa# (this is already fixed for 1.1.4)  So 
> either compile it with 1.0.5; or wait for the binary packages 
> (hopefully this week if adhamh feels better)

Does this also explain why the cocoa# monodoc in the SVN repository won't
compile? I'm using Mono 1.1.3 and a cocoa-sharp-nightly.tar.gz from about a
week ago. I just checked out cocoa-sharp from SVN and attempted to build
monodoc, like so:

> make -f Makefile.am 
rm -Rf monodoc.app
mkdir -p monodoc.app/Contents/Resources
mcs -debug -out:monodoc.app/Contents/Resources/Monodoc.exe browser.cs Contributions.cs XmlNodeWriter.cs catalog.cs -resource:./monodoc.png,monodoc.png -r:System.Web.Services.dll -pkg:cocoa-sharp -r:tmp/monodoc.dll
browser.cs(129) error CS1502: The best overloaded match for method 'void Apple.WebKit.WebFrame.loadHTMLString_baseURL (string, Apple.Foundation.NSURL)' has some invalid arguments
browser.cs(129) error CS1503: Argument 0: Cannot convert from 'Apple.Foundation.NSString' to 'string'
browser.cs(129) error CS1501: No overload for method `loadHTMLString_baseURL' takes `2' arguments
browser.cs(141) error CS1502: The best overloaded match for method 'void Apple.WebKit.WebFrame.loadHTMLString_baseURL (string, Apple.Foundation.NSURL)' has some invalid arguments
browser.cs(141) error CS1503: Argument 0: Cannot convert from 'Apple.Foundation.NSString' to 'string'
browser.cs(141) error CS1501: No overload for method `loadHTMLString_baseURL' takes `2' arguments
browser.cs(159) error CS1502: The best overloaded match for method 'void Apple.WebKit.WebFrame.loadHTMLString_baseURL (string, Apple.Foundation.NSURL)' has some invalid arguments
browser.cs(159) error CS1503: Argument 0: Cannot convert from 'Apple.Foundation.NSString' to 'string'
browser.cs(159) error CS1501: No overload for method `loadHTMLString_baseURL' takes `2' arguments
browser.cs(183) error CS1502: The best overloaded match for method 'void Apple.WebKit.WebFrame.loadHTMLString_baseURL (string, Apple.Foundation.NSURL)' has some invalid arguments
browser.cs(183) error CS1503: Argument 0: Cannot convert from 'Apple.Foundation.NSString' to 'string'
browser.cs(183) error CS1501: No overload for method `loadHTMLString_baseURL' takes `2' arguments
browser.cs(196) error CS0103: The name `Application.Init' could not be found in `Monodoc.Browser'
browser.cs(198) error CS0103: The name `Application.LoadFramework' could not be found in `Monodoc.Browser'
browser.cs(199) error CS0103: The name `Application.LoadNib' could not be found in `Monodoc.Browser'
browser.cs(200) error CS0103: The name `Application.Run' could not be found in `Monodoc.Browser'
browser.cs(278) error CS0029: Cannot convert implicitly from `Apple.Foundation.NSString' to `string'
browser.cs(280) error CS0029: Cannot convert implicitly from `Apple.Foundation.NSString' to `string'
Compilation failed: 18 error(s), 0 warnings
make: *** [monodoc] Error 1

Thanks,
Ed