Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: chriss on May 20, 2016, 05:12:18 PM

Title: no lua.rock viewer in compiled image
Post by: chriss on May 20, 2016, 05:12:18 PM
I've successfully compiled a rockbox simulator using the virtualbox image development environment.   I can't however get a simple lua script to run because as the error message says, ".rockbox/rocks/lua.rock" cannot be found.   I've tried compiling the simulator version again as well as building a version for a specific player (non-simulator) and also checking pre-built images.   None of these have a lua.rock file in the .rockbox/rocks directory.

Am I missing something?   I can't find any specific compiling instructions for including lua in the compiilation.    There seems to be code for lua in the latest source (from git), in the rockbox/apps/plugins/lua directory.   However, in the resulting compiled image, there is no lua.rock.   There is a lua subdirectory in .rockbox/rocks, but it is empty.

Thanks for any help.
Title: Re: no lua.rock viewer in compiled image
Post by: Mihail Zenkov on May 21, 2016, 03:50:59 AM
You should have .rockbox/rocks/viewers/lua.rock, .rockbox/rocks/viewers/lua/actions.lua and .rockbox/rocks/viewers/lua/buttons.lua.