Re: DllNotFoundException when trying to run Samples
Bryan Bulten <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <20040415204743.3eacd18c@goliath> |
Hello, > > What is the output of: > > > > ldd libwx-c.so > > $ ldd libwx-c.so|sed 's/^\t//' > > libwx_gtk2ud_html-2.5.so.1 => > /usr/local/lib/libwx_gtk2ud_html-2.5.so.1(0x00111000) > libwx_gtk2ud_adv-2.5.so.1 => /usr/local/lib/libwx_gtk2ud_adv-2.5.so.1 > (0x00aa4000) > libwx_gtk2ud_core-2.5.so.1 => > /usr/local/lib/libwx_gtk2ud_core-2.5.so.1(0x0019c000) > libwx_baseud_xml-2.5.so.1 => /usr/local/lib/libwx_baseud_xml-2.5.so.1 > (0x0088d000) > libwx_baseud_net-2.5.so.1 => /usr/local/lib/libwx_baseud_net-2.5.so.1 > (0x004e1000) > libwx_baseud-2.5.so.1 => /usr/local/lib/libwx_baseud-2.5.so.1 > (0x0062f000) libwx_gtk2ud_stc-2.5.so.1 => > /usr/local/lib/libwx_gtk2ud_stc-2.5.so.1(0x0050f000) > libwx_gtk2ud_xrc-2.5.so.1 => /usr/local/lib/libwx_gtk2ud_xrc-2.5.so.1 > (0x005c0000) > ... It looks like everything is there, so I'm not 100% sure what could be going on. Normally I just place wx.NET.dll and libwx-c.so into my current working directory, and Mono or Portable.NET loads it just fine (no LD_LIBRARY_PATH adjustments required). Have you tried running any of the wxWidgets samples (i.e. samples/minimal in wxGTK sources)? If these can't load, a better error message may be available. As a last result, perhaps try the wx.NET-0.4-linux.tar.gz pre-built package from the downloads page, or directly send me your libwx-c.so binary, and I can attempt to troubleshoot it. > > > Also, to build with StyledTextCtrl and XmlResource support, I think > > you may have to manually build them from > > wxWidgets-2.5.1/contrib/src/* (i.e. make and make install from > > there.) I've never tried building them from the base wxWidgets > > configure, so I'm not too sure. > > I'll rebuild without this -- I was not sure if wx.NET used it or not. By adding the --enable-stc and --enable-xrc flags to Premake, it was using those libraries in contrib. Judging by the output of ldd, it looks like they were originally built. -- Bryan Bulten http://www.bulten.ca/ http://wxnet.sourceforge.net/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAfy0y32WFWIzmzHgRAm0QAJ4j9dXqkS+G7PegCM96WmkzZi+2vQCePefX d1ElLWEg8ynHnhlYGoo3VYw= =prQ6 -----END PGP SIGNATURE-----