The following code changes where made to successfully compile FreeImage for ARM64, armv7, i386, x86_64 for iOS using Xcode 6 on OS X 10.10 Yosemite using Clang
- Fixes: ARM64 issues.
- Updates Not updated CMakeLists with new dependancies
- Updates Makefile.srcs with new dependancies
- Fixes undefined types for LibJXR for OS X (including stdlib sources)
- Fixes LibRawLite static casting issue (would not compile in clang without change)
- Patches OpenEXR use of DEBUG preprocessor - will break for static release libraries
- Patches ZLib use of DEBUG preprocessor - will break for static release libraries (patched for upstream https://github.com/madler/zlib/pull/80 )
All these fixes can be see here:
https://github.com/danoli3/FreeImage/commit/f069aaefc6724fa9c8065a47000b31212024e9d6
Patch:
https://github.com/danoli3/FreeImage/commit/f069aaefc6724fa9c8065a47000b31212024e9d6.patch
Clone repo found here:
https://github.com/danoli3/FreeImage
Also just adding to this arm64 from February 2015 will be standard for iOS, any project without it will be rejected from AppStore. FreeImage must be compiled under arm64 to be used from then on. So little bit of time to get these kinds of fixes in.
I'll try and send patches to the external dependancies as well.
Added pull with above fix to LibRaw (and LibRaw https://github.com/LibRaw/LibRaw/pull/45 )
Updated for 3.17.0 :
https://sourceforge.net/p/freeimage/patches/115/
see
https://sourceforge.net/p/freeimage/patches/115/
closed to follow a single thread at patch 115