The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL_image 2 not building JPEG support for Android x86
m3xican


Joined: 07 Oct 2010
Posts: 21
Location: London, UK
Yesterday I opened a bug on Bugzilla for a problem I found in SDL_image which doesn't seems to build for Android when JPEG support is enabled.

For details and a patch check the bug report: https://bugzilla.libsdl.org/show_bug.cgi?id=2501


The weird thig is that I didn't find any other mention to such problem online, can someone else confirm this bug?
 
cheers


--
Davide Coppola

website: http://www.davidecoppola.com
SDL_image 2 not building JPEG support for Android x86
Juan Manuel Borges Caño
Guest

That's right, just switch the Android.mk jpeg's jidctfst.S to jidctfst.c , jpeg asm optimization code is not for the x86, .c would compile everywhere despite no asm optimization on arm, this seemed like an include jpeg's source code inside the SDL2_image directly fast fix that wasn't fully tested, trying to avoid a jpeg linking, that does care about .S or .c depending on platform.


Anyway, the report is valid SDL devs Wink



On Wed, Apr 16, 2014 at 11:21 AM, Davide Coppola wrote:
Quote:
Yesterday I opened a bug on Bugzilla for a problem I found in SDL_image which doesn't seems to build for Android when JPEG support is enabled.

For details and a patch check the bug report: https://bugzilla.libsdl.org/show_bug.cgi?id=2501


The weird thig is that I didn't find any other mention to such problem online, can someone else confirm this bug?
 
cheers


--
Davide Coppola

website: http://www.davidecoppola.com






_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org