robotology-superbuild
robotology-superbuild copied to clipboard
Document and test in CI ROBOTOLOGY_USES_LUA option and update setup.sh
Once it is documented, we can remove the mark_as_advanced
.
Original code in the README removed in https://github.com/robotology/robotology-superbuild/pull/31 :
| ROBOTOLOGY_USES_LUA
| Include software and plugins that depend on the Lua scripting language. | OFF
| Documentation on Lua dependency. |
Lua
Support for this dependency is enabled by the ROBOTOLOGY_USES_LUA
CMake option.
Configuration
TODO
Check the installation
TODO
Another existing problem (cc @xEnVrE) is that at the moment the setup.sh
( https://github.com/robotology/robotology-superbuild/blob/master/cmake/template/setup.sh.in ) and all related files in Windows (see https://github.com/robotology/robotology-superbuild/issues/147) do not set the LUA_CPATH
env variable, so you will need to set it manually.
@Nicogene probably experienced a regression as this option is not tested in CI:
In file included from /Users/runner/work/icub-tests/icub-tests/yarp/src/carriers/portmonitor_carrier/MonitorBinding.cpp:14:
/Users/runner/work/icub-tests/icub-tests/yarp/src/carriers/portmonitor_carrier/lua/MonitorLua.h:16:10: fatal error: 'swigluarun.h' file not found
#include "swigluarun.h"
^~~~~~~~~~~~~~
1 error generated.
make[2]: *** [src/carriers/portmonitor_carrier/CMakeFiles/yarp_portmonitor.dir/MonitorBinding.cpp.o] Error 1
make[1]: *** [src/carriers/portmonitor_carrier/CMakeFiles/yarp_portmonitor.dir/all] Error 2
make: *** [all] Error 2