On Sun, Nov 17, 2013 at 2:34 AM, Paul K <paulclin...@yahoo.com> wrote:
> Hi Kent,
>
> I just compiled my wxlua based application with wxwidgets 3.0 couple
> of days ago and haven't seen any issues/crashes yet. I'll try to run
> the samples tomorrow (don't have access to my MacBook right now) to
> check if there are any issues with them.
>
> > - Is this setup supposed to work at all, i.e. wxLua with wxWindows 3?
>
> I'd say so. I've been using wxwidgets 2.9.5 for several months and
> have compiled/run wxwidgets 3.0 (including different pre-release
> versions) without issues.
>
>
It should work, but since I only own a rather antique Mac mini I don't
regularly use it and so my testing on it is minimal. However, besides the
rather odd (to me at least) mac "app" structure there's no reason why wxLua
would not work as well on OSX as on MSW or Linux.
> > I tried compile from source and run wxWindows 3.0.0, wxLua 2.8.12.3 on
> > OS X 10.8.5 (XCode 5.0.2). The actual compile went fine
> >
> > cd wxWidgets-3.0.0
> > ./configure --prefix=/usr/local
> > make
> > sudo make install
> > cd ../wxLua-2.8.12.3-src
> > mkdir obj ; cd obj
> > cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..
> > make
> > sudo make install
>
Did you follow these directions to build wxWidgets?
http://wxlua.sourceforge.net/docs/install.html#C2.6
If these are not the best way, please let me know and I will amend the
directions.
>
> > Crashed Thread: 0 Dispatch queue: com.apple.main-thread
> >
> > Exception Type: EXC_BAD_ACCESS (SIGSEGV)
> > Exception Codes: KERN_INVALID_ADDRESS at 0xfffffffffffffff8
> >
> > VM Regions Near 0xfffffffffffffff8:
> > --> shared memory 00007ffffff3b000-00007ffffff3c000 [ 4K]
> r-x/r-x SM=SHM
> >
> > Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> > 0 libwx_baseu-3.0.dylib 0x000000010da5332f (anonymous
> namespace)::wxFileSystemObjectExists(wxString const&, int) + 367
> > 1 libwx_baseu-3.0.dylib 0x000000010da53139
> wxFileName::FileExists() const + 57
> > 2 libwx_baseu-3.0.dylib 0x000000010da23f36
> wxFileConfig::Init() + 1718
>
>
This should definitely not happen and seems like it may not be related to
wxLua. Is there something special about the path? The wxLua executable
tries to open a config file in your "user config dir" to load previous
window settings and simple stuff like that.
Note that the wxLua.app program is simply samples/editor.wx.lua embedded in
the executable.
You can also run it this way:
open -a wxLua --args editor.wx.lua
Here's where the fileconfig is created...
http://sourceforge.net/p/wxlua/svn/HEAD/tree/trunk/wxLua/samples/editor.wx.lua#l185
When I can get some time I will try to build it on OSX and see what happens.
Regards,
John
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users