<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1375</id>
	<title>Nabble - Mono - OSX</title>
	<updated>2009-11-28T14:06:11Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Mono---OSX-f1375.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mono---OSX-f1375.html" />
	<subtitle type="html">Discuss Mono on Mac OS X.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26557394</id>
	<title>MonoTouch like development experience for Mac</title>
	<published>2009-11-28T14:06:11Z</published>
	<updated>2009-11-28T14:06:11Z</updated>
	<author>
		<name>Kevin Heeney</name>
	</author>
	<content type="html">I have been playing around with MonoTouch and I must say that I am impressed at how well done it is and how complete the development workflow is.  The key aspect in my opinion is the integration with MonoDevelop.  Are there plans for a similar experience for developing Mac OS X applications with Cocoa and MonoDevelop?  I would imagine that people, myself included, would pay for something like that with a licensing system similar to that of MonoTouch.&lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks,&lt;/div&gt;&lt;div&gt;Kevin&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557394&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MonoTouch-like-development-experience-for-Mac-tp26557394p26557394.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557153</id>
	<title>Re: Requesting tool attention for OS X</title>
	<published>2009-11-28T13:35:57Z</published>
	<updated>2009-11-28T13:35:57Z</updated>
	<author>
		<name>Miguel de Icaza-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Another option is for someone to complete the Monodoc/Cocoa# &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; version so that
