[MonoDevelop] Monodevelop claims for libgtk-win32-2.0-0.dll

gennady wexler adyler@winisp.net
Sat, 21 Aug 2004 16:58:39 -0700


monodevelop is designed in mind that it can work on virtually any system.
hence it references generic libraries.

you just need to define mapping for mono and some of monodevelop components
accordingly so it knows how to locate libraries that match your operating
system.

here's what needs to be don based of Gilman's post:

>From gilmanb@jforge.net  Sun Aug  8 23:42:58 2004
From: gilmanb@jforge.net (Brian Gilman)
Date: Sun, 8 Aug 2004 18:42:58 -0400
Subject: [MonoDevelop] Mac OS  X Instructions for MonoDevelop (kinda long)
Message-ID: <4C24AE02-E98C-11D8-8A8C-000A95CA3D68@jforge.net>

10) go to /Library/Frameworks/Mono.framework/Versions/1.0/etc/mono/
        a) edit the config file so it looks like:

        <configuration>
         <dllmap dll="cygwin1.dll" target="libc.dylib" />
         <dllmap dll="libc" target="libc.dylib" />
         <dllmap dll="libintl" target="libintl.dylib" />
         <dllmap dll="libxslt.dll" target="libxslt.dylib" />
         <dllmap dll="libmySQL.dll" target="libmysqlclient.dylib" />
         <dllmap dll="odbc32.dll" target="libodbc.dylib" />
         <dllmap dll="oci" target="clntsh" />
         <dllmap dll="db2cli" target="libdb2_36.dylib"/>
         <dllmap target="libgtk-x11-2.0.0.dylib"
dll="libgtk-win32-2.0-0.dll">
         <dllmap target="libgnomevfs-2.dylib" dll="gnomevfs-2">
         <dllmap target="libgdldock.dylib" dll="gdldock">
         <dllmap target="libMonoPosixHelper.dylib"
dll="libMonoPosixHelper">
         <dllmap target="libgtk-x11-2.0.0.dylib"
dll="libgtk-x11-2.0.so.0">
         <dllmap target="libglib-2.0.0.dylib" dll="libglib-2.0-0.dll">
</configuration>

    11) Go to your <MONODEVELOP_HOME>/build/bin
        a) edit your MonoDevelop.Gui.Utils.dll.config so that it looks like:
            <configuration>
                         <dllmap dll="gnomevfs-2"
target="libgnomevfs-2.dylib"/>
            </configuration>

    12) Edit  
<MONODEVELOP_HOME>/build/bin/MonoDevelop.SourceEditor.dll.config
        <configuration>
              <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.0.dylib"/>
               <dllmap dll="gtksourceview-1.0"
target="libgtksourceview-1.0.so.0"/>
        </configuration>

    13) Edit <MONODEVELOP_HOME>/build/bin/gdl-sharp.dll.config
        <configuration>
               <dllmap dll="libglib-2.0-0.dll"
target="libglib-2.0.0.dylib"/>
               <dllmap dll="libgobject-2.0-0.dll"
target="libgobject-2.0.so.0"/>
               <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so.0"/>
               <dllmap dll="libgtk-win32-2.0-0.dll"
target="libgtk-x11-2.0.so.0"/>
        </configuration>

let me know if this isnt solving your problem or if you run into anything
else.

I am assuming that monodevelop team when targeting certain operating systems
should generate correct config files for you at make install time.
apparently this is not happening probably due to some configuration bugs. I
heard that 0.5.1 release should solve most if not all of these issues.

On 8/21/04 4:18 PM, "Alexandre Gomes" <alexmipego@hotmail.com> wrote:

> Hi,
> 
> I had the same problem. I don't remember exactly how to solve it but I'm
> prety sure the problem can be solved with the installation of mono-devel and
> gtk-devels librarys. Also be sure that mono is referenced in pkg-config, I
> had installed mono via rpms but ?an error in installation? had not
> registered the paths so pkg-config could not find the mono.
> 
> All this is to make sure that autogen find that you are in linux and can
> compile to linux-gtk, if this fails he compiles for windows by default.
> Strange thing...
> 
> Hope it helps,
> Alex
> 
> 
>> From: Ricardo Markiewicz <rmarkie@fi.uba.ar>
>> Reply-To: rmarkie@fi.uba.ar
>> To: Monodevelop <monodevelop-list@lists.ximian.com>
>> Subject: [MonoDevelop] Monodevelop claims for libgtk-win32-2.0-0.dll
>> Date: Fri, 20 Aug 2004 03:05:09 -0300
>> 
>> Hi all ... i download the last svn version of monodevelop and compile
>> and install without problems, but when y execute #> monodevelop i get :
>> 
>> Creating DefaultWorkbench
>> Loading error, please reinstall :
>> System.DllNotFoundException: libgtk-win32-2.0-0.dll
>> in <0x00053> (wrapper managed-to-native)
>> MonoDevelop.Core.Services.ResourceService:gtk_icon_set_render_icon
>> (intptr,intptr,int,int,int,intptr,string)
>> in <0x00092> MonoDevelop.Core.Services.ResourceService:GetIcon
>> (string,Gtk.IconSize)
>> in <0x00022> MonoDevelop.Core.Services.ResourceService:GetBitmap
>> (string,Gtk.IconSize)
>> in <0x00017> MonoDevelop.Core.Services.ResourceService:GetBitmap
>> (string)
>> in <0x00268> MonoDevelop.Gui.DefaultWorkbench:.ctor ()
>> in <0x00021> MonoDevelop.Commands.InitializeWorkbenchCommand:Run ()
>> in <0x00653> MonoDevelop.SharpDevelopMain:Main (string[])
>> 
>> i don't know why claims for libgtk-win32-2.0-0.dll.
>>