> Well I don't have more than one version of Lua or wxWidgets installed. I > installed them directly form the apt repository in Ubuntu. I checked ldd and > did not find any .so that linked to anything outside the systems version of > Lua. Could it be a difference because wxLua is bound to 2.8.10 and the > version I am building is using 2.8.11?
No, the only reason that wxLua hasn't been released for 2.8.11 is that there aren't many (if any) changes in wxWidgets that would affect people. I use wxLua compiled with 2.8.11 exclusively. > I also tried using the local only versions and it still segmentation faults. Please try to install "gdb" and then run $gdb lua In the gdb prompt type "run myprogram.lua", when it segfaults type "bt" and post the results. > So I did find out that if I use 'wxlua' to run the scripts everything works > fine. So it seems to be erroring out using the wxLua Lua module (wx.so) from > strait lua. Does that help at all? In fact, it is not the line of requiring Yes, that's why I am thinking that there is some mismatch between the Lua wxLua was compiled with and the Lua on your system. wxLua comes with it's own Lua in wxLua/modules/lua, it's completely generic, but has some patches applied. Please look at "config.log" or the output of configure to see that wxLua is not compiling against wxLua/modules/lua, but /usr/include/lua... > that seg faults, it is the first time you call into the library and display > a GUI element (like a wxMessageBox). Now if I pass the wrong parameters to a > function in wxLua it will give me the normal wxLua error message. It does > not actually seg fault on that. Does this help? Not really, you can run apps with mismatched libs with some success, until you hit a function that is different, then you crash. Regards, John ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users