Cross compilation for iOS

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
cloud
Posts: 26
Joined: 2009-06-26T07:09:31-07:00
Authentication code: 8675309
Location: Zürich, Switzerland | Como, Italy

Cross compilation for iOS

Post by cloud »

Hi,
I've tried to upgrade my compilation script to compile IM (latest, 6.8.8-9) for iOS (both device and simulator, in particular armv7 and x86_64 respectively).

The compilation of the delegates (jpeg, libpng, tiff) works well with all the new toolchains in place. Unfortunately I'm stuck at compiling ImageMagic itself. I'm reporting the error I get from ./configure. I'm available for any debugging.

Code: Select all

./configure prefix=$IM_LIB_DIR --host=arm-apple-darwin --disable-opencl --disable-largefile --with-quantum-depth=8 --without-magick-plus-plus \
    --without-perl --without-x --disable-shared --disable-openmp --without-bzlib --without-freetype

Code: Select all

[INFO] Output to: /Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/20140324-1942_im.log
configuring ImageMagick 6.8.8-9
checking build system type... x86_64-apple-darwin13.1.0
checking host system type... arm-apple-darwin
checking target system type... arm-apple-darwin
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for arm-apple-darwin-gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include accepts -g... yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include option to accept ISO C89... none needed
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include understands -c and -o together... yes
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include... gcc3
checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for arm-apple-darwin-gcc... (cached) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include
checking whether we are using the GNU C compiler... (cached) yes
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include accepts -g... (cached) yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include option to accept ISO C89... (cached) none needed
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include understands -c and -o together... (cached) yes
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include... (cached) gcc3
checking for arm-apple-darwin-g++... no
checking for arm-apple-darwin-c++... no
checking for arm-apple-darwin-gpp... no
checking for arm-apple-darwin-aCC... no
checking for arm-apple-darwin-CC... no
checking for arm-apple-darwin-cxx... no
checking for arm-apple-darwin-cc++... no
checking for arm-apple-darwin-cl.exe... no
checking for arm-apple-darwin-FCC... no
checking for arm-apple-darwin-KCC... no
checking for arm-apple-darwin-RCC... no
checking for arm-apple-darwin-xlC_r... no
checking for arm-apple-darwin-xlC... no
checking for g++... g++
configure: WARNING: using cross tools not prefixed with host triplet
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include option to accept ISO C99... none needed
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include option to accept ISO Standard C... (cached) none needed
checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include option to accept ISO C99... (cached) none needed
checking CFLAGS for maximum warnings... -Wall
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for gawk... (cached) awk
checking if malloc debugging is wanted... no
checking for __attribute__... yes
checking for gcc architecture flag... 
checking for gcc architecture flag... unknown
checking for arm-apple-darwin-pkg-config... no
checking for pkg-config... no
checking if LD -Wl,--version-script works... no
checking size of size_t... 4
checking for C compiler vendor... clang
checking CFLAGS for maximum warnings... (cached) -Wall
checking for linker lazyload option... none
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... yes
checking for pthread_join in LIBS= with CFLAGS=-D_THREAD_SAFE -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-apple-darwin-dumpbin... no
checking for arm-apple-darwin-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin13.1.0 file names to arm-apple-darwin format... func_convert_file_noop
checking how to convert x86_64-apple-darwin13.1.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for arm-apple-darwin-objdump... no
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for arm-apple-darwin-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-apple-darwin-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for arm-apple-darwin-strip... strip
checking for arm-apple-darwin-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include object... ok
checking for sysroot... no
checking for arm-apple-darwin-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for arm-apple-darwin-dsymutil... no
checking for dsymutil... dsymutil
checking for arm-apple-darwin-nmedit... no
checking for nmedit... nmedit
checking for arm-apple-darwin-lipo... no
checking for lipo... lipo
checking for arm-apple-darwin-otool... no
checking for otool... otool
checking for arm-apple-darwin-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include supports -fno-rtti -fno-exceptions... yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include option to produce PIC... -fno-common -DPIC
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include PIC flag -fno-common -DPIC works... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include static flag -static works... no
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include supports -c -o file.o... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include supports -c -o file.o... (cached) yes
checking whether the /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin dyld
checking how to hardcode library paths into programs... immediate
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... cross
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin dyld
checking how to hardcode library paths into programs... immediate
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -I/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/include needs -traditional... no
checking for ANSI C header files... (cached) no
configure: WARNING: configure has detected that you do not have the ANSI standard C
    header files.  Compilation cannot proceed.  Please install the ANSI C
    headers and rerun this script.
