So i just tried to link against lua5.2 with the QtCreator and... well lets just say it was true pain.
In the respositories there is a liblua5.2-dev version that seemingly provided all the needed headers but if linked at failed at finding even the lua.hpp. I still don't know why it didn't worked. But to fix it I had to uninstall my full lua installation and to compile and install the whole thing manually. At least lua came with a nice readme and fully preconfigured. So all one had to do was use 'make linux' and 'sudo make linux install'.
Also had an similar issue with the json spirit library where there was a whole header(!) missing in the Ubuntu repository. So in the installation was pretty much unusable. It's a shame because one easily looses track of what one does have installed, which version and so on. For the moment switched to the jansson library instead that seems to be working through the repositories.
At least a spark to not giving up on the whole thing...
Maybe I should start my own repository one day. God sooooo much stuff I need to do...
In the respositories there is a liblua5.2-dev version that seemingly provided all the needed headers but if linked at failed at finding even the lua.hpp. I still don't know why it didn't worked. But to fix it I had to uninstall my full lua installation and to compile and install the whole thing manually. At least lua came with a nice readme and fully preconfigured. So all one had to do was use 'make linux' and 'sudo make linux install'.
Also had an similar issue with the json spirit library where there was a whole header(!) missing in the Ubuntu repository. So in the installation was pretty much unusable. It's a shame because one easily looses track of what one does have installed, which version and so on. For the moment switched to the jansson library instead that seems to be working through the repositories.
At least a spark to not giving up on the whole thing...
Maybe I should start my own repository one day. God sooooo much stuff I need to do...