&lt;br&gt;&amp;gt;&amp;gt; we can ship that by default (it has to be Cocoa# because we do ship &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; that
&lt;br&gt;&amp;gt;&amp;gt; already with Mono) or it could be written against one of the other &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; bindings
&lt;br&gt;&amp;gt;&amp;gt; for Cocoa, but it would have to be shipped as a separate tool.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is Cocoa# the de facto / recommended framework on Mac? There are a few
&lt;br&gt;&amp;gt; out there and I've lost track as to which is &amp;quot;the one to use&amp;quot;.
&lt;/div&gt;&lt;br&gt;Well, we do ship Cocoa# but it has not been maintained for a long &amp;nbsp;
&lt;br&gt;time. &amp;nbsp; I am merely saying that if we want this to be part of the core &amp;nbsp;
&lt;br&gt;Mono, it has to be done using Cocoa# as we do not currently plan on &amp;nbsp;
&lt;br&gt;bundling any of the other libraries until one of them emerges as the &amp;nbsp;
&lt;br&gt;clear superior framework.
&lt;br&gt;&lt;br&gt;That being said, I did look at the other frameworks a few months ago, &amp;nbsp;
&lt;br&gt;and they had various degrees of completeness, design goals and &amp;nbsp;
&lt;br&gt;licenses. &amp;nbsp; I would not say that there is any framework (including &amp;nbsp;
&lt;br&gt;Cocoa#) that I really like.
&lt;br&gt;&lt;br&gt;For us to bundle a new Mac framework it would have to satisfy a couple &amp;nbsp;
&lt;br&gt;of requirements:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * MIT X11, Apache 2 or MS-PL licensed class libraries.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * Commitment to API backwards compatibility.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * It should probably be closer to what we did with MonoTouch's API &amp;nbsp;
&lt;br&gt;design than to Objective-C's native APIs.
&lt;br&gt;&lt;br&gt;Mono has accumulated third party libraries over the years that did not &amp;nbsp;
&lt;br&gt;meet some of these criteria and we ended up with the burden of &amp;nbsp;
&lt;br&gt;maintenance, so I would not like to repeat that. &amp;nbsp; In particular we &amp;nbsp;
&lt;br&gt;have ended up in a situation where we either deprecate libraries, try &amp;nbsp;
&lt;br&gt;to merge two APIs and expose them both and do multiple builds or ship &amp;nbsp;
&lt;br&gt;two versions of the same library. &amp;nbsp; I would not like to repeat this &amp;nbsp;
&lt;br&gt;process, not for the Mac, and not for anything else.
&lt;br&gt;&lt;br&gt;In the short term, Cocoa# is what we have, and although not perfect, &amp;nbsp;
&lt;br&gt;it is bundled and would be fine to build a tool like native MonoDoc.
&lt;br&gt;&lt;br&gt;Miguel.
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557153&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26557153.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557141</id>
	<title>Re: Requesting tool attention for OS X</title>
	<published>2009-11-28T13:29:29Z</published>
	<updated>2009-11-28T13:29:29Z</updated>
	<author>
		<name>Miguel de Icaza-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Another option is for someone to complete the Monodoc/Cocoa# &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; version so that
&lt;br&gt;&amp;gt;&amp;gt; we can ship that by default (it has to be Cocoa# because we do ship &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; that
&lt;br&gt;&amp;gt;&amp;gt; already with Mono) or it could be written against one of the other &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; bindings
&lt;br&gt;&amp;gt;&amp;gt; for Cocoa, but it would have to be shipped as a separate tool.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is Cocoa# the de facto / recommended framework on Mac? There are a few
&lt;br&gt;&amp;gt; out there and I've lost track as to which is &amp;quot;the one to use&amp;quot;.
&lt;/div&gt;&lt;br&gt;Well, we do ship Cocoa# but it has not been maintained for a long &amp;nbsp;
&lt;br&gt;time. &amp;nbsp; I am merely saying that if we want this to be part of the core &amp;nbsp;
&lt;br&gt;Mono, it has to be done using Cocoa# as we do not currently plan on &amp;nbsp;
&lt;br&gt;bundling any of the other libraries until one of them emerges as the &amp;nbsp;
&lt;br&gt;clear superior framework.
&lt;br&gt;&lt;br&gt;That being said, I did look at the other frameworks a few months ago, &amp;nbsp;
&lt;br&gt;and they had various degrees of completeness, design goals and &amp;nbsp;
&lt;br&gt;licenses. &amp;nbsp; I would not say that there is any framework (including &amp;nbsp;
&lt;br&gt;Cocoa#) that I really like.
&lt;br&gt;&lt;br&gt;For us to bundle a new Mac framework it would have to satisfy a couple &amp;nbsp;
&lt;br&gt;of requirements:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * MIT X11, Apache 2 or MS-PL licensed class libraries.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * Commitment to API backwards compatibility.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * It should probably be closer to what we did with MonoTouch's API &amp;nbsp;
&lt;br&gt;design than to Objective-C's native APIs.
&lt;br&gt;&lt;br&gt;Mono has accumulated third party libraries over the years that did not &amp;nbsp;
&lt;br&gt;meet some of these criteria and we ended up with the burden of &amp;nbsp;
&lt;br&gt;maintenance, so I would not like to repeat that. &amp;nbsp; In particular we &amp;nbsp;
&lt;br&gt;have ended up in a situation where we either deprecate libraries, try &amp;nbsp;
&lt;br&gt;to merge two APIs and expose them both and do multiple builds or ship &amp;nbsp;
&lt;br&gt;two versions of the same library. &amp;nbsp; I would not like to repeat this &amp;nbsp;
&lt;br&gt;process, not for the Mac, and not for anything else.
&lt;br&gt;&lt;br&gt;In the short term, Cocoa# is what we have, and although not perfect, &amp;nbsp;
&lt;br&gt;it is bundled and would be fine to build a tool like native MonoDoc.
&lt;br&gt;&lt;br&gt;Miguel.
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557141&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26557141.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555960</id>
	<title>Re: Requesting tool attention for OS X</title>
	<published>2009-11-28T11:02:30Z</published>
	<updated>2009-11-28T11:02:30Z</updated>
	<author>
		<name>Chuck Esterbrook</name>
	</author>
	<content type="html">On Sat, Nov 28, 2009 at 10:45 AM, Miguel de Icaza &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555960&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;miguel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&lt;br&gt;Thanks. In addition to helping me understand, it shows that there is
&lt;br&gt;awareness on all these issues on the Mono team.
&lt;br&gt;&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; Another option is for someone to complete the Monodoc/Cocoa# version so that
&lt;br&gt;&amp;gt; we can ship that by default (it has to be Cocoa# because we do ship that
&lt;br&gt;&amp;gt; already with Mono) or it could be written against one of the other bindings
&lt;br&gt;&amp;gt; for Cocoa, but it would have to be shipped as a separate tool.
&lt;br&gt;&lt;br&gt;Is Cocoa# the de facto / recommended framework on Mac? There are a few
&lt;br&gt;out there and I've lost track as to which is &amp;quot;the one to use&amp;quot;.
&lt;br&gt;&lt;br&gt;-Chuck
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555960&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555960.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555816</id>
	<title>Re: Re questing tool attention for OS X</title>
	<published>2009-11-28T10:46:31Z</published>
	<updated>2009-11-28T10:46:31Z</updated>
	<author>
		<name>Miguel de Icaza-2</name>
	</author>
	<content type="html">&amp;gt;
&lt;br&gt;&amp;gt; I think this is the conflict between Mono pkg-config and MacPorts &amp;nbsp;
&lt;br&gt;&amp;gt; pkg-config.
&lt;br&gt;&lt;br&gt;RIght, so you need to fix that in your local setup.
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555816&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555816.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555796</id>
	<title>Re: Requesting tool attention for OS X</title>
	<published>2009-11-28T10:45:21Z</published>
	<updated>2009-11-28T10:45:21Z</updated>
	<author>
		<name>Miguel de Icaza-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;gt; Poking around the web, I found &amp;quot;monodoc&amp;quot;
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://www.mono-project.com/Monodoc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mono-project.com/Monodoc&lt;/a&gt;), but it doesn't appear to be
&lt;br&gt;&amp;gt; available for Mac.
&lt;br&gt;&lt;br&gt;Correct; &amp;nbsp; The problem is that Monodoc needs an HTML rendering &amp;nbsp;
&lt;br&gt;control, and none of the HTML engines available for Gtk+ have been &amp;nbsp;
&lt;br&gt;made part of the Gtk+ distribution due to the complexity of building &amp;nbsp;
&lt;br&gt;them. &amp;nbsp;Until that can be solved, the standard Monodoc will not be &amp;nbsp;
&lt;br&gt;available.
&lt;br&gt;&lt;br&gt;Another option is for someone to complete the Monodoc/Cocoa# version &amp;nbsp;
&lt;br&gt;so that we can ship that by default (it has to be Cocoa# because we do &amp;nbsp;
&lt;br&gt;ship that already with Mono) or it could be written against one of the &amp;nbsp;
&lt;br&gt;other bindings for Cocoa, but it would have to be shipped as a &amp;nbsp;
&lt;br&gt;separate tool.
&lt;br&gt;&lt;br&gt;&amp;gt; I saw someone reference &amp;quot;mdb&amp;quot; in IRC, but that's missing too.
&lt;br&gt;&lt;br&gt;We do not ship MDB yet, mostly because we have dropped the ball there.
&lt;br&gt;&lt;br&gt;For mdb to work on new OSX versions, we have to sign the executable, &amp;nbsp;
&lt;br&gt;and although it is on the TODO list for the packaging team, the team &amp;nbsp;
&lt;br&gt;has been busy with other things, so mdb does not yet work in a usable &amp;nbsp;
&lt;br&gt;state, despite the fact that it does work.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555796&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555796.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555771</id>
	<title>Re: Re questing tool attention for OS X</title>
	<published>2009-11-28T10:42:16Z</published>
	<updated>2009-11-28T10:42:16Z</updated>
	<author>
		<name>Miguel de Icaza-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;gt; I do have multiple Mono's installed with the current one pointing to
&lt;br&gt;&amp;gt; 2.6. Seems like MonoDevelop should say &amp;quot;2.4 only&amp;quot; or &amp;quot;cannot have
&lt;br&gt;&amp;gt; multiple Monos&amp;quot; instead of &amp;quot;you don't have 2.4 or later&amp;quot;.
&lt;br&gt;&lt;br&gt;Right, the last MonoDevelop 2.2 beta was botched in this regard, this &amp;nbsp;
&lt;br&gt;was fixed on SVN, but we have not issued a new preview of MonoDevelop &amp;nbsp;
&lt;br&gt;since.
&lt;br&gt;&lt;br&gt;You can fix this for now by editing the monodevelop script and &amp;nbsp;
&lt;br&gt;removing that check.
&lt;br&gt;&lt;br&gt;Miguel
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555771&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555771.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555743</id>
	<title>Re: Re questing tool attention for OS X</title>
	<published>2009-11-28T10:33:02Z</published>
	<updated>2009-11-28T10:33:02Z</updated>
	<author>
		<name>Chuck Esterbrook</name>
	</author>
	<content type="html">Thanks for the tip. I tried it and get:
&lt;br&gt;&lt;br&gt;$ &amp;nbsp;export AS=&amp;quot;as -arch i386&amp;quot;
&lt;br&gt;$ &amp;nbsp;mkbundle -o hello hello.exe --deps
&lt;br&gt;OS is: Darwin
&lt;br&gt;Sources: 1 Auto-dependencies: True
&lt;br&gt;&amp;nbsp; &amp;nbsp;embedding: /Users/chuck/Scrap/dev/sharp/hello.exe
&lt;br&gt;&amp;nbsp; &amp;nbsp;embedding: /Library/Frameworks/Mono.framework/Versions/2.6/lib/mono/2.0/mscorlib.dll
&lt;br&gt;Compiling:
&lt;br&gt;as -arch i386 -o temp.o temp.s
&lt;br&gt;cc -g -o hello -Wall temp.c `pkg-config --cflags --libs mono` &amp;nbsp;temp.o
&lt;br&gt;Package mono was not found in the pkg-config search path.
&lt;br&gt;Perhaps you should add the directory containing `mono.pc'
&lt;br&gt;to the PKG_CONFIG_PATH environment variable
&lt;br&gt;No package 'mono' found
&lt;br&gt;temp.c:2:36: error: mono/metadata/assembly.h: No such file or directory
&lt;br&gt;temp.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
&lt;br&gt;before ‘assembly_bundle_hello_exe’
&lt;br&gt;temp.c:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
&lt;br&gt;before ‘assembly_bundle_mscorlib_dll’
&lt;br&gt;temp.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
&lt;br&gt;before ‘*’ token
&lt;br&gt;temp.c:21: error: ‘NULL’ undeclared here (not in a function)
&lt;br&gt;temp.c: In function ‘mono_mkbundle_init’:
&lt;br&gt;temp.c:25: warning: implicit declaration of function
&lt;br&gt;‘mono_register_bundled_assemblies’
&lt;br&gt;temp.c:25: error: ‘bundled’ undeclared (first use in this function)
&lt;br&gt;temp.c:25: error: (Each undeclared identifier is reported only once
&lt;br&gt;temp.c:25: error: for each function it appears in.)
&lt;br&gt;temp.c: In function ‘main’:
&lt;br&gt;temp.c:117: warning: implicit declaration of function ‘mono_set_dirs’
&lt;br&gt;[Fail]
&lt;br&gt;&lt;br&gt;I think this is the conflict between Mono pkg-config and MacPorts pkg-config.
&lt;br&gt;&lt;br&gt;-Chuck
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sat, Nov 28, 2009 at 10:17 AM, Duane Wandless &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555743&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;duane@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Regarding the mkbundle error, try:
&lt;br&gt;&amp;gt; export AS=&amp;quot;as -arch i386&amp;quot;
&lt;br&gt;&amp;gt; mkbundle....
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sat, Nov 28, 2009 at 12:56 PM, Stifu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555743&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stifu@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; About MonoDevelop not working, telling you you don't have Mono 2.4 or
&lt;br&gt;&amp;gt;&amp;gt; later,
&lt;br&gt;&amp;gt;&amp;gt; this can happen if you have multiple versions of Mono installed. You could
&lt;br&gt;&amp;gt;&amp;gt; double check it's not the case.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Chuck Esterbrook wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Poking around the web, I found &amp;quot;monodoc&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; (&lt;a href=&quot;http://www.mono-project.com/Monodoc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mono-project.com/Monodoc&lt;/a&gt;), but it doesn't appear to be
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; available for Mac.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I saw someone reference &amp;quot;mdb&amp;quot; in IRC, but that's missing too.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; There is also &amp;quot;mkbundle&amp;quot;, which is present, but not working:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; $ mkbundle -o hello hello.exe --deps
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; OS is: Darwin
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Sources: 1 Auto-dependencies: True
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;    embedding: /Users/chuck/Scrap/dev/sharp/hello.exe
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;    embedding:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; /Library/Frameworks/Mono.framework/Versions/2.4.2.3/lib/mono/2.0/mscorlib.dll
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Compiling:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; as -o temp.o temp.s
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; temp.s:2:unknown section type: symbol_stubs
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; temp.s:2:Rest of line ignored. 1st junk character valued 112 (p).
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; temp.s:3082:unknown section type: symbol_stubs
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; temp.s:3082:Rest of line ignored. 1st junk character valued 112 (p).
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; [Fail]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; That's all on Mono 2.4.2.3 on OS X 10.6.1.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I just installed Mono 2.6 preview 1 with no improvement.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Then I tried MonoDevelop for the first time. It won't launch because
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; it claims that I don't have Mono 2.4 or later (obviously I do). There
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; is a MonoDevelop preview download listed with the Mono 2.6 preview,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; but it's MonoDevelop 2.0 instead of 2.2.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Mono works great for me on Mac in terms of compilers and non-GUI
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; libraries. But the other tools seem non-existant or broken.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Are there any insights from Mono project folks such as &amp;quot;get monodoc
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; here&amp;quot; or &amp;quot;change mkbundle options to this&amp;quot;?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; If I need to fill out bug reports, let me know.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; -Chuck
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Mono-osx mailing list
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555743&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555390.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555390.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Sent from the Mono - OSX mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Mono-osx mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555743&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-osx mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555743&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555743&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555743.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555631</id>
	<title>Re: Re questing tool attention for OS X</title>
	<published>2009-11-28T10:23:40Z</published>
	<updated>2009-11-28T10:23:40Z</updated>
	<author>
		<name>Chuck Esterbrook</name>
	</author>
	<content type="html">Thanks for the comment.
&lt;br&gt;&lt;br&gt;I do have multiple Mono's installed with the current one pointing to
&lt;br&gt;2.6. Seems like MonoDevelop should say &amp;quot;2.4 only&amp;quot; or &amp;quot;cannot have
&lt;br&gt;multiple Monos&amp;quot; instead of &amp;quot;you don't have 2.4 or later&amp;quot;.
&lt;br&gt;&lt;br&gt;Sorry if that sounds picky, but user experience is important too.
&lt;br&gt;&lt;br&gt;In /Library/Frameworks/Mono.framework/Versions, I have 2.4, 2.4.2.3
&lt;br&gt;and 2.6. I &amp;quot;sudo rm -rf&amp;quot;ed 2.4 and still get the message. Then I
&lt;br&gt;killed 2.4.2.3, with only 1 mono remaining, but still get the same
&lt;br&gt;message. MonoDevelop 2.2 beta 2 says it wants 2.4.2.3_6 or later but
&lt;br&gt;what it really wants is &amp;gt;= 2.4.2.3_6 and &amp;lt; 2.6.
&lt;br&gt;&lt;br&gt;Okay, so next I remove MonoDevelop 2.2 beta 2 and install the 2.0
&lt;br&gt;version presented with Mono 2.6 preview 1. It launches, and creating a
&lt;br&gt;Console application goes well. Next I create a Gnome# solution, but it
&lt;br&gt;fails to compile because:
&lt;br&gt;&lt;br&gt;The type or namespace name `Gtk' could not be found. Are you missing a
&lt;br&gt;using directive or an assembly reference?
&lt;br&gt;&lt;br&gt;However, I already tested that I can build and run a GTK# application
&lt;br&gt;from the command line, so I'm not expecting such an error.
&lt;br&gt;&lt;br&gt;This experience is all kinds of FAIL.
&lt;br&gt;&lt;br&gt;(Btw I know the next step is to check for the GTK# reference in the solution.)
&lt;br&gt;&lt;br&gt;-Chuck
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sat, Nov 28, 2009 at 9:56 AM, Stifu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555631&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stifu@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; About MonoDevelop not working, telling you you don't have Mono 2.4 or later,
&lt;br&gt;&amp;gt; this can happen if you have multiple versions of Mono installed. You could
&lt;br&gt;&amp;gt; double check it's not the case.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Chuck Esterbrook wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Poking around the web, I found &amp;quot;monodoc&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; (&lt;a href=&quot;http://www.mono-project.com/Monodoc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mono-project.com/Monodoc&lt;/a&gt;), but it doesn't appear to be
&lt;br&gt;&amp;gt;&amp;gt; available for Mac.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I saw someone reference &amp;quot;mdb&amp;quot; in IRC, but that's missing too.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; There is also &amp;quot;mkbundle&amp;quot;, which is present, but not working:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; $ mkbundle -o hello hello.exe --deps
&lt;br&gt;&amp;gt;&amp;gt; OS is: Darwin
&lt;br&gt;&amp;gt;&amp;gt; Sources: 1 Auto-dependencies: True
&lt;br&gt;&amp;gt;&amp;gt;    embedding: /Users/chuck/Scrap/dev/sharp/hello.exe
&lt;br&gt;&amp;gt;&amp;gt;    embedding:
&lt;br&gt;&amp;gt;&amp;gt; /Library/Frameworks/Mono.framework/Versions/2.4.2.3/lib/mono/2.0/mscorlib.dll
&lt;br&gt;&amp;gt;&amp;gt; Compiling:
&lt;br&gt;&amp;gt;&amp;gt; as -o temp.o temp.s
&lt;br&gt;&amp;gt;&amp;gt; temp.s:2:unknown section type: symbol_stubs
&lt;br&gt;&amp;gt;&amp;gt; temp.s:2:Rest of line ignored. 1st junk character valued 112 (p).
&lt;br&gt;&amp;gt;&amp;gt; temp.s:3082:unknown section type: symbol_stubs
&lt;br&gt;&amp;gt;&amp;gt; temp.s:3082:Rest of line ignored. 1st junk character valued 112 (p).
&lt;br&gt;&amp;gt;&amp;gt; [Fail]
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; That's all on Mono 2.4.2.3 on OS X 10.6.1.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I just installed Mono 2.6 preview 1 with no improvement.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Then I tried MonoDevelop for the first time. It won't launch because
&lt;br&gt;&amp;gt;&amp;gt; it claims that I don't have Mono 2.4 or later (obviously I do). There
&lt;br&gt;&amp;gt;&amp;gt; is a MonoDevelop preview download listed with the Mono 2.6 preview,
&lt;br&gt;&amp;gt;&amp;gt; but it's MonoDevelop 2.0 instead of 2.2.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Mono works great for me on Mac in terms of compilers and non-GUI
&lt;br&gt;&amp;gt;&amp;gt; libraries. But the other tools seem non-existant or broken.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Are there any insights from Mono project folks such as &amp;quot;get monodoc
&lt;br&gt;&amp;gt;&amp;gt; here&amp;quot; or &amp;quot;change mkbundle options to this&amp;quot;?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If I need to fill out bug reports, let me know.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Chuck
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Mono-osx mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555631&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555390.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555390.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Mono - OSX mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-osx mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555631&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555631&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555631.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555588</id>
	<title>Re: Re questing tool attention for OS X</title>
	<published>2009-11-28T10:17:56Z</published>
	<updated>2009-11-28T10:17:56Z</updated>
	<author>
		<name>duanew</name>
	</author>
	<content type="html">Regarding the mkbundle error, try:&lt;br&gt;export AS=&amp;quot;as -arch i386&amp;quot;&lt;br&gt;mkbundle....&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Nov 28, 2009 at 12:56 PM, Stifu &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555588&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stifu@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;
Hello,&lt;br&gt;
&lt;br&gt;
About MonoDevelop not working, telling you you don&amp;#39;t have Mono 2.4 or later,&lt;br&gt;
this can happen if you have multiple versions of Mono installed. You could&lt;br&gt;
double check it&amp;#39;s not the case.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
Chuck Esterbrook wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Poking around the web, I found &amp;quot;monodoc&amp;quot;&lt;br&gt;
&amp;gt; (&lt;a href=&quot;http://www.mono-project.com/Monodoc&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.mono-project.com/Monodoc&lt;/a&gt;), but it doesn&amp;#39;t appear to be&lt;br&gt;
&amp;gt; available for Mac.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I saw someone reference &amp;quot;mdb&amp;quot; in IRC, but that&amp;#39;s missing too.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; There is also &amp;quot;mkbundle&amp;quot;, which is present, but not working:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; $ mkbundle -o hello hello.exe --deps&lt;br&gt;
&amp;gt; OS is: Darwin&lt;br&gt;
&amp;gt; Sources: 1 Auto-dependencies: True&lt;br&gt;
&amp;gt;    embedding: /Users/chuck/Scrap/dev/sharp/hello.exe&lt;br&gt;
&amp;gt;    embedding:&lt;br&gt;
&amp;gt; /Library/Frameworks/Mono.framework/Versions/&lt;a href=&quot;http://2.4.2.3/lib/mono/2.0/mscorlib.dll&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;2.4.2.3/lib/mono/2.0/mscorlib.dll&lt;/a&gt;&lt;br&gt;
&amp;gt; Compiling:&lt;br&gt;
&amp;gt; as -o temp.o temp.s&lt;br&gt;
&amp;gt; temp.s:2:unknown section type: symbol_stubs&lt;br&gt;
&amp;gt; temp.s:2:Rest of line ignored. 1st junk character valued 112 (p).&lt;br&gt;
&amp;gt; temp.s:3082:unknown section type: symbol_stubs&lt;br&gt;
&amp;gt; temp.s:3082:Rest of line ignored. 1st junk character valued 112 (p).&lt;br&gt;
&amp;gt; [Fail]&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; That&amp;#39;s all on Mono 2.4.2.3 on OS X 10.6.1.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I just installed Mono 2.6 preview 1 with no improvement.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Then I tried MonoDevelop for the first time. It won&amp;#39;t launch because&lt;br&gt;
&amp;gt; it claims that I don&amp;#39;t have Mono 2.4 or later (obviously I do). There&lt;br&gt;
&amp;gt; is a MonoDevelop preview download listed with the Mono 2.6 preview,&lt;br&gt;
&amp;gt; but it&amp;#39;s MonoDevelop 2.0 instead of 2.2.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Mono works great for me on Mac in terms of compilers and non-GUI&lt;br&gt;
&amp;gt; libraries. But the other tools seem non-existant or broken.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Are there any insights from Mono project folks such as &amp;quot;get monodoc&lt;br&gt;
&amp;gt; here&amp;quot; or &amp;quot;change mkbundle options to this&amp;quot;?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; If I need to fill out bug reports, let me know.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; -Chuck&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Mono-osx mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555588&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555390.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555390.html&lt;/a&gt;&lt;br&gt;

Sent from the Mono - OSX mailing list archive at Nabble.com.&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Mono-osx mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555588&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555588&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555588.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555390</id>
	<title>Re: Requesting tool attention for OS X</title>
	<published>2009-11-28T09:56:04Z</published>
	<updated>2009-11-28T09:56:04Z</updated>
	<author>
		<name>Stifu</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;About MonoDevelop not working, telling you you don't have Mono 2.4 or later, this can happen if you have multiple versions of Mono installed. You could double check it's not the case.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Chuck Esterbrook wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;Poking around the web, I found &amp;quot;monodoc&amp;quot;
&lt;br&gt;(&lt;a href=&quot;http://www.mono-project.com/Monodoc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mono-project.com/Monodoc&lt;/a&gt;), but it doesn't appear to be
&lt;br&gt;available for Mac.
&lt;br&gt;&lt;br&gt;I saw someone reference &amp;quot;mdb&amp;quot; in IRC, but that's missing too.
&lt;br&gt;&lt;br&gt;There is also &amp;quot;mkbundle&amp;quot;, which is present, but not working:
&lt;br&gt;&lt;br&gt;$ mkbundle -o hello hello.exe --deps
&lt;br&gt;OS is: Darwin
&lt;br&gt;Sources: 1 Auto-dependencies: True
&lt;br&gt;&amp;nbsp; &amp;nbsp;embedding: /Users/chuck/Scrap/dev/sharp/hello.exe
&lt;br&gt;&amp;nbsp; &amp;nbsp;embedding: /Library/Frameworks/Mono.framework/Versions/2.4.2.3/lib/mono/2.0/mscorlib.dll
&lt;br&gt;Compiling:
&lt;br&gt;as -o temp.o temp.s
&lt;br&gt;temp.s:2:unknown section type: symbol_stubs
&lt;br&gt;temp.s:2:Rest of line ignored. 1st junk character valued 112 (p).
&lt;br&gt;temp.s:3082:unknown section type: symbol_stubs
&lt;br&gt;temp.s:3082:Rest of line ignored. 1st junk character valued 112 (p).
&lt;br&gt;[Fail]
&lt;br&gt;&lt;br&gt;That's all on Mono 2.4.2.3 on OS X 10.6.1.
&lt;br&gt;&lt;br&gt;I just installed Mono 2.6 preview 1 with no improvement.
&lt;br&gt;&lt;br&gt;Then I tried MonoDevelop for the first time. It won't launch because
&lt;br&gt;it claims that I don't have Mono 2.4 or later (obviously I do). There
&lt;br&gt;is a MonoDevelop preview download listed with the Mono 2.6 preview,
&lt;br&gt;but it's MonoDevelop 2.0 instead of 2.2.
&lt;br&gt;&lt;br&gt;Mono works great for me on Mac in terms of compilers and non-GUI
&lt;br&gt;libraries. But the other tools seem non-existant or broken.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Are there any insights from Mono project folks such as &amp;quot;get monodoc
&lt;br&gt;here&amp;quot; or &amp;quot;change mkbundle options to this&amp;quot;?
&lt;br&gt;&lt;br&gt;If I need to fill out bug reports, let me know.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-Chuck
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;Mono-osx@lists.ximian.com
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555390.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555333</id>
	<title>Requesting tool attention for OS X</title>
	<published>2009-11-28T09:50:38Z</published>
	<updated>2009-11-28T09:50:38Z</updated>
	<author>
		<name>Chuck Esterbrook</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Poking around the web, I found &amp;quot;monodoc&amp;quot;
&lt;br&gt;(&lt;a href=&quot;http://www.mono-project.com/Monodoc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mono-project.com/Monodoc&lt;/a&gt;), but it doesn't appear to be
&lt;br&gt;available for Mac.
&lt;br&gt;&lt;br&gt;I saw someone reference &amp;quot;mdb&amp;quot; in IRC, but that's missing too.
&lt;br&gt;&lt;br&gt;There is also &amp;quot;mkbundle&amp;quot;, which is present, but not working:
&lt;br&gt;&lt;br&gt;$ mkbundle -o hello hello.exe --deps
&lt;br&gt;OS is: Darwin
&lt;br&gt;Sources: 1 Auto-dependencies: True
&lt;br&gt;&amp;nbsp; &amp;nbsp;embedding: /Users/chuck/Scrap/dev/sharp/hello.exe
&lt;br&gt;&amp;nbsp; &amp;nbsp;embedding: /Library/Frameworks/Mono.framework/Versions/2.4.2.3/lib/mono/2.0/mscorlib.dll
&lt;br&gt;Compiling:
&lt;br&gt;as -o temp.o temp.s
&lt;br&gt;temp.s:2:unknown section type: symbol_stubs
&lt;br&gt;temp.s:2:Rest of line ignored. 1st junk character valued 112 (p).
&lt;br&gt;temp.s:3082:unknown section type: symbol_stubs
&lt;br&gt;temp.s:3082:Rest of line ignored. 1st junk character valued 112 (p).
&lt;br&gt;[Fail]
&lt;br&gt;&lt;br&gt;That's all on Mono 2.4.2.3 on OS X 10.6.1.
&lt;br&gt;&lt;br&gt;I just installed Mono 2.6 preview 1 with no improvement.
&lt;br&gt;&lt;br&gt;Then I tried MonoDevelop for the first time. It won't launch because
&lt;br&gt;it claims that I don't have Mono 2.4 or later (obviously I do). There
&lt;br&gt;is a MonoDevelop preview download listed with the Mono 2.6 preview,
&lt;br&gt;but it's MonoDevelop 2.0 instead of 2.2.
&lt;br&gt;&lt;br&gt;Mono works great for me on Mac in terms of compilers and non-GUI
&lt;br&gt;libraries. But the other tools seem non-existant or broken.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Are there any insights from Mono project folks such as &amp;quot;get monodoc
&lt;br&gt;here&amp;quot; or &amp;quot;change mkbundle options to this&amp;quot;?
&lt;br&gt;&lt;br&gt;If I need to fill out bug reports, let me know.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-Chuck
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555333&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555333.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533986</id>
	<title>Re: MonoTouch vs Unity for iPhone</title>
	<published>2009-11-26T11:28:34Z</published>
	<updated>2009-11-26T11:28:34Z</updated>
	<author>
		<name>Stifu</name>
	</author>
	<content type="html">Thanks for the details.
&lt;br&gt;&lt;br&gt;Talking about the trials, from what I see, the MonoTouch one isn't limited in time unlike Unity for iPhone (30 days). That's cool.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Miguel de Icaza-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I forgot one important bit here:
&lt;br&gt;&lt;br&gt;&amp;gt; Am I overlooking anything? Has anyone tried either and can share their
&lt;br&gt;&amp;gt; experience?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You can try both MonoTouch and Unity for free and see what is &amp;nbsp;
&lt;br&gt;better suited for your development needs without having to pay.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You can even build/prototype your entire app, until the time that &amp;nbsp;
&lt;br&gt;you are ready to start testing on the real hardware.
&lt;br&gt;&lt;br&gt;Miguel
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;Mono-osx@lists.ximian.com
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MonoTouch-vs-Unity-for-iPhone-tp26521303p26533986.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533930</id>
	<title>Re: MonoTouch vs Unity for iPhone</title>
	<published>2009-11-26T11:23:27Z</published>
	<updated>2009-11-26T11:23:27Z</updated>
	<author>
		<name>Miguel de Icaza-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I forgot one important bit here:
&lt;br&gt;&lt;br&gt;&amp;gt; Am I overlooking anything? Has anyone tried either and can share their
&lt;br&gt;&amp;gt; experience?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You can try both MonoTouch and Unity for free and see what is &amp;nbsp;
&lt;br&gt;better suited for your development needs without having to pay.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You can even build/prototype your entire app, until the time that &amp;nbsp;
&lt;br&gt;you are ready to start testing on the real hardware.
&lt;br&gt;&lt;br&gt;Miguel
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533930&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MonoTouch-vs-Unity-for-iPhone-tp26521303p26533930.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528651</id>
	<title>Re: MonoTouch vs Unity for iPhone</title>
	<published>2009-11-26T04:20:10Z</published>
	<updated>2009-11-26T04:20:10Z</updated>
	<author>
		<name>Rodrigo B. de Oliveira</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 11:22 PM, Stifu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528651&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stifu@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Unity
&lt;br&gt;&amp;gt; Pros:
&lt;br&gt;&amp;gt; - Specialized in game making, so good for me
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cons:
&lt;br&gt;&amp;gt; - .NET 1.1 (no generics)
&lt;br&gt;&amp;gt; - Startup &amp;quot;Made with Unity&amp;quot; splash screen (unless you get the $1500 version
&lt;br&gt;&amp;gt; rather than the $400 one)
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;I've heard it will be possible to choose which profile you want to
&lt;br&gt;deploy your game with (.NET 1.1 with no generics OR .NET 2.x including
&lt;br&gt;generics)... No promises though :)
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528651&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MonoTouch-vs-Unity-for-iPhone-tp26521303p26528651.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26524494</id>
	<title>Re: MonoTouch vs Unity for iPhone</title>
	<published>2009-11-25T21:19:51Z</published>
	<updated>2009-11-25T21:19:51Z</updated>
	<author>
		<name>Miguel de Icaza-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Unity in general is better suited for building games, in &amp;nbsp;
&lt;br&gt;particular 3D games and there is a large community of game developers &amp;nbsp;
&lt;br&gt;for it. &amp;nbsp; The developer experience is mostly focused on the game side &amp;nbsp;
&lt;br&gt;of the code and you will do a lot of your tune-ups in Unity itself.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;MonoTouch will work if you are planning on building your own &amp;nbsp;
&lt;br&gt;engine (like the SharpGames guys did with XnaTouch), and the &amp;nbsp;
&lt;br&gt;development experience is mostly focused on the code.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I think that MonoTouch is better suited for more business-y &amp;nbsp;
&lt;br&gt;application setups than games, for apps that need to use the native &amp;nbsp;
&lt;br&gt;CocoaTouch APIs day-in and day-out.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; MonoTouch
&lt;br&gt;&amp;gt; Pros:
&lt;br&gt;&amp;gt; - .NET 2.0 and 3.5 features (which, I take it, includes generics)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cons:
&lt;br&gt;&amp;gt; - No more MonoTouch updates after one year
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Unity
&lt;br&gt;&amp;gt; Pros:
&lt;br&gt;&amp;gt; - Specialized in game making, so good for me
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cons:
&lt;br&gt;&amp;gt; - .NET 1.1 (no generics)
&lt;br&gt;&amp;gt; - Startup &amp;quot;Made with Unity&amp;quot; splash screen (unless you get the $1500 &amp;nbsp;
&lt;br&gt;&amp;gt; version
&lt;br&gt;&amp;gt; rather than the $400 one)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Am I overlooking anything? Has anyone tried either and can share their
&lt;br&gt;&amp;gt; experience?
&lt;br&gt;&amp;gt; Is MonoTouch actually a good choice to make a game (something rather &amp;nbsp;
&lt;br&gt;&amp;gt; simple,
&lt;br&gt;&amp;gt; 2D)? I take it it can do everything plain Objective C can do? No &amp;nbsp;
&lt;br&gt;&amp;gt; idea what
&lt;br&gt;&amp;gt; the graphics API is like, for example, but I assume it's iPhone &amp;nbsp;
&lt;br&gt;&amp;gt; specific...
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/MonoTouch-vs-Unity-for-iPhone-tp26521303p26521303.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/MonoTouch-vs-Unity-for-iPhone-tp26521303p26521303.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Mono - OSX mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-osx mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26524494&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26524494&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MonoTouch-vs-Unity-for-iPhone-tp26521303p26524494.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26522171</id>
	<title>Re: A very basic question-- running Win .net exe on Mac OS X w/ Mono</title>
	<published>2009-11-25T15:30:35Z</published>
	<updated>2009-11-25T15:30:35Z</updated>
	<author>
		<name>northernenclosure</name>
	</author>
	<content type="html">I have the same question. This is the message I get:
&lt;br&gt;&lt;br&gt;** (program.exe:58983): WARNING **: Could not load file or assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
&lt;br&gt;The entry point method could not be loaded
&lt;br&gt;macbook-pro:program TH$ mcs program.exe
&lt;br&gt;error CS2015: Source file `program.exe' is a binary file and not a text file
&lt;br&gt;Compilation failed: 1 error(s), 0 warnings
&lt;br&gt;macbook-pro:program TH$ mono program.exe
&lt;br&gt;&lt;br&gt;** (program.exe:59005): WARNING **: The following assembly referenced from /Users/TH/Desktop/folder/program.exe could not be loaded:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Assembly: &amp;nbsp; PresentationFramework &amp;nbsp; &amp;nbsp;(assemblyref_index=8)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Version: &amp;nbsp; &amp;nbsp;3.0.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Public Key: 31bf3856ad364e35
&lt;br&gt;The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/Users/TH/Desktop/Folder/).
&lt;br&gt;&lt;br&gt;&lt;br&gt;** (program.exe:59005): WARNING **: Could not load file or assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
&lt;br&gt;The entry point method could not be loaded
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/A-very-basic-question---running-Win-.net-exe-on-Mac-OS-X-w--Mono-tp22217524p26522171.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26521303</id>
	<title>MonoTouch vs Unity for iPhone</title>
	<published>2009-11-25T14:22:51Z</published>
	<updated>2009-11-25T14:22:51Z</updated>
	<author>
		<name>Stifu</name>
	</author>
	<content type="html">I'm thinking of making an iPhone game (maybe), and was considering MonoTouch and Unity.
&lt;br&gt;Both are expensive (same price: $400), but I guess Apple users enjoy paying. :\
&lt;br&gt;&lt;br&gt;After having looked around, this is what I concluded:
&lt;br&gt;&lt;br&gt;MonoTouch
&lt;br&gt;Pros:
&lt;br&gt;- .NET 2.0 and 3.5 features (which, I take it, includes generics)
&lt;br&gt;&lt;br&gt;Cons:
&lt;br&gt;- No more MonoTouch updates after one year
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&lt;br&gt;Unity
&lt;br&gt;Pros:
&lt;br&gt;- Specialized in game making, so good for me
&lt;br&gt;&lt;br&gt;Cons:
&lt;br&gt;- .NET 1.1 (no generics)
&lt;br&gt;- Startup &amp;quot;Made with Unity&amp;quot; splash screen (unless you get the $1500 version rather than the $400 one)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Am I overlooking anything? Has anyone tried either and can share their experience?
&lt;br&gt;Is MonoTouch actually a good choice to make a game (something rather simple, 2D)? I take it it can do everything plain Objective C can do? No idea what the graphics API is like, for example, but I assume it's iPhone specific...</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MonoTouch-vs-Unity-for-iPhone-tp26521303p26521303.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503230</id>
	<title>Re: Mono 2.6 and Windows.Forms on MacOSX</title>
	<published>2009-11-24T13:04:56Z</published>
	<updated>2009-11-24T13:04:56Z</updated>
	<author>
		<name>AleStanga</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Chuck Esterbrook wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I wonder if the fact that MonoDevelop is done in GTK# will mean that
&lt;br&gt;GTK# will generally run better on Mac OS X than WinForms because it
&lt;br&gt;has to for the MonoDevelop team.
&lt;br&gt;&lt;br&gt;Has anyone used both WinForms and GTK# on Mac OS X such that you can
&lt;br&gt;share which was better behaved and more productive?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
well...
&lt;br&gt;GTK# and Cocoa# are better than windows.forms on Linux and OSX but i would like to see an update to windows.forms on OSX.
&lt;br&gt;windows.forms is much better on Linux than OSX.
&lt;br&gt;it would be great to have the same performances on OSX and Linux (i'm talking about windows.forms)</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mono-2.6-and-Windows.Forms-on-MacOSX-tp24047606p26503230.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503135</id>
	<title>Re: Mono 2.6 and Windows.Forms on MacOSX</title>
	<published>2009-11-24T12:57:55Z</published>
	<updated>2009-11-24T12:57:55Z</updated>
	<author>
		<name>Chuck Esterbrook</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 12:05 PM, AleStanga &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503135&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alessandro.stanga@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Kevin Heeney wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I was looking for any information on the Mac Windows.Forms update planned
&lt;br&gt;&amp;gt;&amp;gt; for Mono 2.6.  The Roadmap just says Windows.Forms update for Mac OS X,
&lt;br&gt;&amp;gt;&amp;gt; but
&lt;br&gt;&amp;gt;&amp;gt; I could not find any details.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; no more Mac Windows.Forms update in the roadmap.
&lt;br&gt;&amp;gt; why?
&lt;/div&gt;&lt;br&gt;I wonder if the fact that MonoDevelop is done in GTK# will mean that
&lt;br&gt;GTK# will generally run better on Mac OS X than WinForms because it
&lt;br&gt;has to for the MonoDevelop team.
&lt;br&gt;&lt;br&gt;Has anyone used both WinForms and GTK# on Mac OS X such that you can
&lt;br&gt;share which was better behaved and more productive?
&lt;br&gt;&lt;br&gt;-Chuck
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503135&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mono-2.6-and-Windows.Forms-on-MacOSX-tp24047606p26503135.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26500486</id>
	<title>Re: Mono 2.6 and Windows.Forms on MacOSX</title>
	<published>2009-11-24T12:05:53Z</published>
	<updated>2009-11-24T12:05:53Z</updated>
	<author>
		<name>AleStanga</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Kevin Heeney wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I was looking for any information on the Mac Windows.Forms update planned
&lt;br&gt;for Mono 2.6. &amp;nbsp;The Roadmap just says Windows.Forms update for Mac OS X, but
&lt;br&gt;I could not find any details. &amp;nbsp;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
no more Mac Windows.Forms update in the roadmap.
&lt;br&gt;why?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mono-2.6-and-Windows.Forms-on-MacOSX-tp24047606p26500486.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26321084</id>
	<title>MonoVS and OS X</title>
	<published>2009-11-12T07:50:54Z</published>
	<updated>2009-11-12T07:50:54Z</updated>
	<author>
		<name>ptr2009</name>
	</author>
	<content type="html">hey all
&lt;br&gt;&lt;br&gt;&amp;nbsp; Can this tool be made to work on OS X ?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.go-mono.com/monovs/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.go-mono.com/monovs/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; What are people using to debug mono on OS X these days ?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Raj</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MonoVS-and-OS-X-tp26321084p26321084.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26283265</id>
	<title>Re: Winforms app under Mac OS X: change menu name</title>
	<published>2009-11-10T05:18:18Z</published>
	<updated>2009-11-10T05:18:18Z</updated>
	<author>
		<name>Alexander Shulgin</name>
	</author>
	<content type="html">Lee V. Andrus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The MonoDevelop for Mac Preview seems to have done the trick and more:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://go-mono.com/forums/#nabble-to23418439%7Ca23418568&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://go-mono.com/forums/#nabble-to23418439%7Ca23418568&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://go-mono.com/forums/#nabble-to23418439%7Ca23418568&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://go-mono.com/forums/#nabble-to23418439%7Ca23418568&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; I am not sure how. &amp;nbsp;There is a mention that the Mac-friendly features
&lt;br&gt;&amp;gt; involve a lot of PInvokes of Carbon functions.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When I tried to do something similar with Cocoa via MCocoa &amp; MObjc there
&lt;br&gt;&amp;gt; seemed to be no connection between the menu displayed and the mainMenu
&lt;br&gt;&amp;gt; property of the NSApplication object. &amp;nbsp;It was nil initially. &amp;nbsp;When I tried
&lt;br&gt;&amp;gt; to create a menu and set this property to it, there was no change in the
&lt;br&gt;&amp;gt; displayed menu.
&lt;/div&gt;&lt;br&gt;The application name in main menu is set automatically by the system, 
&lt;br&gt;when you launch a Mac OS X application, i.e. open a MyProgram.app 
&lt;br&gt;special folder in Finder. &amp;nbsp;I don't know if there's any other method to 
&lt;br&gt;set this name.
&lt;br&gt;&lt;br&gt;To handle Quit item correctly you'll need some magic with Carbon 
&lt;br&gt;P/Invokes, though.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Regards,
&lt;br&gt;Alex
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26283265&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Winforms-app-under-Mac-OS-X%3A-change-menu-name-tp26180497p26283265.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26274434</id>
	<title>Re: Winforms app under Mac OS X: change menu name</title>
	<published>2009-11-09T13:57:44Z</published>
	<updated>2009-11-09T13:57:44Z</updated>
	<author>
		<name>Lee V. Andrus</name>
	</author>
	<content type="html">The MonoDevelop for Mac Preview seems to have done the trick and more:
&lt;br&gt;&lt;a href=&quot;http://go-mono.com/forums/#nabble-to23418439%7Ca23418568&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://go-mono.com/forums/#nabble-to23418439%7Ca23418568&lt;/a&gt;&lt;br&gt;I am not sure how. &amp;nbsp;There is a mention that the Mac-friendly features involve a lot of PInvokes of Carbon functions.
&lt;br&gt;&lt;br&gt;When I tried to do something similar with Cocoa via MCocoa &amp; MObjc there seemed to be no connection between the menu displayed and the mainMenu property of the NSApplication object. &amp;nbsp;It was nil initially. &amp;nbsp;When I tried to create a menu and set this property to it, there was no change in the displayed menu.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Andrew Brehm wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Is it possible for a Winforms app to rename the top screen menu in Mac
&lt;br&gt;OS X to something other than Mono?
&lt;br&gt;&lt;br&gt;The menu doesn't have to work, it should just show the correct app
&lt;br&gt;name. It would be great if the &amp;quot;Quit&amp;quot; menu item could be made to work
&lt;br&gt;for the app though.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Winforms-app-under-Mac-OS-X%3A-change-menu-name-tp26180497p26274434.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26239893</id>
	<title>Re: external reference to a class</title>
	<published>2009-11-06T14:49:51Z</published>
	<updated>2009-11-06T14:49:51Z</updated>
	<author>
		<name>duanew</name>
	</author>
	<content type="html">That is much better... thank you for suggesting this.&lt;br&gt;Duane&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 6, 2009 at 2:53 AM, Laurent Etiemble &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239893&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;laurent.etiemble@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Hello,&lt;br&gt;
&lt;br&gt;
Why don&amp;#39;t you use the &amp;quot;NSClassFromString&amp;quot; function&lt;br&gt;
(&lt;a href=&quot;http://developer.apple.com/mac/library/documentation/cocoa/Reference/Foundation/Miscellaneous/Foundation_Functions/Reference/reference.html#//apple_ref/c/func/NSClassFromString&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://developer.apple.com/mac/library/documentation/cocoa/Reference/Foundation/Miscellaneous/Foundation_Functions/Reference/reference.html#//apple_ref/c/func/NSClassFromString&lt;/a&gt;)&lt;br&gt;

? The return type is a Class instance, and is not as low-level as a&lt;br&gt;
call to objc_getClass().&lt;br&gt;
&lt;br&gt;
[NSClassFromString(@&amp;quot;MyMonoClass&amp;quot;) testTouch];&lt;br&gt;
&lt;br&gt;
Note 1: See &lt;a href=&quot;http://www.cocoadev.com/index.pl?NSClassFromString&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.cocoadev.com/index.pl?NSClassFromString&lt;/a&gt; for more comments&lt;br&gt;
Note 2: you can even define a macro to avoid the cluttering of your code.&lt;br&gt;
&lt;br&gt;
Regards, Laurent Etiemble.&lt;br&gt;
&lt;br&gt;
2009/10/22 Duane Wandless &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239893&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;duane@...&lt;/a&gt;&amp;gt;:&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&amp;gt; Hopefully someone can help with this.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I am currently doing this.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;     id myobj = objc_getClass(&amp;quot;MyMonoClass&amp;quot;);&lt;br&gt;
&amp;gt;     [myobj testTouch];&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; which works.  MyMonoClass is not defined so I cannot do this:&lt;br&gt;
&amp;gt; [MyMonoClass testTouch];&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Because the compiler tries to resolve the class reference, of course.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Is there a better way to do this than what I have?  Which I got the idea of&lt;br&gt;
&amp;gt; how to do this from Monobjc!&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The context is that I have a Cocoa application that loads the mono runtime&lt;br&gt;
&amp;gt; which loads my Monobjc enabled library.  Which that is where MyMonoClass is&lt;br&gt;
&amp;gt; defined.  Then I need to invoke a method on the mono class from Cocoa.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Duane&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Mono-osx mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239893&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239893&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/external-reference-to-a-class-tp26016017p26239893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26228074</id>
	<title>Re: libsqlite3.0.dylib - SQLITE_ENABLE_COLUMN_METADATA required</title>
	<published>2009-11-06T00:01:51Z</published>
	<updated>2009-11-06T00:01:51Z</updated>
	<author>
		<name>abryson</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;abryson wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi all,
&lt;br&gt;&lt;br&gt;I've got a application which usess NHibernate to access SQLite. &amp;nbsp;This works well on Windows, and I'm trying to get the application unit tests (Nunit) to run on Mac OS X 10.5.
&lt;br&gt;&lt;br&gt;The unit tests have been failing because the native library (libsqlite3.0.dylib) was not compiled with the SQLITE_ENABLE_COLUMN_METADATA directive. &amp;nbsp;My nunit tests started working again once I:
&lt;br&gt;&lt;br&gt;&amp;nbsp;- recompiled from source (&lt;a href=&quot;http://www.sqlite.org/sqlite-amalgamation-3.6.19.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sqlite.org/sqlite-amalgamation-3.6.19.tar.gz&lt;/a&gt;) passing SQLITE_ENABLE_COLUMN_METADATA through CFLAGS to configure.
&lt;br&gt;&amp;nbsp;- overwriting the existing mono version of libsqlite3.0.dylib (/Library/Frameworks/Mono.framework/Versions/Current/lib/libsqlite3.0.dylib) with the resulting library.
&lt;br&gt;&lt;br&gt;I'm also using the ADO.NET provider for SQLite from &lt;a href=&quot;http://sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/1.0.65.0/SQLite-1.0.65.0-managedonly-binaries.zip/download&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/1.0.65.0/SQLite-1.0.65.0-managedonly-binaries.zip/download&lt;/a&gt;&amp;nbsp;(&lt;a href=&quot;http://sqlite.phxsoftware.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sqlite.phxsoftware.com/&lt;/a&gt;). &amp;nbsp;This requires the native SQlite library to be in place though.
&lt;br&gt;&lt;br&gt;I've run my unit tests on the Mono 2.4 VMWare image which I downloaded from the Mono website, and the tests work as expected.
&lt;br&gt;&lt;br&gt;Questions:
&lt;br&gt;&lt;br&gt;1. Does mono ship a version of libsqlite3.0.dylib, and if so, can it be updated to support SQLITE_ENABLE_COLUMN_METADATA please?
&lt;br&gt;2. What else could I do to resolve this problem? &amp;nbsp;I don't want to provide a copy of the native library alongside my application, but would this be possible to do?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Andrew Bryson
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Bump... can anybody help?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;andy</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libsqlite3.0.dylib---SQLITE_ENABLE_COLUMN_METADATA-required-tp25992298p26228074.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26228080</id>
	<title>Re: external reference to a class</title>
	<published>2009-11-05T23:53:54Z</published>
	<updated>2009-11-05T23:53:54Z</updated>
	<author>
		<name>Laurent Etiemble</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;Why don't you use the &amp;quot;NSClassFromString&amp;quot; function
&lt;br&gt;(&lt;a href=&quot;http://developer.apple.com/mac/library/documentation/cocoa/Reference/Foundation/Miscellaneous/Foundation_Functions/Reference/reference.html#//apple_ref/c/func/NSClassFromString&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.apple.com/mac/library/documentation/cocoa/Reference/Foundation/Miscellaneous/Foundation_Functions/Reference/reference.html#//apple_ref/c/func/NSClassFromString&lt;/a&gt;)
&lt;br&gt;? The return type is a Class instance, and is not as low-level as a
&lt;br&gt;call to objc_getClass().
&lt;br&gt;&lt;br&gt;[NSClassFromString(@&amp;quot;MyMonoClass&amp;quot;) testTouch];
&lt;br&gt;&lt;br&gt;Note 1: See &lt;a href=&quot;http://www.cocoadev.com/index.pl?NSClassFromString&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.cocoadev.com/index.pl?NSClassFromString&lt;/a&gt;&amp;nbsp;for more comments
&lt;br&gt;Note 2: you can even define a macro to avoid the cluttering of your code.
&lt;br&gt;&lt;br&gt;Regards, Laurent Etiemble.
&lt;br&gt;&lt;br&gt;2009/10/22 Duane Wandless &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26228080&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;duane@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hopefully someone can help with this.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am currently doing this.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     id myobj = objc_getClass(&amp;quot;MyMonoClass&amp;quot;);
&lt;br&gt;&amp;gt;     [myobj testTouch];
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; which works.  MyMonoClass is not defined so I cannot do this:
&lt;br&gt;&amp;gt; [MyMonoClass testTouch];
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Because the compiler tries to resolve the class reference, of course.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there a better way to do this than what I have?  Which I got the idea of
&lt;br&gt;&amp;gt; how to do this from Monobjc!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The context is that I have a Cocoa application that loads the mono runtime
&lt;br&gt;&amp;gt; which loads my Monobjc enabled library.  Which that is where MyMonoClass is
&lt;br&gt;&amp;gt; defined.  Then I need to invoke a method on the mono class from Cocoa.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Duane
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-osx mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26228080&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26228080&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/external-reference-to-a-class-tp26016017p26228080.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26180497</id>
	<title>Winforms app under Mac OS X: change menu name</title>
	<published>2009-11-03T06:33:42Z</published>
	<updated>2009-11-03T06:33:42Z</updated>
	<author>
		<name>Andrew Brehm</name>
	</author>
	<content type="html">This has probably been asked before but I couldn't find it.
&lt;br&gt;&lt;br&gt;Is it possible for a Winforms app to rename the top screen menu in Mac
&lt;br&gt;OS X to something other than Mono?
&lt;br&gt;&lt;br&gt;The menu doesn't have to work, it should just show the correct app
&lt;br&gt;name. It would be great if the &amp;quot;Quit&amp;quot; menu item could be made to work
&lt;br&gt;for the app though.
&lt;br&gt;&lt;br&gt;Any ideas?
&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26180497&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Winforms-app-under-Mac-OS-X%3A-change-menu-name-tp26180497p26180497.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26160163</id>
	<title>Winforms app under Mac OS X: change menu name</title>
	<published>2009-11-03T06:32:50Z</published>
	<updated>2009-11-03T06:32:50Z</updated>
	<author>
		<name>Andrew Brehm</name>
	</author>
	<content type="html">This has probably been asked before but I couldn't find it.
&lt;br&gt;&lt;br&gt;Is it possible for a Winforms app to rename the top screen menu in Mac OS X to something other than Mono?
&lt;br&gt;&lt;br&gt;The menu doesn't have to work, it should just show the correct app name. It would be great if the &amp;quot;Quit&amp;quot; menu item could be made to work for the app though.
&lt;br&gt;&lt;br&gt;Any ideas?
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Winforms-app-under-Mac-OS-X%3A-change-menu-name-tp26160163p26160163.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26160158</id>
	<title>Winforms app under Mac OS X: change menu name</title>
	<published>2009-11-03T06:29:34Z</published>
	<updated>2009-11-03T06:29:34Z</updated>
	<author>
		<name>Andrew Brehm</name>
	</author>
	<content type="html">This has probably been asked before but I couldn't find it.
&lt;br&gt;&lt;br&gt;Is it possible for a Winforms app to rename the top screen menu in Mac OS X to something other than Mono?
&lt;br&gt;&lt;br&gt;The menu doesn't have to work, it should just show the correct app name. It would be great if the &amp;quot;Quit&amp;quot; menu item could be made to work for the app though.
&lt;br&gt;&lt;br&gt;Any ideas?
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Winforms-app-under-Mac-OS-X%3A-change-menu-name-tp26160158p26160158.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26114705</id>
	<title>Re: [Mono-winforms-list] Is System.Drawing (libgdiplus)	thread-safe?</title>
	<published>2009-10-29T07:59:26Z</published>
	<updated>2009-10-29T07:59:26Z</updated>
	<author>
		<name>Alexander Shulgin</name>
	</author>
	<content type="html">Sebastien Pouliot wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please open a bug report on bugzilla.novell.com and attach your test
&lt;br&gt;&amp;gt; case.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://bugzilla.novell.com/show_bug.cgi?id=551009&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.novell.com/show_bug.cgi?id=551009&lt;/a&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; On my Linux box it crashes all the time. &amp;nbsp;I get a wide variety of errors 
&lt;br&gt;&amp;gt;&amp;gt; from gdb stacktraces with SIGSEGV or SIGABRT in the end, to SIGILL with 
&lt;br&gt;&amp;gt;&amp;gt; .Net stack trace.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Uncommenting these lock {} lines in the ThreadProc helps, but not an 
&lt;br&gt;&amp;gt;&amp;gt; option for my real app, as there's simply no single place a lock could 
&lt;br&gt;&amp;gt;&amp;gt; be added.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've also tried writing some code in plain C which links to libgdiplus 
&lt;br&gt;&amp;gt;&amp;gt; directly: see `threads-gdiplus.c'. &amp;nbsp;It happily crashes just like the C# 
&lt;br&gt;&amp;gt;&amp;gt; version.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Most of System.Drawing is only a small wrapper abound libgdiplus (or GDI
&lt;br&gt;&amp;gt; + under Windows). Any bug will likely be inside libgdiplus so it's
&lt;br&gt;&amp;gt; &amp;quot;normal&amp;quot; (i.e. expected) that you get the same behavior.
&lt;/div&gt;&lt;br&gt;Yes, it's what I expected. &amp;nbsp;Just thought it might be helpful in 
&lt;br&gt;debugging the problem. &amp;nbsp;Attached this to the bug too.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; My tests show that even using unsynchronized GdipGetImageGraphicsContext 
&lt;br&gt;&amp;gt;&amp;gt; / GdipDeleteGraphics (no fonts stuff touched) can easily lead to crashes.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;From what I've seen, cairo seems to be thread-safe: see attached[1] 
&lt;br&gt;&amp;gt;&amp;gt; `cairo-multi-thread-text.c'.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It's thread-safe as long as everything is created and executed in the
&lt;br&gt;&amp;gt; same thread. Otherwise it would not be safe-thread (just like .net and
&lt;br&gt;&amp;gt; most libraries are).
&lt;br&gt;&lt;br&gt;This is actually what I meant by thread-safe here. :)
&lt;br&gt;&lt;br&gt;I'd expect any library not to crash under similar circumstances as long 
&lt;br&gt;as it doesn't use global variables or, if so, does ensure proper locking 
&lt;br&gt;around them.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Regards,
&lt;br&gt;Alex
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26114705&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-System.Drawing-%28libgdiplus%29-thread-safe--tp26098886p26114705.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26102196</id>
	<title>Re: [Mono-dev] Is System.Drawing (libgdiplus) thread-safe?</title>
	<published>2009-10-28T14:09:12Z</published>
	<updated>2009-10-28T14:09:12Z</updated>
	<author>
		<name>Miguel de Icaza-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;It is thread safe for instances of objects, but you can not mix &amp;nbsp;
&lt;br&gt;objects that need to interact with the windowing system with calls &amp;nbsp;
&lt;br&gt;made in separate threads.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The simple solution is to make sure that anything that interacts &amp;nbsp;
&lt;br&gt;with the GUI uses Control.Invoke.
&lt;br&gt;&lt;br&gt;On Oct 28, 2009, at 1:37 PM, Alex Shulgin wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is System.Drawing by any means thread-safe?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can I create some threads, create a Graphics object in each of them &amp;nbsp;
&lt;br&gt;&amp;gt; and then work with it from within that thread? &amp;nbsp;Is this supposed to &amp;nbsp;
&lt;br&gt;&amp;gt; work or am I doing something really stupid here?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I ask because I've noticed random crashes in a WinForms app on OS X &amp;nbsp;
&lt;br&gt;&amp;gt; (but it happens on Linux too). &amp;nbsp;Most of the time it crashes in &amp;nbsp;
&lt;br&gt;&amp;gt; System.Drawing.Graphics' DrawString or MeasureString methods and &amp;nbsp;
&lt;br&gt;&amp;gt; seems to occur then a background worker thread is working in &amp;nbsp;
&lt;br&gt;&amp;gt; parallel with UI thread.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've tried to do a stress-test of System.Drawing in a sample multi- 
&lt;br&gt;&amp;gt; threaded program. &amp;nbsp;See attached `test-multi-threaded-drawing.cs'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On my Linux box it crashes all the time. &amp;nbsp;I get a wide variety of &amp;nbsp;
&lt;br&gt;&amp;gt; errors from gdb stacktraces with SIGSEGV or SIGABRT in the end, to &amp;nbsp;
&lt;br&gt;&amp;gt; SIGILL with .Net stack trace.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Uncommenting these lock {} lines in the ThreadProc helps, but not an &amp;nbsp;
&lt;br&gt;&amp;gt; option for my real app, as there's simply no single place a lock &amp;nbsp;
&lt;br&gt;&amp;gt; could be added.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've also tried writing some code in plain C which links to &amp;nbsp;
&lt;br&gt;&amp;gt; libgdiplus directly: see `threads-gdiplus.c'. &amp;nbsp;It happily crashes &amp;nbsp;
&lt;br&gt;&amp;gt; just like the C# version.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My tests show that even using unsynchronized &amp;nbsp;
&lt;br&gt;&amp;gt; GdipGetImageGraphicsContext / GdipDeleteGraphics (no fonts stuff &amp;nbsp;
&lt;br&gt;&amp;gt; touched) can easily lead to crashes.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; From what I've seen, cairo seems to be thread-safe: see attached[1] &amp;nbsp;
&lt;br&gt;&amp;gt; `cairo-multi-thread-text.c'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Also, there's a few locking used around thread-unsafe fontconfig &amp;nbsp;
&lt;br&gt;&amp;gt; calls in libgdiplus itself. &amp;nbsp;I didn't examined the whole code, so &amp;nbsp;
&lt;br&gt;&amp;gt; there's possibly other places in it missing locking primitives.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would appreciate any help on this subject!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Alex
&lt;br&gt;&amp;gt; [1] originally found in the cairo bugzilla for a few-years-old bug; &amp;nbsp;
&lt;br&gt;&amp;gt; my sligthly enhanced version
&lt;br&gt;&amp;gt; /* gmcs test-multi-threaded-drawing.cs - 
&lt;br&gt;&amp;gt; r:System.Drawing,System.Windows.Forms */
&lt;br&gt;&amp;gt; using System;
&lt;br&gt;&amp;gt; using System.Text;
&lt;br&gt;&amp;gt; using System.Drawing;
&lt;br&gt;&amp;gt; using System.Windows.Forms;
&lt;br&gt;&amp;gt; using System.Threading;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; namespace test {
&lt;br&gt;&amp;gt; 	public class MainForm : Form {
&lt;br&gt;&amp;gt; 		private static int threadCount = 0;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 		private object consoleLock = new Object();
&lt;br&gt;&amp;gt; 		private object hwndLock = new Object();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 		public static void Main(string[] args) {
&lt;br&gt;&amp;gt; 			threadCount = args.Length == 0 ? 6 : int.Parse(args[0]);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 			Application.Run(new MainForm());
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 		protected override void OnLoad(EventArgs e) {
&lt;br&gt;&amp;gt; 			base.OnLoad(e);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 			for (int i = 0; i &amp;lt; threadCount; ++i) {
&lt;br&gt;&amp;gt; 				Thread t = new Thread(ThreadProc);
&lt;br&gt;&amp;gt; 				t.Start(i);
&lt;br&gt;&amp;gt; 			}
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 		void ThreadProc(object data) {
&lt;br&gt;&amp;gt; 			int threadnum = (int) data;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 			Random rnd = new Random((int) DateTime.Now.Ticks);
&lt;br&gt;&amp;gt; 			int count = rnd.Next(250, 1000);
&lt;br&gt;&amp;gt; 			lock (consoleLock) {
&lt;br&gt;&amp;gt; 				Console.WriteLine(&amp;quot;thread{0} start: {1}&amp;quot;, threadnum, count);
&lt;br&gt;&amp;gt; 			}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 			for (int i = 0; i &amp;lt; count; ++i) {
&lt;br&gt;&amp;gt; 				string str = CreateRandomString(rnd);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 				using (Graphics g = GetGraphicsForMeasurement()) {
&lt;br&gt;&amp;gt; 					using (Font font = CreateRandomFont(rnd)) {
&lt;br&gt;&amp;gt; 						//lock (hwndLock) {
&lt;br&gt;&amp;gt; 						SizeF sz = g.MeasureString(str, font);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 						using (Bitmap bmp = new Bitmap((int) sz.Width, (int) &amp;nbsp;
&lt;br&gt;&amp;gt; sz.Height)) {
&lt;br&gt;&amp;gt; 							using (Graphics gfx = Graphics.FromImage(bmp)) {
&lt;br&gt;&amp;gt; 								using (Brush b = Brushes.Red) {
&lt;br&gt;&amp;gt; 									gfx.DrawString(str, font, b, new PointF(0f, 0f));
&lt;br&gt;&amp;gt; 								}
&lt;br&gt;&amp;gt; 							}
&lt;br&gt;&amp;gt; 						}
&lt;br&gt;&amp;gt; 						//}
&lt;br&gt;&amp;gt; 					}
&lt;br&gt;&amp;gt; 				}
&lt;br&gt;&amp;gt; 			}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 			lock (consoleLock) {
&lt;br&gt;&amp;gt; 				Console.WriteLine(&amp;quot;thread{0} done&amp;quot;, threadnum);
&lt;br&gt;&amp;gt; 			}
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 		string CreateRandomString(Random rnd) {
&lt;br&gt;&amp;gt; 			int len = 1 + rnd.Next(60);
&lt;br&gt;&amp;gt; 			StringBuilder sb = new StringBuilder(len);
&lt;br&gt;&amp;gt; 			for (int j = 0; j &amp;lt; len; ++j) {
&lt;br&gt;&amp;gt; 				int ch = (rnd.Next() &amp; 1) == 1 ? 0x41 : 0x61; // 'A' or 'a'
&lt;br&gt;&amp;gt; 				sb.Append(Char.ConvertFromUtf32(ch + rnd.Next(26)));
&lt;br&gt;&amp;gt; 			}
&lt;br&gt;&amp;gt; 			return sb.ToString();
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 		Graphics GetGraphicsForMeasurement() {
&lt;br&gt;&amp;gt; #if NO_GRAPHICS_FROM_HWND
&lt;br&gt;&amp;gt; 			Bitmap tmp = new Bitmap(1, 1);
&lt;br&gt;&amp;gt; 			return Graphics.FromImage(tmp);
&lt;br&gt;&amp;gt; #else
&lt;br&gt;&amp;gt; 			Graphics g;
&lt;br&gt;&amp;gt; 			lock (hwndLock) {
&lt;br&gt;&amp;gt; 				g = Graphics.FromHwnd(this.Handle);
&lt;br&gt;&amp;gt; 			}
&lt;br&gt;&amp;gt; 			return g;
&lt;br&gt;&amp;gt; #endif
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 		Font CreateRandomFont(Random rnd) {
&lt;br&gt;&amp;gt; 			return new Font(&amp;quot;Sans&amp;quot;, (int) (8 + rnd.NextDouble()*10));
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 	}
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; /* gcc `pkg-config --cflags --libs cairo` -lpthread multi-thread- 
&lt;br&gt;&amp;gt; text.c -o multi-thread-text */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /*
&lt;br&gt;&amp;gt; * Copyright © 2005 Red Hat, Inc.
&lt;br&gt;&amp;gt; *
&lt;br&gt;&amp;gt; * Permission to use, copy, modify, distribute, and sell this software
&lt;br&gt;&amp;gt; * and its documentation for any purpose is hereby granted without
&lt;br&gt;&amp;gt; * fee, provided that the above copyright notice appear in all copies
&lt;br&gt;&amp;gt; * and that both that copyright notice and this permission notice
&lt;br&gt;&amp;gt; * appear in supporting documentation, and that the name of
&lt;br&gt;&amp;gt; * Red Hat, Inc. not be used in advertising or publicity pertaining to
&lt;br&gt;&amp;gt; * distribution of the software without specific, written prior
&lt;br&gt;&amp;gt; * permission. Red Hat, Inc. makes no representations about the
&lt;br&gt;&amp;gt; * suitability of this software for any purpose. &amp;nbsp;It is provided &amp;quot;as
&lt;br&gt;&amp;gt; * is&amp;quot; without express or implied warranty.
&lt;br&gt;&amp;gt; *
&lt;br&gt;&amp;gt; * RED HAT, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
&lt;br&gt;&amp;gt; * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
&lt;br&gt;&amp;gt; * FITNESS, IN NO EVENT SHALL RED HAT, INC. BE LIABLE FOR ANY SPECIAL,
&lt;br&gt;&amp;gt; * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
&lt;br&gt;&amp;gt; * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
&lt;br&gt;&amp;gt; * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
&lt;br&gt;&amp;gt; * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
&lt;br&gt;&amp;gt; *
&lt;br&gt;&amp;gt; * Author: Carl D. Worth &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26102196&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cworth@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;assert.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;stdlib.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;cairo.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;pthread.h&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; static void *
&lt;br&gt;&amp;gt; start (void *closure)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;int i;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; 1000; ++i) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_surface_t *surface;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_t *cr;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 100, &amp;nbsp;
&lt;br&gt;&amp;gt; 100);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cr = cairo_create (surface);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_move_to (cr, 10, 10);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_set_font_size (cr, 10);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_show_text (cr, &amp;quot;Hello world.\n&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_set_font_size (cr, 9);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_show_text (cr, &amp;quot;Hello world.\n&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_set_font_size (cr, 8);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_show_text (cr, &amp;quot;Hello world.\n&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_destroy (cr);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;cairo_surface_destroy (surface);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; int
&lt;br&gt;&amp;gt; main (int argc, char *argv[0])
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;int i, num_threads;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;pthread_t *pthread;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (argc &amp;gt; 1) {
&lt;br&gt;&amp;gt; 	num_threads = atoi (argv[1]);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;&amp;gt; 	num_threads = 6;
&lt;br&gt;&amp;gt; 	printf (&amp;quot;Running with default value of %d threads.\n&amp;quot;
&lt;br&gt;&amp;gt; 		&amp;quot;To change, call: %s &amp;lt;number_of_threads&amp;gt;\n&amp;quot;,
&lt;br&gt;&amp;gt; 		num_threads, argv[0]);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;pthread = malloc (num_threads * sizeof (pthread_t));
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;assert (pthread != NULL);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; num_threads; i++)
&lt;br&gt;&amp;gt; 	pthread_create (&amp;pthread[i], NULL, start, NULL);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; num_threads; i++) {
&lt;br&gt;&amp;gt; 	pthread_join (pthread[i], NULL);
&lt;br&gt;&amp;gt; 	printf(&amp;quot;joined thread%d\n&amp;quot;, i);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;return 0;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; /* gcc threads-gdiplus.c `pkg-config --cflags glib-2.0` -Wall - 
&lt;br&gt;&amp;gt; lgdiplus -lpthread */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;assert.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;stdlib.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;string.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;wchar.h&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;gdiplus/GdiPlusFlat.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;pthread.h&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; void
&lt;br&gt;&amp;gt; fatal(char const* func, GpStatus err)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp;fprintf(stderr, &amp;quot;%s: %d\n&amp;quot;, func, err);
&lt;br&gt;&amp;gt; &amp;nbsp;exit(1);
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; static void*
&lt;br&gt;&amp;gt; start(void* closure)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp;GpStatus err;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;GpBitmap* img;
&lt;br&gt;&amp;gt; &amp;nbsp;int width = 128;
&lt;br&gt;&amp;gt; &amp;nbsp;int height = 32;
&lt;br&gt;&amp;gt; &amp;nbsp;int stride = width*4;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;GpGraphics* gfx;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;GpFontFamily* family;
&lt;br&gt;&amp;gt; &amp;nbsp;GpFont* font;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;WCHAR const str[] = {'H','e','l','l','o',',',' &amp;nbsp;
&lt;br&gt;&amp;gt; ','W','o','r','l','d','!'};
&lt;br&gt;&amp;gt; &amp;nbsp;size_t len = sizeof(str)/sizeof(WCHAR);
&lt;br&gt;&amp;gt; &amp;nbsp;RectF rect;
&lt;br&gt;&amp;gt; &amp;nbsp;RectF bounds;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;int i;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;for (i = 0; i &amp;lt; 1000; ++i) {
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;err = GdipCreateBitmapFromScan0(width, height, stride, &amp;nbsp;
&lt;br&gt;&amp;gt; PixelFormat32bppARGB, /* scan0 = */ NULL, &amp;img);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (err != Ok)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;fatal(&amp;quot;GdipCreateBitmapFromScan0&amp;quot;, err);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;//assert(pthread_mutex_lock(&amp;mutex) == 0);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;err = GdipGetImageGraphicsContext(img, &amp;gfx);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (err != Ok)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;fatal(&amp;quot;GdipGetImageGraphicsContext&amp;quot;, err);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;//assert(pthread_mutex_unlock(&amp;mutex) == 0);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;err = GdipGetGenericFontFamilySansSerif(&amp;family);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (err != Ok)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;fatal(&amp;quot;GdipGetGenericFontFamilySansSerif&amp;quot;, err);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;err = GdipCreateFont(family, 12.0, FontStyleRegular, UnitPoint, &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;font);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (err != Ok)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;fatal(&amp;quot;GdipCreateFont&amp;quot;, err);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;rect.X = 0;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;rect.Y = 0;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;rect.Width = width;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;rect.Height = height;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;//assert(pthread_mutex_lock(&amp;mutex) == 0);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;err = GdipMeasureString(gfx, str, len, font, &amp;rect, /* format = &amp;nbsp;
&lt;br&gt;&amp;gt; */ NULL, &amp;bounds,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* codepoints = */ NULL, /* lines = */ &amp;nbsp;
&lt;br&gt;&amp;gt; NULL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (err != Ok)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;fatal(&amp;quot;GdipMeasureString&amp;quot;, err);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;//assert(pthread_mutex_unlock(&amp;mutex) == 0);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;err = GdipDeleteFont(font);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (err != Ok)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;fatal(&amp;quot;GdipDeleteFont&amp;quot;, err);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;err = GdipDeleteGraphics(gfx);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (err != Ok)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;fatal(&amp;quot;GdipDeleteGraphics&amp;quot;, err);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;err = GdipDisposeImage(img);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (err != Ok)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;fatal(&amp;quot;GdipDisposeImage&amp;quot;, err);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;return NULL;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; int
&lt;br&gt;&amp;gt; main(int argc, char *argv[0])
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp;int i, num_threads;
&lt;br&gt;&amp;gt; &amp;nbsp;pthread_t* pthread;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;GpStatus err;
&lt;br&gt;&amp;gt; &amp;nbsp;ULONG_PTR gdiptok;
&lt;br&gt;&amp;gt; &amp;nbsp;GdiplusStartupInput gdipinput;
&lt;br&gt;&amp;gt; &amp;nbsp;GdiplusStartupOutput gdipoutput;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;err = GdiplusStartup(&amp;gdiptok, &amp;gdipinput, &amp;gdipoutput);
&lt;br&gt;&amp;gt; &amp;nbsp;if (err != Ok)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;fatal(&amp;quot;GdiplusStartup&amp;quot;, err);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;if (argc &amp;gt; 1) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;num_threads = atoi(argv[1]);
&lt;br&gt;&amp;gt; &amp;nbsp;} else {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;num_threads = 6;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;printf(&amp;quot;Running with default value of %d threads.\n&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;To change, call: %s &amp;lt;number_of_threads&amp;gt;\n&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; num_threads, argv[0]);
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;pthread = malloc(num_threads * sizeof(pthread_t));
&lt;br&gt;&amp;gt; &amp;nbsp;assert(pthread != NULL);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;for (i = 0; i &amp;lt; num_threads; i++)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;pthread_create(&amp;pthread[i], NULL, start, NULL);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;for (i = 0; i &amp;lt; num_threads; i++) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;pthread_join(pthread[i], NULL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;printf(&amp;quot;joined thread%d\n&amp;quot;, i);
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;pthread_mutex_destroy(&amp;mutex);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;return 0;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-devel-list mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26102196&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-devel-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-devel-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-devel-list&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26102196&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-System.Drawing-%28libgdiplus%29-thread-safe--tp26098886p26102196.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26099525</id>
	<title>Re: [Mono-dev] [Mono-winforms-list] Is System.Drawing (libgdiplus)	thread-safe?</title>
	<published>2009-10-28T11:16:37Z</published>
	<updated>2009-10-28T11:16:37Z</updated>
	<author>
		<name>Sebastien Pouliot-2</name>
	</author>
	<content type="html">On Wed, 2009-10-28 at 19:47 +0200, Alex Shulgin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Alex Shulgin wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi all,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Is System.Drawing by any means thread-safe?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Can I create some threads, create a Graphics object in each of them and 
&lt;br&gt;&amp;gt; &amp;gt; then work with it from within that thread? &amp;nbsp;Is this supposed to work or 
&lt;br&gt;&amp;gt; &amp;gt; am I doing something really stupid here?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Oh, forgot to mention that I've tested this on both 2.4 and latest 
&lt;br&gt;&amp;gt; available 2.6. &amp;nbsp;The results are the same.
&lt;/div&gt;&lt;br&gt;There has not been many changes between 2.4 and 2.6 wrt
&lt;br&gt;System.Drawing.dll and libgdiplus (i.e. minor maintenance).
&lt;br&gt;&lt;br&gt;Most graphic stuff (and time) now happens in Moonlight...
&lt;br&gt;&lt;br&gt;Sebastien
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26099525&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-System.Drawing-%28libgdiplus%29-thread-safe--tp26098886p26099525.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26099480</id>
	<title>Re: [Mono-winforms-list] Is System.Drawing (libgdiplus)	thread-safe?</title>
	<published>2009-10-28T11:13:52Z</published>
	<updated>2009-10-28T11:13:52Z</updated>
	<author>
		<name>Sebastien Pouliot-2</name>
	</author>
	<content type="html">On Wed, 2009-10-28 at 19:37 +0200, Alex Shulgin wrote:
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is System.Drawing by any means thread-safe?
&lt;br&gt;&lt;br&gt;No, like most of the .net framework, i.e.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;quote&amp;gt;Any public static (Shared in Visual Basic) members of
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this type are thread safe. Any instance members are not
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; guaranteed to be thread safe.&amp;lt;/quote&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can I create some threads, create a Graphics object in each of them and 
&lt;br&gt;&amp;gt; then work with it from within that thread? &amp;nbsp;
&lt;br&gt;&lt;br&gt;Yes, you can (or it's a bug). However you also need to make sure you're
&lt;br&gt;not using the Graphic instance (and other created objects) only from a
&lt;br&gt;single (and original) thread.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Is this supposed to work or 
&lt;br&gt;&amp;gt; am I doing something really stupid here?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I ask because I've noticed random crashes in a WinForms app on OS X (but 
&lt;br&gt;&amp;gt; it happens on Linux too). &amp;nbsp;Most of the time it crashes in 
&lt;br&gt;&amp;gt; System.Drawing.Graphics' DrawString or MeasureString methods and seems 
&lt;br&gt;&amp;gt; to occur then a background worker thread is working in parallel with UI 
&lt;br&gt;&amp;gt; thread.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've tried to do a stress-test of System.Drawing in a sample 
&lt;br&gt;&amp;gt; multi-threaded program. &amp;nbsp;See attached `test-multi-threaded-drawing.cs'.
&lt;/div&gt;&lt;br&gt;Please open a bug report on bugzilla.novell.com and attach your test
&lt;br&gt;case.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On my Linux box it crashes all the time. &amp;nbsp;I get a wide variety of errors 
&lt;br&gt;&amp;gt; from gdb stacktraces with SIGSEGV or SIGABRT in the end, to SIGILL with 
&lt;br&gt;&amp;gt; .Net stack trace.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Uncommenting these lock {} lines in the ThreadProc helps, but not an 
&lt;br&gt;&amp;gt; option for my real app, as there's simply no single place a lock could 
&lt;br&gt;&amp;gt; be added.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've also tried writing some code in plain C which links to libgdiplus 
&lt;br&gt;&amp;gt; directly: see `threads-gdiplus.c'. &amp;nbsp;It happily crashes just like the C# 
&lt;br&gt;&amp;gt; version.
&lt;/div&gt;&lt;br&gt;Most of System.Drawing is only a small wrapper abound libgdiplus (or GDI
&lt;br&gt;+ under Windows). Any bug will likely be inside libgdiplus so it's
&lt;br&gt;&amp;quot;normal&amp;quot; (i.e. expected) that you get the same behavior.
&lt;br&gt;&lt;br&gt;&amp;gt; My tests show that even using unsynchronized GdipGetImageGraphicsContext 
&lt;br&gt;&amp;gt; / GdipDeleteGraphics (no fonts stuff touched) can easily lead to crashes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;From what I've seen, cairo seems to be thread-safe: see attached[1] 
&lt;br&gt;&amp;gt; `cairo-multi-thread-text.c'.
&lt;br&gt;&lt;br&gt;It's thread-safe as long as everything is created and executed in the
&lt;br&gt;same thread. Otherwise it would not be safe-thread (just like .net and
&lt;br&gt;most libraries are).
&lt;br&gt;&lt;br&gt;&amp;gt; Also, there's a few locking used around thread-unsafe fontconfig calls 
&lt;br&gt;&amp;gt; in libgdiplus itself. &amp;nbsp;I didn't examined the whole code, so there's 
&lt;br&gt;&amp;gt; possibly other places in it missing locking primitives.
&lt;br&gt;&lt;br&gt;Yep. Font-related code (and older, pre-1.4, versions of Cairo) had quite
&lt;br&gt;a few problems (solved with the locking code). Other than that SWF and
&lt;br&gt;ASP.NET were the big clients for SD/libgdiplus and, for SWF,
&lt;br&gt;multithreading was not an issue at all.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I would appreciate any help on this subject!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Alex
&lt;br&gt;&amp;gt; [1] originally found in the cairo bugzilla for a few-years-old bug; my 
&lt;br&gt;&amp;gt; sligthly enhanced version
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-winforms-list maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26099480&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-winforms-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-winforms-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-winforms-list&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26099480&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-System.Drawing-%28libgdiplus%29-thread-safe--tp26098886p26099480.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26099002</id>
	<title>Re: [Mono-winforms-list] Is System.Drawing (libgdiplus) thread-safe?</title>
	<published>2009-10-28T10:45:03Z</published>
	<updated>2009-10-28T10:45:03Z</updated>
	<author>
		<name>Alexander Shulgin</name>
	</author>
	<content type="html">Alex Shulgin wrote:
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is System.Drawing by any means thread-safe?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can I create some threads, create a Graphics object in each of them and 
&lt;br&gt;&amp;gt; then work with it from within that thread? &amp;nbsp;Is this supposed to work or 
&lt;br&gt;&amp;gt; am I doing something really stupid here?
&lt;br&gt;&lt;br&gt;Oh, forgot to mention that I've tested this on both 2.4 and latest 
&lt;br&gt;available 2.6. &amp;nbsp;The results are the same.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Alex
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-osx mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26099002&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-osx@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-osx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-osx&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-System.Drawing-%28libgdiplus%29-thread-safe--tp26098886p26099002.html" />
</entry>

</feed>
