skanti/Android-Manual-Build-Command-Line

Cannot run makefile command line

Closed this issue · 1 comments

nambv commented

Hi @skanti ,
I am trying to using makefile to build android application. When I used your tool, I received this error during the command line: make build

error: 'malloc' was not declared in this scope
             engine->app->savedState = malloc(sizeof(struct saved_state));

Can you take a look? Thank you very much for your support

Hi, can you include the header <cstdlib>? That should resolve the problem