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
Reported in version: unspecified Reported for operating system, platform: Android (All), x86
Comments on the original bug report:
On 2014-04-15 17:54:28 +0000, Davide Coppola wrote:
Created attachment 1621
Patch to build SDL_image with JPEG support for Android
When trying to build SDL_image 2 (latest version from Hg repository) for Android I get the following error (I stripped the paths for brevity):
[x86] Compile : SDL2_image <= jidctfst.S
jni/SDL2_image/external/jpeg-9/jidctfst.S:17:34: fatal error: machine/cpu-features.h: No such file or directory
#include <machine/cpu-features.h>
^
compilation terminated.
make: *** [obj/local/x86/objs/SDL2_image/external/jpeg-9/jidctfst.o] Error 1
make: *** Waiting for unfinished jobs....
That's because a cpu-features.h is only provided for ARM architectures.
In order to fix it I changed the Android.mk file in SDL_image/ according to the one in SDL_image/external/jpeg-9 and now it builds and works fine.
I've attached an unified patch so you can have a look at my changes.
P.S.
Version doesn't have any 2.x entry so I had to use "unspecified" for the bug.
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: unspecified
Reported for operating system, platform: Android (All), x86
Comments on the original bug report:
On 2014-04-15 17:54:28 +0000, Davide Coppola wrote:
On 2014-04-18 00:31:38 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: