[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Getting Started with Lua
- From: Graham Henstridge <graham@...>
- Date: Fri, 23 Dec 2011 08:42:54 +1100
On 22/12/2011, at 10:03 PM, Luiz Henrique de Figueiredo wrote:
>> I have spend a lot of time trying to work out why I am unable to load
>> my libraries.
> If you build Lua 5.2.0 using the Makefiles provided in the tarball then
> all compatibility switches are on and C code for 5.1 should work just fine
> in 5.2.
Because Lua is embedded, I use an Xcode 4 framework for the project where it may be statically or dynamically linked. This works for 5.1.4
My aims are to gain familiarity with 5.2 and at the same time future proof the code by eliminating all depreciated functions and to adopt the newer features. Using compatibility switches might be a transitional solution, but it does not seem to way to future proofing. Whatever, there is no documentation or sample code that I can find appropriate the the task.
The supplied Makefiles worked fine for a standard (from command line) Lua install, but that is not my development environment.