Re: Could not open wxEuphoria library. Press enter to abort.
- Posted by jimcbrown (admin) Jan 16, 2013
- 1639 views
Hello I am a new user. I have stubled across this site and Euphoria seems a very promising language. I find it a really good compromise between ease of use and power. And I hope to be able to use it. However I also need to a cross platform gui interface and I am not able to install wxEuphoria.
I am using Ubuntu linux 12.04 64 bits and I have tried to install Euphoria both with the provided deb package and with the archive. I have tried wxEuphoria both the precompiled libwxeu.so and the one I have compiled. I always get the same message when executing "include wxeud.e." "Could not open wxEuphoria library. Press enter to abort "
You are installing a version of Euphoria 4.0 (4.0.5 or older). Despite the presence of a 64bit package, the Euphoria binaries are 32bit. (Yes, even the 64bit package installs 32bit binaries.)
However, your wxEuphoria library is probably 64bit. A 32bit Euphoria will never be able to open a 64bit wxEuphoria library.
See http://openeuphoria.org/forum/118108.wc#118108 and http://openeuphoria.org/forum/m/115690.wc
I have found the following post in the forum which is similar to my problem, but fails to resolve it. It does not seem to be a problem of sim link. http://test.openeuphoria.org/forum/110825.wc.
http://openeuphoria.org/forum/110825.wc is the correct link. Don't use test - the posts on there may change randomly and without warning.
Running "ldd /usr/lib/libwxeu.so" shows the correct output as for the post 110825
I'm quite confused by this. Can you show the full output of ldd, for both the precompiled libwxeu.so and the version that you compiled yourself?
Also, the output of running 'file /usr/lib/libwxeu.so' for both versions.
Executing "wxWidgets = open_dll( "libwxeu.so" )" seems to load the library but then I am unable to use it.
I am out of my depth here. Anybody who can help?
Thank you
What is the value of the variable wxWidgets after then open_dll() call?