checking whether to enable assertions... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking arm/limits.h usability... yes
checking arm/limits.h presence... no
configure: WARNING: arm/limits.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: arm/limits.h: proceeding with the compiler's result
checking for arm/limits.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... no
configure: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: arpa/inet.h: proceeding with the compiler's result
checking for arpa/inet.h... yes
checking complex.h usability... yes
checking complex.h presence... no
configure: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: complex.h: proceeding with the compiler's result
checking for complex.h... yes
checking errno.h usability... yes
checking errno.h presence... no
configure: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: errno.h: proceeding with the compiler's result
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... no
configure: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: fcntl.h: proceeding with the compiler's result
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/unistd.h usability... no
checking linux/unistd.h presence... no
checking for linux/unistd.h... no
checking locale.h usability... yes
checking locale.h presence... no
configure: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: locale.h: proceeding with the compiler's result
checking for locale.h... yes
checking machine/param.h usability... yes
checking machine/param.h presence... no
configure: WARNING: machine/param.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: machine/param.h: proceeding with the compiler's result
checking for machine/param.h... yes
checking mach-o/dyld.h usability... yes
checking mach-o/dyld.h presence... no
configure: WARNING: mach-o/dyld.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: mach-o/dyld.h: proceeding with the compiler's result
checking for mach-o/dyld.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... no
configure: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: netinet/in.h: proceeding with the compiler's result
checking for netinet/in.h... yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking sun_prefetch.h usability... no
checking sun_prefetch.h presence... no
checking for sun_prefetch.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... no
configure: WARNING: sys/ipc.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/ipc.h: proceeding with the compiler's result
checking for sys/ipc.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... no
configure: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/mman.h: proceeding with the compiler's result
checking for sys/mman.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... no
configure: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/resource.h: proceeding with the compiler's result
checking for sys/resource.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... no
configure: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/socket.h: proceeding with the compiler's result
checking for sys/socket.h... yes
checking sys/syslimits.h usability... yes
checking sys/syslimits.h presence... no
configure: WARNING: sys/syslimits.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/syslimits.h: proceeding with the compiler's result
checking for sys/syslimits.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... no
configure: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/time.h: proceeding with the compiler's result
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... no
configure: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/timeb.h: proceeding with the compiler's result
checking for sys/timeb.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... no
configure: WARNING: sys/times.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/times.h: proceeding with the compiler's result
checking for sys/times.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... no
configure: WARNING: sys/wait.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/wait.h: proceeding with the compiler's result
checking for sys/wait.h... yes
checking wchar.h usability... yes
checking wchar.h presence... no
configure: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: wchar.h: proceeding with the compiler's result
checking for wchar.h... yes
checking xlocale.h usability... yes
checking xlocale.h presence... no
configure: WARNING: xlocale.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: xlocale.h: proceeding with the compiler's result
checking for xlocale.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for working volatile... yes
checking for preprocessor stringizing operator... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking whether #! works in shell scripts... yes
checking whether char is unsigned... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for working volatile... (cached) yes
checking whether byte ordering is bigendian... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for intmax_t... yes
checking for intptr_t... yes
checking for long double... yes
checking for long double with more range or precision than double... no
checking for long long int... (cached) yes
checking for mbstate_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... no
checking for uint8_t... no
checking for uint16_t... no
checking for uint32_t... no
checking for uint64_t... no
checking for uintmax_t... no
checking for uintptr_t... no
checking for unsigned long long int... (cached) yes
checking whether char is unsigned... (cached) no
checking for float_t... yes
checking for double_t... yes
checking size of float_t... 4
checking size of double_t... 8
checking size of float... 0
checking size of double... 0
checking size of long double... configure: error: in `/Users/cloud/Documents/BUILD/rhino/IM/imagemagick_lib_iphone/build/ImageMagick-6.8.8-9':
configure: error: cannot compute sizeof (long double)
See `config.log' for more details
config.log (given its size) is available over at: http://www.cloudgoessocial.net/im_iphone/config.log

I cannot really get my head around this problem, so please let me know if you know of anything!

Best,

~C
IM compilation script and test project: https://github.com/marforic/imagemagick_lib_iphone (always up-to-date)
IM latest iOS binaries: ftp://ftp.imagemagick.org/pub/ImageMagick/iOS/
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Cross compilation for iOS

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.8.8-10 Beta, available by sometime tomorrow. Thanks.
cloud
Posts: 26
Joined: 2009-06-26T07:09:31-07:00
Authentication code: 8675309
Location: Zürich, Switzerland | Como, Italy

Re: Cross compilation for iOS

Post by cloud »

Hi,

me again. I got past the "double" problem now (got 6.8.8-10~beta20140324), but I got stuck soon after with off_t... Do you think it might be something wrong in general with the script?

Again, you can find the full config.log here: http://www.cloudgoessocial.net/im_iphone/config_10.log

Thank you for helping out with this!

~C
IM compilation script and test project: https://github.com/marforic/imagemagick_lib_iphone (always up-to-date)
IM latest iOS binaries: ftp://ftp.imagemagick.org/pub/ImageMagick/iOS/
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Cross compilation for iOS

Post by magick »

Comment out the check in the configure script for off_t. Do any other size checks fail. We'll need to come up with a general solution when cross-compiling.
cloud
Posts: 26
Joined: 2009-06-26T07:09:31-07:00
Authentication code: 8675309
Location: Zürich, Switzerland | Como, Italy

Re: Cross compilation for iOS

Post by cloud »

It did fail for other errors, in the end I'm using a different compiler shipped with XCode and it looks like it is compiling fine now. I guess the fix for the double_t can also be reverted.

I will report once everything is working as intended and I can release a new set of scripts/compiled binaries.

Thanks again for the support.

~C
IM compilation script and test project: https://github.com/marforic/imagemagick_lib_iphone (always up-to-date)
IM latest iOS binaries: ftp://ftp.imagemagick.org/pub/ImageMagick/iOS/
cloud
Posts: 26
Joined: 2009-06-26T07:09:31-07:00
Authentication code: 8675309
Location: Zürich, Switzerland | Como, Italy

Re: Cross compilation for iOS

Post by cloud »

I can confirm you can revert the change back, as I successfully compiled (and uploaded to the FTP) 6.8.8-9.

Best,

~C
IM compilation script and test project: https://github.com/marforic/imagemagick_lib_iphone (always up-to-date)
IM latest iOS binaries: ftp://ftp.imagemagick.org/pub/ImageMagick/iOS/
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Cross compilation for iOS

Post by magick »

Already reverted and thanks from the ImageMagick community for the iOS updated distribution of ImageMagick.
Post Reply