robotology-legacy / codyco-superbuild

Software repository for FP7 project CoDyCo - Whole-body Compliant Dynamical Contacts in Cognitive Humanoids - http://www.codyco.eu
13 stars 17 forks source link

ccmake: Lua: disabled #99

Closed DermyO closed 8 years ago

DermyO commented 8 years ago

Hi, The problem is when I want to do: "cd $YARP_ROOT/bindings mkdir build cd build ccmake .." and I want to put CREATE_LUA=ON, this "create_lua" variable doesn't exist. If I do "cmake .. -DCREATE_LUA=ON" it is written: "+++ Lua: disabled" and other disabled variables. --------Some other information------------------ I have installed LUA with: "http://www.yarp.it/yarp_swig.html#yarp_swig_lua" and I don't really understand this part : "After Compiling YARP language bindings, make sure that the Lua-Yarp binding shared library (.so/.dll/.dylib/...) is included in your LUA_CPATH environment variable; e.g., on linux: export LUA_CPATH=";;;/path/to/bindings/build/?.so"" So I try to put in the bashrc things like:

lua path

export LUA_PATH=";;;/home/odermy/yarp/bindings/build/rFSM/?.lua" export LUA_CPATH=";;;/:/usr/lib/x86_64-linux-gnu/?.so"


Can you help me please?

traversaro commented 8 years ago

Hi @misaki43 .

Currently Lua is an optional dependency of the codyco-superbuild, used only for some (undocumented and currently not working) demos. I think you can safely skip it.

traversaro commented 8 years ago

I removed that section from the documentation, because Lua is not working in any maintained software/demo, see https://github.com/robotology/codyco-superbuild/commit/e423d21cf9502ffb859345129b7d58489803786c . Thanks for the issue!

traversaro commented 8 years ago

@misaki43 The installation went ok I assume?

DermyO commented 8 years ago

@traversaro : Yes the installation is ok. What does Lua serve if it is optional?

traversaro commented 8 years ago

It was necessary for some demos (in particular for running some finite state machine using rFSM ) but this demos are not running at the moment.

traversaro commented 8 years ago

I will close the issue, let me know if you have any additional question. : )