myfreeoreo.blogg.se

Android ndk setorientation not working
Android ndk setorientation not working







This is wasting memory and prevents security hardening. I haven’t looked into it too much yet because it only happened on the Nexus 5X emulator and not the Pixel or actual device. Nothing will be drawn to the screen after the app is ran multiple times. The logcat also shows an unrelated bug about swap behavior. The 6th line down of the logcat talks about libmpg123. Gameĭetected problems with app native libraries (please consult log for detail): libmpg123.so: text relocations I don’t get this popup on an actual device. Although, when ran on an emulator (tested with Nexus 5X api 24 and Pixel api 26), I get the following popup. It now compiles fine and plays mp3 music. Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace. Users/James/Desktop/test4/app/jni/SDL_mixer/external/mpg123-1.25.6/src/libmpg123/optimize.c:515:79: warning: format specifies type 'int' but the argument has type 'int (*)(int, char *const *, const char *)' #define error2(s, a, b) fprintf(stderr, DBGPRFX" error: " s "\n", _LINE_, a, b) Users/James/Desktop/test4/app/jni/SDL_mixer/external/mpg123-1.25.6/src/libmpg123/debug.h:110:97: note: expanded from macro 'error2' If(NOQUIET) error2("you wanted decoder type %i, I only have %i", want_dec, defopt) Users/James/Desktop/test4/app/jni/SDL_mixer/external/mpg123-1.25.6/src/libmpg123/optimize.c:515:79: error: use of undeclared identifier 'defopt' did you mean 'getopt'?

android ndk setorientation not working

Users/James/Desktop/test4/app/jni/SDL_mixer/external/mpg123-1.25.6/src/libmpg123/optimize.c:513:31: warning: comparison between pointer and integer ('unsigned int' and 'int (*)(int, char *const *, const char *)') Users/James/Desktop/test4/app/jni/SDL_mixer/external/mpg123-1.25.6/src/libmpg123/optimize.c:513:34: error: use of undeclared identifier 'defopt' did you mean 'getopt'? Int getopt(int, char * const, const char *) Users/James/Library/Android/sdk/ndk-bundle/sysroot/usr/include/bits/getopt.h:36:6: note: 'getopt' declared here Execution failed for task ':app:externalNativeBuildDebug'.Įrror while executing process /Users/James/Library/Android/sdk/ndk-bundle/ndk-build with arguments I didn’t have any problems adding SDL_image and SDL_ttf.

android ndk setorientation not working

I also get errors when setting SUPPORT_MP3_MPG123 to false.

android ndk setorientation not working

When adding SDL_mixer I get an error with libmpg123 about “shared library text segment is not shareable”.

ANDROID NDK SETORIENTATION NOT WORKING ANDROID

I’m using the new Android Studio project provided in SDL.







Android ndk setorientation not working