I have built libcocos2dx and HelloCpp in TIzen using the docs.
However, I need to add the following argument (-llua) into my linker command otherwise I get this exception :
undefined reference to `lua_tolstring’
How do I add arguments into the ninja build - I see things like the following used as the linker command :
arm-linux-gnueabi-g++ -o hellocpp Classes/AppDelegate.o Classes/HelloWorldScene.o src/main.o -lcocos2dx -lwebp -ltiff -ljpeg -lpng -lchipmunk -lwebsockets
but I need the command to be the same as above but with “-llua” added at the end.
I have played with CMake files etc and nothing is making a difference.