tolua++ - Home

news - download - documentation - installing - contact - lua_qt - Codenix

tolua++ is an extended version of tolua, a tool to integrate C/C++ code with Lua. tolua++ includes new features oriented to c++ such as:

As well as other features and bugfixes.


15/02/09: Version 1.0.93 released. Some bugfixes and new features:

27/04/06: Version 1.0.92 released. Some bugfixes and new features:

25/02/06: Version 1.0.91 released. This version contains a small garbage collection bugfix for 1.0.90 (thanks to Rolf E. Thorup for the report), everyone should upgrade.

18/02/06: Version 1.0.90 released. Some bugfixes and new features:

18/10/05: Version 1.0.7 released. Some bugfixes and new features:

01/9/05: Version 1.0.6 released. Several bugfixes and new features:

10/4/05: Version 1.0.5 released. This version contains some minor bugfixes and a new feature, the tolua_outside keyword, used to specify regular functions as methods of classes or structs. This release is also paired with lua_qt version 0.0.1a.

1/2/05: version 1.0.4 released. This version contains some bugfixes and new features:

Most of the changes on this version were added for lua_qt, a package to bind the Qt toolkit to lua.

20/9/04: version 1.0.3 released. This version contains major bugfixes:

Everyone should upgrade.

23/10/03: version 1.0.2 released. This version contains major bugfixes:

Everyone should upgrade.


The latest development version of the code is available through SVN from tolua++'s BerliOS project page. You can checkout using:

svn checkout svn://

The tolua++ source is freely available by http. The software provided under the terms of the MIT license. See the COPYRIGHT file distributed with the source.

Current version is 1.0.93, older versions:

  • tolua++-1.0.93.tar.bz2
  • tolua++-1.0.92.tar.bz2
  • tolua++-1.0.91.tar.bz2
  • tolua++_1.0.7-1.tar.gz [deb]
  • tolua++_1.0.6-1.tar.gz [deb]
  • tolua++_1.0.5-1.tar.gz [deb]
  • tolua++-1.0.4.tar.bz2 [deb]
  • tolua++-1.0.3.tar.bz2
  • tolua++-1.0.2.tar.bz2
  • tolua++-1.0.tar.bz2


    You can find the manual here or under the doc/ directory on the distribution.

    I'll also be adding interesting addons/examples to my page on the lua-users wiki.


    tolua++ uses SCons to build. SCons is based on python, you can get a stand-alone version on their website. After you have SCons, follow this simple instructions:

  • Type 'scons all' to compile.
  • Type 'scons install'. The default install prefix is /usr/local, so if you are on a POSIX system, it should work. On other systems, you can change it with the 'prefix' option on command line.

    scons prefix=/usr install

    or on windows

    scons "prefix=c:\Program Files\Visual C" install

    Use scons -h to see a list of available command line options.

    The files you need (in case you want to do a manual install) are:

  • See INSTALL for instructions on how to install without SCons. There are also instructions on how to build without scons at the lua-users wiki (if you know the author of this, contact me)
  • For lua 5.1, see README-5.1
    tolua++ and this website are maintained by Ariel Manzur.
    Contact us with any bugs, fixes, suggestions, or questions about this package.