Menu

#96 Fixes for FreeImage - iOS and arm64

None
closed
5
2018-07-31
2014-11-25
No

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

Discussion

  • Daniel Rosser

    Daniel Rosser - 2014-11-25

    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.

     
  • Daniel Rosser

    Daniel Rosser - 2014-11-25

    Added pull with above fix to LibRaw (and LibRaw https://github.com/LibRaw/LibRaw/pull/45 )

     
  • Daniel Rosser

    Daniel Rosser - 2016-02-17
     
  • Hervé Drolon

    Hervé Drolon - 2016-03-20
    • status: open --> pending
    • assigned_to: Hervé Drolon
    • Group: -->
     
  • Hervé Drolon

    Hervé Drolon - 2016-03-20
     
  • Hervé Drolon

    Hervé Drolon - 2018-07-31
    • status: pending --> closed
     
  • Hervé Drolon

    Hervé Drolon - 2018-07-31

    closed to follow a single thread at patch 115

     

Anonymous
Anonymous

Add attachments
Cancel