You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd raylib-5.0/src
cp raylib.h ../../include
make clean
make PLATFORM=PLATFORM_ANDROID ANDROID_NDK=../../android/ndk ANDROID_ARCH=arm ANDROID_API_VERSION=33
mv libraylib.a ../../lib/armeabi-v7a
make clean
make PLATFORM=PLATFORM_ANDROID ANDROID_NDK=../../android/ndk ANDROID_ARCH=arm64 ANDROID_API_VERSION=33
mv libraylib.a ../../lib/arm64-v8a
make clean
make PLATFORM=PLATFORM_ANDROID ANDROID_NDK=../../android/ndk ANDROID_ARCH=x86 ANDROID_API_VERSION=33
mv libraylib.a ../../lib/x86
make clean
make PLATFORM=PLATFORM_ANDROID ANDROID_NDK=../../android/ndk ANDROID_ARCH=x86_64 ANDROID_API_VERSION=33
mv libraylib.a ../../lib/x86_64
make clean
cd ../..
and This is the Output I get
rm -fv *.o ../src/libraylib.a ../src/libraylib.bc ../src/libraylib.so* raygui.c ../src/*-protocol.h ../src/*-protocol-code.h
removed all generated files!
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi33-clang -c rcore.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/arm-linux-androideabi
In file included from <built-in>:398:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:392:9: note: previous definition is here
392 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
In file included from rcore.c:101:
./rlgl.h:3025:9: warning: variable 'mipOffset' set but not used [-Wunused-but-set-variable]
3025 | int mipOffset = 0; // Mipmap data offset, only used for tracelog
| ^
2 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi33-clang -c rshapes.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/arm-linux-androideabi
In file included from <built-in>:398:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:392:9: note: previous definition is here
392 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi33-clang -c rtextures.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/arm-linux-androideabi
In file included from <built-in>:398:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:392:9: note: previous definition is here
392 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
rtextures.c:357:52: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
357 | struct NSVGimage *svgImage = nsvgParse(fileData, "px", 96.0f);
| ^~~~~~~~
./external/nanosvg.h:2952:28: note: passing argument to parameter 'input' here
2952 | NSVGimage* nsvgParse(char* input, const char* units, float dpi)
| ^
rtextures.c:390:43: warning: comparison of distinct pointer types ('unsigned char *' and 'const char *') [-Wcompare-distinct-pointer-types]
390 | if (isSvgStringValid && (fileData != fileNameOrString)) UnloadFileData(fileData);
| ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
rtextures.c:544:52: warning: passing 'const unsigned char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
544 | struct NSVGimage *svgImage = nsvgParse(fileData, "px", 96.0f);
| ^~~~~~~~
./external/nanosvg.h:2952:28: note: passing argument to parameter 'input' here
2952 | NSVGimage* nsvgParse(char* input, const char* units, float dpi)
| ^
In file included from rtextures.c:216:
./external/stb_image_resize2.h:2866:14: warning: unused function 'stbir__support_zero' [-Wunused-function]
2866 | static float stbir__support_zero(float s, void * user_data)
| ^~~~~~~~~~~~~~~~~~~
5 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi33-clang -c rtext.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/arm-linux-androideabi
In file included from <built-in>:398:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:392:9: note: previous definition is here
392 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi33-clang -c utils.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/arm-linux-androideabi
In file included from <built-in>:398:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:392:9: note: previous definition is here
392 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi33-clang -c rmodels.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/arm-linux-androideabi
In file included from <built-in>:398:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:392:9: note: previous definition is here
392 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
In file included from rmodels.c:111:
./external/par_shapes.h:1133:32: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
1133 | float r = (float) rand() / RAND_MAX;
| ~ ^~~~~~~~
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/include/stdlib.h:132:18: note: expanded from macro 'RAND_MAX'
132 | #define RAND_MAX 0x7fffffff
| ^~~~~~~~~~
2 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi33-clang -c raudio.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/arm-linux-androideabi
In file included from <built-in>:398:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:392:9: note: previous definition is here
392 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi33-clang -c ../../android/ndk/sources/android/native_app_glue/android_native_app_glue.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/arm-linux-androideabi
In file included from <built-in>:398:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:392:9: note: previous definition is here
392 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar rcs ../src/libraylib.a rcore.o rshapes.o rtextures.o rtext.o utils.o rmodels.o raudio.o android_native_app_glue.o
raylib static library generated (libraylib.a) in ../src!
mv: cannot move 'libraylib.a' to '../../lib/armeabi-v7a': No such file or directory
rm -fv *.o ../src/libraylib.a ../src/libraylib.bc ../src/libraylib.so* raygui.c ../src/*-protocol.h ../src/*-protocol-code.h
removed 'android_native_app_glue.o'
removed 'raudio.o'
removed 'rcore.o'
removed 'rmodels.o'
removed 'rshapes.o'
removed 'rtext.o'
removed 'rtextures.o'
removed 'utils.o'
removed '../src/libraylib.a'
removed all generated files!
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang -c rcore.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -target aarch64 -mfix-cortex-a53-835769 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/aarch64-linux-android
In file included from rcore.c:101:
./rlgl.h:3025:9: warning: variable 'mipOffset' set but not used [-Wunused-but-set-variable]
3025 | int mipOffset = 0; // Mipmap data offset, only used for tracelog
| ^
rcore.c:1644:16: warning: unused variable 'sleepSeconds' [-Wunused-variable]
1644 | double sleepSeconds = seconds - seconds*0.05; // NOTE: We reserve a percentage of the time for busy waiting
| ^~~~~~~~~~~~
2 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang -c rshapes.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -target aarch64 -mfix-cortex-a53-835769 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/aarch64-linux-android
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang -c rtextures.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -target aarch64 -mfix-cortex-a53-835769 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/aarch64-linux-android
rtextures.c:357:52: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
357 | struct NSVGimage *svgImage = nsvgParse(fileData, "px", 96.0f);
| ^~~~~~~~
./external/nanosvg.h:2952:28: note: passing argument to parameter 'input' here
2952 | NSVGimage* nsvgParse(char* input, const char* units, float dpi)
| ^
rtextures.c:390:43: warning: comparison of distinct pointer types ('unsigned char *' and 'const char *') [-Wcompare-distinct-pointer-types]
390 | if (isSvgStringValid && (fileData != fileNameOrString)) UnloadFileData(fileData);
| ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
rtextures.c:544:52: warning: passing 'const unsigned char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
544 | struct NSVGimage *svgImage = nsvgParse(fileData, "px", 96.0f);
| ^~~~~~~~
./external/nanosvg.h:2952:28: note: passing argument to parameter 'input' here
2952 | NSVGimage* nsvgParse(char* input, const char* units, float dpi)
| ^
In file included from rtextures.c:216:
./external/stb_image_resize2.h:2503:13: warning: unused function 'stbir_simd_memcpy' [-Wunused-function]
2503 | static void stbir_simd_memcpy( void * dest, void const * src, size_t bytes )
| ^~~~~~~~~~~~~~~~~
./external/stb_image_resize2.h:2866:14: warning: unused function 'stbir__support_zero' [-Wunused-function]
2866 | static float stbir__support_zero(float s, void * user_data)
| ^~~~~~~~~~~~~~~~~~~
5 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang -c rtext.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -target aarch64 -mfix-cortex-a53-835769 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/aarch64-linux-android
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang -c utils.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -target aarch64 -mfix-cortex-a53-835769 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/aarch64-linux-android
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang -c rmodels.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -target aarch64 -mfix-cortex-a53-835769 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/aarch64-linux-android
In file included from rmodels.c:111:
./external/par_shapes.h:1133:32: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
1133 | float r = (float) rand() / RAND_MAX;
| ~ ^~~~~~~~
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/stdlib.h:132:18: note: expanded from macro 'RAND_MAX'
132 | #define RAND_MAX 0x7fffffff
| ^~~~~~~~~~
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang -c raudio.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -target aarch64 -mfix-cortex-a53-835769 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/aarch64-linux-android
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang -c ../../android/ndk/sources/android/native_app_glue/android_native_app_glue.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -target aarch64 -mfix-cortex-a53-835769 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/aarch64-linux-android
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar rcs ../src/libraylib.a rcore.o rshapes.o rtextures.o rtext.o utils.o rmodels.o raudio.o android_native_app_glue.o
raylib static library generated (libraylib.a) in ../src!
mv: cannot move 'libraylib.a' to '../../lib/arm64-v8a': No such file or directory
rm -fv *.o ../src/libraylib.a ../src/libraylib.bc ../src/libraylib.so* raygui.c ../src/*-protocol.h ../src/*-protocol-code.h
removed 'android_native_app_glue.o'
removed 'raudio.o'
removed 'rcore.o'
removed 'rmodels.o'
removed 'rshapes.o'
removed 'rtext.o'
removed 'rtextures.o'
removed 'utils.o'
removed '../src/libraylib.a'
removed all generated files!
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android33-clang -c rcore.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=i686 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/i686-linux-android
In file included from <built-in>:392:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:385:9: note: previous definition is here
385 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
In file included from rcore.c:101:
./rlgl.h:3025:9: warning: variable 'mipOffset' set but not used [-Wunused-but-set-variable]
3025 | int mipOffset = 0; // Mipmap data offset, only used for tracelog
| ^
2 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android33-clang -c rshapes.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=i686 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/i686-linux-android
In file included from <built-in>:392:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:385:9: note: previous definition is here
385 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android33-clang -c rtextures.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=i686 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/i686-linux-android
In file included from <built-in>:392:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:385:9: note: previous definition is here
385 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
rtextures.c:357:52: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
357 | struct NSVGimage *svgImage = nsvgParse(fileData, "px", 96.0f);
| ^~~~~~~~
./external/nanosvg.h:2952:28: note: passing argument to parameter 'input' here
2952 | NSVGimage* nsvgParse(char* input, const char* units, float dpi)
| ^
rtextures.c:390:43: warning: comparison of distinct pointer types ('unsigned char *' and 'const char *') [-Wcompare-distinct-pointer-types]
390 | if (isSvgStringValid && (fileData != fileNameOrString)) UnloadFileData(fileData);
| ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
rtextures.c:544:52: warning: passing 'const unsigned char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
544 | struct NSVGimage *svgImage = nsvgParse(fileData, "px", 96.0f);
| ^~~~~~~~
./external/nanosvg.h:2952:28: note: passing argument to parameter 'input' here
2952 | NSVGimage* nsvgParse(char* input, const char* units, float dpi)
| ^
In file included from rtextures.c:216:
./external/stb_image_resize2.h:2503:13: warning: unused function 'stbir_simd_memcpy' [-Wunused-function]
2503 | static void stbir_simd_memcpy( void * dest, void const * src, size_t bytes )
| ^~~~~~~~~~~~~~~~~
./external/stb_image_resize2.h:2866:14: warning: unused function 'stbir__support_zero' [-Wunused-function]
2866 | static float stbir__support_zero(float s, void * user_data)
| ^~~~~~~~~~~~~~~~~~~
6 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android33-clang -c rtext.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=i686 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/i686-linux-android
In file included from <built-in>:392:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:385:9: note: previous definition is here
385 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android33-clang -c utils.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=i686 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/i686-linux-android
In file included from <built-in>:392:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:385:9: note: previous definition is here
385 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android33-clang -c rmodels.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=i686 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/i686-linux-android
In file included from <built-in>:392:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:385:9: note: previous definition is here
385 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
In file included from rmodels.c:111:
./external/par_shapes.h:1133:32: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
1133 | float r = (float) rand() / RAND_MAX;
| ~ ^~~~~~~~
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/include/stdlib.h:132:18: note: expanded from macro 'RAND_MAX'
132 | #define RAND_MAX 0x7fffffff
| ^~~~~~~~~~
2 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android33-clang -c raudio.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=i686 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/i686-linux-android
In file included from <built-in>:392:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:385:9: note: previous definition is here
385 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
In file included from raudio.c:176:
./external/miniaudio.h:14841:9: warning: misaligned atomic operation may incur significant performance penalty; the expected alignment (8 bytes) exceeds the actual alignment (4 bytes) [-Watomic-alignment]
14841 | __atomic_compare_exchange_n(dst, &expected, desired, 0, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST);
| ^
2 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android33-clang -c ../../android/ndk/sources/android/native_app_glue/android_native_app_glue.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=i686 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/i686-linux-android
In file included from <built-in>:392:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:385:9: note: previous definition is here
385 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar rcs ../src/libraylib.a rcore.o rshapes.o rtextures.o rtext.o utils.o rmodels.o raudio.o android_native_app_glue.o
raylib static library generated (libraylib.a) in ../src!
mv: cannot move 'libraylib.a' to '../../lib/x86': No such file or directory
rm -fv *.o ../src/libraylib.a ../src/libraylib.bc ../src/libraylib.so* raygui.c ../src/*-protocol.h ../src/*-protocol-code.h
removed 'android_native_app_glue.o'
removed 'raudio.o'
removed 'rcore.o'
removed 'rmodels.o'
removed 'rshapes.o'
removed 'rtext.o'
removed 'rtextures.o'
removed 'utils.o'
removed '../src/libraylib.a'
removed all generated files!
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang -c rcore.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=x86-64 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/x86_64-linux-android
In file included from <built-in>:397:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:390:9: note: previous definition is here
390 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
In file included from rcore.c:101:
./rlgl.h:3025:9: warning: variable 'mipOffset' set but not used [-Wunused-but-set-variable]
3025 | int mipOffset = 0; // Mipmap data offset, only used for tracelog
| ^
2 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang -c rshapes.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=x86-64 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/x86_64-linux-android
In file included from <built-in>:397:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:390:9: note: previous definition is here
390 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang -c rtextures.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=x86-64 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/x86_64-linux-android
In file included from <built-in>:397:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:390:9: note: previous definition is here
390 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
rtextures.c:357:52: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
357 | struct NSVGimage *svgImage = nsvgParse(fileData, "px", 96.0f);
| ^~~~~~~~
./external/nanosvg.h:2952:28: note: passing argument to parameter 'input' here
2952 | NSVGimage* nsvgParse(char* input, const char* units, float dpi)
| ^
rtextures.c:390:43: warning: comparison of distinct pointer types ('unsigned char *' and 'const char *') [-Wcompare-distinct-pointer-types]
390 | if (isSvgStringValid && (fileData != fileNameOrString)) UnloadFileData(fileData);
| ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~
rtextures.c:544:52: warning: passing 'const unsigned char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
544 | struct NSVGimage *svgImage = nsvgParse(fileData, "px", 96.0f);
| ^~~~~~~~
./external/nanosvg.h:2952:28: note: passing argument to parameter 'input' here
2952 | NSVGimage* nsvgParse(char* input, const char* units, float dpi)
| ^
In file included from rtextures.c:216:
./external/stb_image_resize2.h:2503:13: warning: unused function 'stbir_simd_memcpy' [-Wunused-function]
2503 | static void stbir_simd_memcpy( void * dest, void const * src, size_t bytes )
| ^~~~~~~~~~~~~~~~~
./external/stb_image_resize2.h:2866:14: warning: unused function 'stbir__support_zero' [-Wunused-function]
2866 | static float stbir__support_zero(float s, void * user_data)
| ^~~~~~~~~~~~~~~~~~~
6 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang -c rtext.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=x86-64 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/x86_64-linux-android
In file included from <built-in>:397:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:390:9: note: previous definition is here
390 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang -c utils.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=x86-64 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/x86_64-linux-android
In file included from <built-in>:397:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:390:9: note: previous definition is here
390 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang -c rmodels.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=x86-64 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/x86_64-linux-android
In file included from <built-in>:397:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:390:9: note: previous definition is here
390 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
In file included from rmodels.c:111:
./external/par_shapes.h:1133:32: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
1133 | float r = (float) rand() / RAND_MAX;
| ~ ^~~~~~~~
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/include/stdlib.h:132:18: note: expanded from macro 'RAND_MAX'
132 | #define RAND_MAX 0x7fffffff
| ^~~~~~~~~~
2 warnings generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang -c raudio.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=x86-64 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/x86_64-linux-android
In file included from <built-in>:397:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:390:9: note: previous definition is here
390 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android33-clang -c ../../android/ndk/sources/android/native_app_glue/android_native_app_glue.c -Wall -D_GNU_SOURCE -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O2 -march=x86-64 -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC -Wa,--noexecstack -Wformat -no-canonical-prefixes -D__ANDROID__ -DPLATFORM_ANDROID -D__ANDROID_API__=33 -I. -I../../android/ndk/sources/android/native_app_glue -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/x86_64-linux-android
In file included from <built-in>:397:
<command line>:6:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]
6 | #define __ANDROID_API__ 33
| ^
<built-in>:390:9: note: previous definition is here
390 | #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__
| ^
1 warning generated.
../../android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar rcs ../src/libraylib.a rcore.o rshapes.o rtextures.o rtext.o utils.o rmodels.o raudio.o android_native_app_glue.o
raylib static library generated (libraylib.a) in ../src!
mv: cannot move 'libraylib.a' to '../../lib/x86_64': No such file or directory
rm -fv *.o ../src/libraylib.a ../src/libraylib.bc ../src/libraylib.so* raygui.c ../src/*-protocol.h ../src/*-protocol-code.h
removed 'android_native_app_glue.o'
removed 'raudio.o'
removed 'rcore.o'
removed 'rmodels.o'
removed 'rshapes.o'
removed 'rtext.o'
removed 'rtextures.o'
removed 'utils.o'
removed '../src/libraylib.a'
removed all generated files!
When asking ChatGPT it says that
Below is the minimal patch that removes every call to the now-obsolete
ALooper_pollAll() and swaps it for ALooper_pollOnce() in
raylib-5.0/src/platforms/rcore_android.c.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am On Arch Linux For this
I tried using this Make Build Script
cd raylib-5.0/src
cp raylib.h ../../include
make clean
make PLATFORM=PLATFORM_ANDROID ANDROID_NDK=../../android/ndk ANDROID_ARCH=arm ANDROID_API_VERSION=33
mv libraylib.a ../../lib/armeabi-v7a
make clean
make PLATFORM=PLATFORM_ANDROID ANDROID_NDK=../../android/ndk ANDROID_ARCH=arm64 ANDROID_API_VERSION=33
mv libraylib.a ../../lib/arm64-v8a
make clean
make PLATFORM=PLATFORM_ANDROID ANDROID_NDK=../../android/ndk ANDROID_ARCH=x86 ANDROID_API_VERSION=33
mv libraylib.a ../../lib/x86
make clean
make PLATFORM=PLATFORM_ANDROID ANDROID_NDK=../../android/ndk ANDROID_ARCH=x86_64 ANDROID_API_VERSION=33
mv libraylib.a ../../lib/x86_64
make clean
cd ../..
and This is the Output I get
When asking ChatGPT it says that
Below is the minimal patch that removes every call to the now-obsolete
ALooper_pollAll() and swaps it for ALooper_pollOnce() in
raylib-5.0/src/platforms/rcore_android.c.
There are exactly four occurrences; after this change the file compiles
cleanly with NDK r26/27 for every API level.
Any Help Would be Wonderful as I have been Working on this For Too Long
EDIT: I updated Raylib rcore_android.c and I am Still Having an Issue
Beta Was this translation helpful? Give feedback.
All reactions