erlang - wxErlang fails loading driver -


after several attempts managed compile , install both wxwidgets 2.8.11 , erlang r13b04 wxerlang on mac os x, version 10.4.11. however, testing wxerlang fails immediately:

1> wx:new().   = error report==== 21-jul-2010::18:37:23 === wx failed loading  "wxe_driver"@"/usr/local/lib/erlang/li/wx-0.98.5/priv/i386-apple-darwing8.11.1"  ** exception error:  {load_driver,   "dlopen(/usr/local/lib/erlang/li/wx-0.98.5/priv/i386-apple-darwin8.11.1/wxe_driver.so,  2): symbol not found: __zn5wxapp10initializeerippw\n referenced from:  /usr/local/lib/erlang/lib/wx-0.98.5/priv/i386-apple-darwin8.11.1/wxe_driver.so\n  expected in: flat namespace\n"} in function wxe_server:start/0 in call  wx:new/1 

i did see thread "wxerlang" jun 7, 2009 on mailing list. did retry following it's advise (ensuring wxwidgets build directory first in path), didn't make difference.

any suggestions?

otool -l says:

    /system/library/frameworks/opengl.framework/versions/a/opengl (compatibility version 1.0.0, current version 1.0.0)     /system/library/frameworks/iokit.framework/versions/a/iokit (compatibility version 1.0.0, current version 275.0.0)     /system/library/frameworks/carbon.framework/versions/a/carbon (compatibility version 2.0.0, current version 128.0.0)     /system/library/frameworks/cocoa.framework/versions/a/cocoa (compatibility version 1.0.0, current version 11.0.0)     /usr/lib/libsystem.b.dylib (compatibility version 1.0.0, current version 88.3.11)     /system/library/frameworks/quicktime.framework/versions/a/quicktime (compatibility version 1.0.0, current version 1327.73.0)     /system/library/frameworks/agl.framework/versions/a/agl (compatibility version 1.0.0, current version 1.0.0)     /system/library/frameworks/webkit.framework/versions/a/webkit (compatibility version 1.0.0, current version 533.16.0)     /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)     /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)     /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)     /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) 

ciao, olaf

you can achieve command

./configure --enable-m32-build.

it worked on mac lion (osx 10.7.2)


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -