[Gtk-sharp-list] Glade-sharp in Windows 2000
Francisco T. Martinez
Tue, 03 Aug 2004 12:54:39 -0500
This is a multi-part message in MIME format.
Content-Type: text/plain; charset=UTF-8; format=flowed
Mike Kestner wrote:
>On Tue, 2004-08-03 at 11:25, Jorge de Jesús Ramírez Sánchez wrote:
>>C:\Projects\project1>mcs hello.cs -pkg:gtk-sharp -r:glade-sharp
>>error CS0006: Cannot find assembly `glade-sharp'
>mcs hello.cs -pkg:glade-sharp
I just did a quick check and realized that I did not include
glade-sharp.pc. That is my bad. I am including one that you can edit
and later copy to the pkgconfig directory.
My suggestion is:
open the gtk-sharp.pc with text editor of your choice and copy the first
line on that file.
Open the glade-sharp.pc file included in this message and replace that
first line with the one you copied from the gtk-sharp.pc file. Save the
Copy the glade-sharp.pc file to the exact location where your
gtk-sharp.pc file resides.
The base direcotry where the combined Mono installer was installed at,
can be found by looking into the registry with a tool like regedit.exe.
Use this registry information to obtain the correct path:
The pkgconfig directoy is a subdirectoy of the folder pointed in the
string value of the Registry Key mentioned above.
If you want to avoid using the Windows Registry editor and feel more at
home with *NIX tools you could use pkg-config.exe to obtain the path of
the library directory.
From the Start menu open up the Mono 1.0 Command Prompt and type:
pkg-config --variable libdir gtk-sharp
That will reveal the parent directory to your pkgconfig directory.