[Mono-devel-list] Re: Mono on Windows HOWTO
Alain Favre
prettyfly at gmail.com
Fri Oct 22 05:35:04 EDT 2004
Hello,
First think when you use a reference you need to reference a .dll
for example :
gtk-sharp.dll or System.Data.dll
You can add some Global Path, then mcs will found it in the path :
Variable : LD_LIBRARY_PATH
Value : C:\PROGRA~1\MONO-1~1.2\lib
PKG_CONFIG_PATH
Value c:\PROGRA~1\MONO-1~1.2\lib\pkgconfig
Then add this to the PATH value :
C:\PROGRA~1\MONO-1~1.2\bin;C:\PROGRA~1\MONO-1~1.2\lib
After that you can use the -pkg option as it :
mcs -pkg:gtk-sharp -r:System.Drawing.dll gui.cs
Good luck
More information about the Mono-devel-list
mailing list