Re: wxEuphoria v0.10.0 - wxeud.e:758

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jerry Story wrote:
> 
> ~$ ldd /usr/local/lib/libwxeu.so
>         libwx_gtk2u_aui-2.8.so.0 => /usr/lib/libwx_gtk2u_aui-2.8.so.0
>         (0xb7e52000)
>         libwx_gtk2u_xrc-2.8.so.0 => /usr/lib/libwx_gtk2u_xrc-2.8.so.0
>         (0xb7dbd000)
>         libwx_gtk2u_qa-2.8.so.0 => /usr/lib/libwx_gtk2u_qa-2.8.so.0
>         (0xb7d9c000)
>         libwx_gtk2u_html-2.8.so.0 => /usr/lib/libwx_gtk2u_html-2.8.so.0
>         (0xb7cfd000)
>         libwx_gtk2u_adv-2.8.so.0 => /usr/lib/libwx_gtk2u_adv-2.8.so.0
>         (0xb7c3b000)
>         libwx_gtk2u_core-2.8.so.0 => /usr/lib/libwx_gtk2u_core-2.8.so.0
>         (0xb78b3000)
>         libwx_baseu_xml-2.8.so.0 => /usr/lib/libwx_baseu_xml-2.8.so.0
>         (0xb78a9000)
>         libwx_baseu_net-2.8.so.0 => /usr/lib/libwx_baseu_net-2.8.so.0
>         (0xb787a000)
>         libwx_baseu-2.8.so.0 => /usr/lib/libwx_baseu-2.8.so.0 (0xb771e000)

OK, so it's finding the libraries.  The fact that you're getting the error
you're getting, however, leads me to believe that you're not running the
most current version of wxeud.e.

The following should be near the top of wxeud.e.  If it isn't, then you 
aren't using the latest.  This code makes sure that if it can't link to
the shared library, it prints an error message and aborts.  If you *are*
using the latest, then we have some more work to do.  I guess, let's 
figure out if *anything* is being properly defined through define_c_*.

atom wxWidgets

if platform() = LINUX then
	wxWidgets = open_dll( "libwxeu.so" )
else
	wxWidgets = open_dll( "libwxeu.dll" )
end if

if wxWidgets = 0 then
	puts(2, "Could not open wxEuphoria library.  Press enter to abort.\n" )
	if atom(gets(0)) or 1 then
		abort(1)
	end if
end if


new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu