Installing tolua on Mac OS X++

Time:2020-11-27

1. Download tolua + +:http://www.codenix.com/~tolua/

2. Installing scons with brew

brew install scons

3. Unzip the tolua package and edit the config_ posix.py File, delete the reference of lualib library. This is the special feature of MAC system

Installing tolua on Mac OS X++

4. Execute the scons installation command

scons
scons install

You can see the tolua + + program in the / usr / local / bin directory

Installing tolua on Mac OS X++