[MonoDevelop] Building/Running MD From Source on Windows

Scott Stephens stephens.js at gmail.com
Tue Mar 5 22:53:22 UTC 2013


I've been trying to take a look at the changes to MD as a result of the
Xamarin Studio 4.0 release, but have been unable to get a version built
from source to run.

I've been attempting to build/debug/run using Visual Studio 2010.  The
first obstacle was that the solution file is for Visual Studio 2012, but
simply changing the two lines at the top seems to make it usable by VS
2010.  Next, it seems that no projects are configured to be built with the
DebugWin32 configuration.  I made a guess as to which were appropriate to
build in that case, and got it to build and start up.  However, when it
runs it doesn't actually do anything useful, it fails while it's
initializing in startup.  Specifically, the following messages appear in
the logs:

ERROR [2013-03-05 16:40:14Z]: Error initialising GLib logging.
System.BadImageFormatException: An attempt was made to load a program with
an incorrect format. (Exception from HRESULT: 0x8007000B)
   at GLib.Marshaller.g_malloc(UIntPtr size)
   at GLib.Marshaller.StringToPtrGStrdup(String str)
   at MonoDevelop.Ide.Gui.GLibLogging.Log.SetLogHandler(String logDomain,
LogLevelFlags flags, LogFunc logFunc) in
C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\GLibLogging.cs:line
105
   at MonoDevelop.Ide.Gui.GLibLogging.set_Enabled(Boolean value) in
C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\GLibLogging.cs:line
226
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelopOptions options) in
C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line
91
FATAL ERROR [2013-03-05 16:40:14Z]: MonoDevelop failed to start. Some of
the assemblies required to run MonoDevelop (for example gtk-sharp)may not
be properly installed in the GAC.
System.BadImageFormatException: An attempt was made to load a program with
an incorrect format. (Exception from HRESULT: 0x8007000B)
   at Gtk.Rc.gtk_rc_get_module_dir()
   at Gtk.Rc.get_ModuleDir()
   at MonoDevelop.Ide.IdeStartup.SetupTheme() in
C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line
299
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelopOptions options) in
C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line
96
   at MonoDevelop.Ide.IdeStartup.Main(String[] args) in
C:\Users\rock361\Development\thirdpartywork\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line
569

Seems like a problem with the Gtk# installation, but I'm not sure what it
could be... Xamarin Studio 4.0.1 installed as a binary works fine, and I've
got Mono 2.10.9 and Mono 3.0.6 installed.

Does anybody have a guess as to what might be going on?

-- Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20130305/029dd1b4/attachment.html>


More information about the Monodevelop-list mailing list