[Mono-list] problem linking with Wx.Net
Bryan Bulten
bbulten@telus.net
Thu, 25 Sep 2003 09:10:32 -0700
--Multipart_Thu__25_Sep_2003_09_10_32_-0700_=.zJ'?OFIxPt_1Jk
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Hello,
> I am trying to compile some sample programs using WxWindows.Net GUI
> library. It installed fine, but I am not able to compile programs
> linked with wx.NET. Apparently it is a linking problem with the
> libwx-c.so library.
Where have you placed wx.NET.dll and libwx-c.so?
Generally, I install them in my library path, /usr/local/lib, and run
ldconfig after installation. This _should_ stop linking errors like the
ones you are having.
> When I execute "mcs /r:wx.NET /r:System.Drawing Dialogs.cs"
If wx.NET.dll and libwx-c.so are in the current directory, you may need
to add a /lib option:
mcs /lib:. /r:wx.NET /r:System.Drawing Dialogs.cs
> Using mono 0.26 on GNU/Linux.
I'm using mono CVS, so things may have changed a little since then.
Let me know if this helps; linker errors are always a pain to figure
out. :-)
Best Regards.
--
Bryan Bulten
http://www.bulten.ca/
http://wxnet.sourceforge.net/
--Multipart_Thu__25_Sep_2003_09_10_32_-0700_=.zJ'?OFIxPt_1Jk
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/cxN832WFWIzmzHgRApnfAJ4hxYgBF4ipEjQvu8yX3d0sFstqEACeO80I
jeWMGxKsGiJIHkfRw6nggLI=
=WbD6
-----END PGP SIGNATURE-----
--Multipart_Thu__25_Sep_2003_09_10_32_-0700_=.zJ'?OFIxPt_1Jk--