> On Wed, Nov 3, 2010 at 1:02 PM, Ryan Pusztai <rpusz...@gmail.com> wrote: >> >> Hi, >> >> I have downloaded the latest release of wxLua and built it using the >> documented method from the wxLua website (./configure, make, sudo make >> install). After I 'sudo make install' and I try to just simply 'require( >> "wx" )' and call wx.wxMessageBox("Hello") I get a Segmentation fault. It is >> building wxLua v2.8.10 with wxWidgets version 2.8.11. Any thoughts? >> Terminal output: >> $ lua >> Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio >> > require( "wx" ) >> > wx.wxMessageBox("hi") >> Segmentation fault > > Any ideas about this? I sent it quite a while ago and not sure if anyone has > an idea. Thanks.
Sorry no ideas. I would guess that you have mismatched versions of Lua. Maybe you have a system Lua installed or two versions of wxWidgets on your system? I would try running ldd on the wxlua libs and make sure that everything is in order. You can also try to execute the program using the lua executable that wxLua compiles, i.e. don't install it, but run everything from the directory you built it in, use $export LD_LIBRARY_PATH=/path/to/wxlua/libs to force it to find the proper ones. 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