1

So I've been looking on the internet for a moment and found nearly no tutorial, or good instructions on how to install luabind. I found that I need to have boost and lua 5.xx installed to install it; I've already installed lua 5.3.1 ( which definitly works ), and installed boost like this : sudo apt-get install libboost-all-dev and checked it : it is in /usr/include/boost ;

Saw I installed those 2 libraries required. The Question would be how can I install luabind ? Are there any packages, or things like this ? Can any one give me some command line instructions so I can install it easily ? PS : I checked the official documentation, but for some reason it did not work.

MattMatt
  • 135
  • 1
  • 1
  • 7

1 Answers1

2

In all currently supported versions of Ubuntu open the terminal and type:

sudo apt install libluabind-dev

libluabind-dev -- luabind c++ binding for lua: static library and headers
Luabind is a library that helps you create bindings between C++ and Lua. It has the ability to expose functions and classes, written in C++, to Lua. It will also supply the functionality to define classes in lua and let them derive from other lua classes or C++ classes. Lua classes can override virtual functions from their C++ baseclasses.

karel
  • 13,706