My wxErlang module doesn't work. I am using Erlang/OTP R13B. This the
error message:
1>wx:new().
=ERROR REPORT==== 7-Jun-2009::12:17:09 ===
WX Failed loading "wxe_driver"@"/usr/local/lib/erlang/lib/wx-0.98.1/
priv/i386-apple-darwin9.6.0"
** exception error: {load_driver,"dlopen(/usr/local/lib/erlang/lib/
wx-0.98.1/priv/i386-apple-darwin9.6.0/wxe_driver.so, 2): Symbol not
found: __ZN10wxGLCanvas20MacVisibilityChangedEv\n Referenced from: /
usr/local/lib/erlang/lib/wx-0.98.1/priv/i386-apple-darwin9.6.0/
wxe_driver.so\n Expected in: flat namespace\n"}
in function wxe_server:start/0
in call from wx:new/1
In addition Is there nay documentation about wxErlang. The erlang.org
user guide documentation is too brief.
Regards
Jose Luis
________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org
This issue has appeared on the list before; unfortunately wxErlang
does not work with the default wxWidgets distribution provided in Mac
OS X. You need to to a bit of work but it is worth the effort (if only
to run the debugger GUI!).
First of all, please take a look at ./lib/wx/README in your erlang
source distribution.
Download wxWidgets 2.8.10 (not the 2.9.x release candidates) and build
according to the instructions for Mac in the above README file.
When you configure, build and install erlang ensure that your
wxWidgets build directory is at the head of your path variable.
eg)
export PATH=$(WXWIDGETS_BUILD_PATH):$PATH
./configure
make
sudo make install
The erlang configure script should be using the wx-config script
created in the wxWidgets build diractory. This is not made explicit in
the wxErlang README file.
Good Luck!
John Webb
> > erlang-questions mailing list. Seehttp://www.erlang.org/faq.html
> > erlang-questions (at) erlang.org
>
> ________________________________________________________________
> erlang-questions mailing list. Seehttp://www.erlang.org/faq.html