Open Tobias-Fischer opened 9 years ago
It looks like that python and allegro bindings are installed, all the others are not
However it still requires to set LUA_CPATH, i.e.:
export LUA_CPATH=;;;
From what I understand it should not be installed in "bin" but in "lib/lua/5.2" or something similar, and I think that you will not have to export LUA_CPATH...
I just noticed that bindings install examples and other stuff that is not supposed to be installed, but do not install the actual target... we should definitely clean up this:
Problem with installation in lib/lua/5.2 is that you need to know the lua version.
I confirm that it works if yarp.so is installed in lib/lua/
The problem is how to tell cmake about the lua version...
Both FindLua.cmake
and FindLua51.cmake
(we are using the latter) define LUA_VERSION_STRING
.
Works on Ubuntu 14.04
Closing, thanks @lornat75 and @traversaro!
Reopening this until all the bindings are installed in the proper place.
Hi all,
I found a little bug: Bindings of YARP (I only tested LUA) do not get copied to the installation folder when executing
make install
.The way this bug can be replicated is as follows:
make
-> bindings are compiled in build/lib/luamake install
-> bindings should be copied to CMAKE_INSTALL_PREFIX/lib/lua, but are notWould be great if this could be fixed.
Thanks, Tobias