-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling error #65
Comments
Please read through the README carefully as well as other issues here before creating new issues. The solution to you problem is mentioned in the project README.... "Make sure the SDK Platform for API 19 is installed, through the Android SDK Manager. Install NDK Revision 9b from here or use the latest and set NDK_TOOLCHAIN_VERSION=4.9." |
@cj360 opened #64 not to long ago with the problem. I think this has to do with CLang compiling issues. @hqt Try cherry-picking this commit and see if that fixes the error. |
I'll go ahead and confirm when attempting to build this with Omni, it is indeed the use of clang that's triggering the error. I can only assume clang adheres more strictly to standards - nested functions are undefined behavior. I suggest ditching them. |
It can be fixed. In fact I have fixed that with some modifications (c++11 lambdas, more explicit type conversions and some additional curly braces for new context to make compiler happy about goto), but the code is still shit (lot of similar boilerplate code, mallocs, and huge codebase noone will read) and needs a serious refactoring. Maybe it even should be corroded. |
When I compile, I meet this error:
Do you have idea about this.
The text was updated successfully, but these errors were encountered: