Rinnegatamante / lpp-vita

Lua Player Plus for PSVITA. Documentation on: http://rinnegatamante.github.io/lpp-vita/
GNU General Public License v3.0
179 stars 27 forks source link

LPP doesn't build unless Vita2d extra headers are copied #65

Closed RawBOT closed 1 year ago

RawBOT commented 1 year ago

As the title says, a fresh make won't build as it would throw the following error:

source/luaGraphics.cpp:31:10: fatal error: utils.h: No such file or directory
   31 | #include <utils.h>
      |          ^~~~~~~~~
compilation terminated.

This was tested in three different machines, on fresh installs, installing the VitaSDK with vdpm and immediately trying to build lpp-vita:

What is missing is the extra step as done by the Github actions:

git clone https://github.com/xerpi/libvita2d
sudo -E cp libvita2d/libvita2d/include/utils.h $VITASDK/arm-vita-eabi/include/utils.h

By doing this, the build finished successfully.