[Mono-list] Need help in compilation

Marc Glenn mjamon at ntsp.nec.co.jp
Mon Feb 25 03:25:12 EST 2008


Hello folks,

     I installed the mono-1.2.5.1 installer for windows xp. It has 
gtk-sharp 2.10 and gnome 2.16 included.
    
     I also found *PrintSample.cs* in the samples directory. This 
PrintSample.cs uses the Gnome namespace to print.

     I am having problems on how to compile it using mono on windows. I 
don't know what library to include so the Gnome namespace can be 
accessible. But            when I compile it on mono(linux), it runs fine.

     Also, when I tried copying the PrintSample.exe which is produced by 
a mono(linux) compilation. It won't run on my mono(windows). It outputs 
a                          System.DllNotFoundException.

     Attached is the *PrintSample.cs *file.

     Does anyone know how to compile it correctly on a windows machine?

Desperate already,
Marc Glenn


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080225/1dbcce3f/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PrintSample.cs
Url: http://lists.ximian.com/pipermail/mono-list/attachments/20080225/1dbcce3f/attachment.pl 


More information about the Mono-list mailing list