Issue
I am trying to build my first NDK library, and am getting an error when compiling:
.../cstdlib:53: error: '::clearenv' has not been declared
Can I not use the C standard library with NDK?
Solution
I solved it by changing <cstdlib>
to <stdlib.h>
. Not sure why that worked, though.
Answered By - Baruch
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.