marforic / imagemagick_lib_iphone Goto Github PK
View Code? Open in Web Editor NEWScripts and instructions to compile ImageMagick as a static library to use in any iOS project
Scripts and instructions to compile ImageMagick as a static library to use in any iOS project
I'm not sure if this is the right repository but I think so.
I have included the ios imagemagick pod (pod 'ImageMagick', '~> 6.8.8-9'
) in my project but I get a compile warning in Xcode 7, on 8 different lines in magick/memory_.h
for example one of the warnings in the build logs looks like this:
In file included from Pods/Headers/Private/wand/MagickWand.h:72:
In file included from Pods/Headers/Private/magick/MagickCore.h:120:
Pods/Headers/Private/magick/memory_.h:29:36: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes]
*(*AcquireMemoryHandler)(size_t) magick_alloc_size(1),
Existing Cocoapod installation indicates the library files are not compiled with BITCODE enabled. Temporarily, the workaround is to disable "ENABLE BITCODE" explicitly.
ld: '/Users/hollowaykeanho/Documents/code_development/hollowaykeanho/project/Pods/ImageMagick/libMagickCore.a(magick_libMagickCore_6_Q8_la-exception.o)' does not contain bitcode.
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
pod "ImageMagick", "6.8.8-9"
Right now bitcode is not enforced for iOS app upload but is mandatory for WatchOS and other devices. No guarantee on enforcement.
Disable BITCODE.
From where I need to find files mentioned in strcuture
./build/ImageMagick-VERSION/ <- ImageMagick top directory
./build/IMDelegates/ <- Some delegates: jpeg + png + tiff
./build/IMDelegates/jpeg-9a/ <- jpeg lib
./build/IMDelegates/libpng-1.6.10 <- png lib
./build/IMDelegates/tiff-4.0.3 <- tiff lib
It seems that your project compiles only MagickCore and MagickWand, do you know if someone tried to use magick++ before?
Do you personally have any experiencie?
Thanks in advance.
I have successfully compiled the library with all.sh (it says something like "COMBINE armv7 armv7s arm64 i386 x86_64") and included the resulting files in my Xcode project.
But I get
Undefined symbols for architecture arm64:
"_TIFFTileRowSize", referenced from:
_TIFFWritePixels in libMagickCore.a(magick_libMagickCore_6_Q8_la-tiff.o)
Any idea what is wrong?
Hi all,
I have an issue with the sample project. Basically every time I recompile the library I update the project which ends up getting the new big binary libraries. I'm not concerned about github policies on big files, but it's just silly in my opinion to keep on pushing large files with minor changes.
Do you think I should remove the IM_Test folder and just keep the ZIP somewhere (e.g., on the ImageMagick FTP or my private one) and add a link in the read me? Or how best would you proceed?
Thanks for the feedback!
~C
when running on a simulator,svg can be readImageBlob,but when real test ,can't read.
when format is eps,both the simulator and real test can't read.......why
The latest build is missing the i386 architecture, preventing use within the simulator.
Hi ,
i was trying to compile the script with bitcode support -fembed-bitcode ., it's so amazing i am able to compile the library from the source with your scripts but not able to make it with PNG support . would you please help me to get this binary with bitcode and png support . without bitcode support fat binary increases the binary sizes.
Thanks,
bear
I have:
MagickWandGenesis();
MagickWand *wand = NewMagickWand();
NSData *data = UIImagePNGRepresentation(self.originalImage);
MagickReadImageBlob(wand, [data bytes], [data length]);
int arg_count = 3;
char *args[] = { "-ordered", "-dither", "h4x4a", NULL};
ImageInfo *image_info = AcquireImageInfo();
ExceptionInfo *exception = AcquireExceptionInfo();
MagickBooleanType status = ConvertImageCommand(image_info, arg_count, args, NULL, exception);
if (exception->severity != UndefinedException)
{
status = MagickTrue;
CatchException(exception);
}
if (status == MagickFalse)
{
NSLog(@"FAIL");
}
size_t my_size;
unsigned char * my_image = MagickGetImageBlob(wand, &my_size);
NSData *outData = [[NSData alloc] initWithBytes:my_image length:my_size];
free(my_image);
self.imageView.image = [[UIImage alloc] initWithData:outData];
image_info=DestroyImageInfo(image_info);
exception=DestroyExceptionInfo(exception);
DestroyMagickWand(wand);
MagickWandTerminus();
And it doesn't work. Have tried everything, was wondering if there is an example somewhere.
On final stage
# join libMagick++
joinlibs=$(check_for_archs $LIB_DIR/$LIBNAME_magickpp)
if [ $joinlibs == "OK" ]; then
echo "[|- COMBINE $ARCHS]"
accumul=""
for i in $ARCHS; do
accumul="$accumul -arch $i $LIB_DIR/$LIBNAME_magickpp.$i"
done
# combine the static libraries
try lipo $accumul -create -output $LIB_DIR/libMagick++.a
echo "[+ DONE]"
fi
get this error
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: specifed architecture type (i386) for file (/Users/a.pshenkin/git/experimental/imagemagick_lib_iphone/target/im_libs/libMagick++-6.Q8.a.i386) does not match its cputype (16777223) and cpusubtype (3) (should be cputype (7) and cpusubtype (3))
Can you please help me to solve this issue? Have no idea how to solve it.
Here is my logfile https://drive.google.com/open?id=0B-9Ht-YXSa-BVzJvaC1BY19zUG8
BTW, if remove building for i386, everything is fine
Hi, I've managed to add libWebp delegate with your scripts to version 6.8.8 (which i believe is closer to the one you developed the scripts with), however, my ultimate goal is to use 6.9.11 as this has support for libHeic and greater support for Raw images via libRaw. However, it appears with your compile_im.sh script I can't get it to find compiled raw and webp libs.....
When compiling 6.8.8, these are the set IM config as per the attached log. Webp is seen and included
6.8.8.log
-------------------------------------------------------------
checking for WEBP...
checking webp/decode.h usability... yes
checking webp/decode.h presence... yes
checking for webp/decode.h... yes
checking for WebPPictureInitInternal in -lwebp... yes
checking if WEBP package is complete... yes
-------------------------------------------------------------
compiling flags:
Options used to compile and link:
PREFIX = /Users/paulasiimwe/Workspace/IM/target/imagemagick
EXEC-PREFIX = /Users/paulasiimwe/Workspace/IM/target/imagemagick
VERSION = 6.8.8
CC = /Applications/Xcode.app/Contents/Developer/usr/bin/gcc
CFLAGS = -arch arm64 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -miphoneos-version-min=13.6 -O3 -DTARGET_OS_IPHONE -Wall -fexceptions -D_FORTIFY_SOURCE=0 -D_THREAD_SAFE -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=8
CPPFLAGS = -I/Users/paulasiimwe/Workspace/IM/target/imagemagick/include/ImageMagick-6
PCFLAGS = -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=8
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -miphoneos-version-min=13.6 -L/Users/paulasiimwe/Workspace/IM/target/im_libs/jpeg_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/png_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/tiff_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/webp_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/raw_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs
MAGICK_LDFLAGS = -L/Users/paulasiimwe/Workspace/IM/target/imagemagick/lib -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -miphoneos-version-min=13.6 -L/Users/paulasiimwe/Workspace/IM/target/im_libs/jpeg_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/png_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/tiff_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/webp_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/raw_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs
LIBS = -ltiff -ljpeg -lpng -lwebp -lz -lm
CXX = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
CXXFLAGS = -arch arm64 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -miphoneos-version-min=13.6 -miphoneos-version-min=13.6 -D_THREAD_SAFE -pthread
FEATURES = DPC
DELEGATES = mpeg jng jpeg png tiff webp zlib
For 6.9.11, webp and raw aren't seen :
6.9.11.log
checking for libraw_r >= 0.14.8... no
-------------------------------------------------------------
checking for libwebp... no
checking for libwebpmux >= 0.5.0 libwebpdemux >= 0.5.0... no
RAW --with-raw=yes no
WEBP --with-webp=yes no
Compiling flags, different from 6.8.8 yet compile_im.sh file stays the same:
Options used to compile and link:
PREFIX = /Users/paulasiimwe/Workspace/IM/target/imagemagick
EXEC-PREFIX = /Users/paulasiimwe/Workspace/IM/target/imagemagick
VERSION = 6.9.11
CC = /Applications/Xcode.app/Contents/Developer/usr/bin/gcc
CFLAGS = -Wall -arch arm64 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.7.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.7.sdk -miphoneos-version-min=13.7 -O3 -DTARGET_OS_IPHONE -fexceptions -D_FORTIFY_SOURCE=0 -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=8
CPPFLAGS = -I/Users/paulasiimwe/Workspace/IM/target/im_libs/include/jpeg -I/Users/paulasiimwe/Workspace/IM/target/im_libs/include/png -I/Users/paulasiimwe/Workspace/IM/target/im_libs/include/tiff -I/Users/paulasiimwe/Workspace/IM/target/im_libs/include/webp -I/Users/paulasiimwe/Workspace/IM/target/im_libs/include/raw -I/Users/paulasiimwe/Workspace/IM/target/imagemagick/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=8
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.7.sdk -miphoneos-version-min=13.7 -L/Users/paulasiimwe/Workspace/IM/target/im_libs/jpeg_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/png_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/tiff_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/webp_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs/raw_arm64_dylib/ -L/Users/paulasiimwe/Workspace/IM/target/im_libs
LIBS = -ltiff -ljpeg -lxml2 -lz -lm -lpthread
CXX = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
CXXFLAGS = -arch arm64 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.7.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.7.sdk -miphoneos-version-min=13.7 -miphoneos-version-min=13.7 -pthread
FEATURES = DPC Cipher
DELEGATES = mpeg jpeg tiff xml zlib
==============================================================================
Where might the problem lie? I've attached the scripts here.
Hello,
We're using ImageMagick for a magic wand operation in our code. Everything was working fine until the latest cocoapods version but then, after the commit that added support for i386 architecture, things broke.
Here is our code:
PixelIterator* iterator = NULL;
PixelWand** pixels = NULL;
size_t x;
iterator = NewPixelRegionIterator(magick_wand, _touchCoords.x*scale, _touchCoords.y*scale, 1, 1);
pixels = PixelGetNextIteratorRow(iterator,&x);
bc_wand = pixels[0];
Here, iterator always comes up NULL, any ideas why this might be happening?
I'm running the test app on iPhone 5 without any changes to code.
When the button is pressed, the IM exception is thrown. Here's the log:
ImageMagick 6.8.8-9 Q8 arm 2014-03-25 http://www.imagemagick.org
Application windows are expected to have a root view controller at the end of application launch
we're using JPEG compression
.../IM_Test/Classes/IM_TestViewController.m -[IM_TestViewController posterizeImageWithCompression] 148 no decode delegate for this image format `' @ error/blob.c/BlobToImage/359
I'm trying to compile on Mavericks and things aren't working. I tried setting ARCH_SIM="x86_64", but that doesn't work.
Also, what would need to be done to compile this as a static lib for Mac OS instead of iOS? I would use MagickWand directly in my mac project, but there is a collision with the struct "_ExceptionInfo" between Foundation and ImageMagick. I figure if I compile it statically myself, I can rename _ExceptionInfo to avoid the collision.
Here's the log:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-apple-darwin10-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./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 to enable maintainer-specific portions of Makefiles... no
checking for i686-apple-darwin10-gcc... /usr/bin/clang
checking whether the C compiler works... no
configure: error: in /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6/IMDelegates/libpng-1.6.4': configure: error: C compiler cannot create executables See
config.log' for more details
make: *** No targets specified and no makefile found. Stop.
make: Nothing to be done for install'. make: *** No rule to make target
distclean'. Stop.
checking build system type... x86_64-apple-darwin13.0.0
checking host system type... i686-apple-darwin10
checking target system type... i686-apple-darwin10
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-apple-darwin10-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ./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 whether to enable maintainer-specific portions of Makefiles... no
checking for i686-apple-darwin10-gcc... /usr/bin/clang
checking whether the C compiler works... no
configure: error: in /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6/IMDelegates/jpeg-9': configure: error: C compiler cannot create executables See
config.log' for more details
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target install'. Stop. make: *** No rule to make target
distclean'. Stop.
checking build system type... i386-apple-darwin13.0.0
checking host system type... i686-apple-darwin10
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-apple-darwin10-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 to enable maintainer-specific portions of Makefiles... no
checking for i686-apple-darwin10-gcc... /usr/bin/clang
checking whether the C compiler works... no
configure: error: in /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6/IMDelegates/tiff-4.0.3': configure: error: C compiler cannot create executables See
config.log' for more details
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target install'. Stop. make: *** No rule to make target
distclean'. Stop.
configuring ImageMagick 6.8.7-6
checking build system type... x86_64-apple-darwin13.0.0
checking host system type... i686-apple-darwin10
checking target system type... i686-apple-darwin10
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for i686-apple-darwin10-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 i686-apple-darwin10-gcc... /usr/bin/clang
checking whether the C compiler works... no
configure: error: in /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6': configure: error: C compiler cannot create executables See
config.log' for more details
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target install'. Stop. make: *** No rule to make target
clean'. Stop.
And, here's the config.log in libpng:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libpng configure 1.6.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure prefix=/Users/brad/Desktop/cross_compile/tmp_target/libpng CC=/usr/bin/clang --enable-shared --enable-static --host=i686-apple-darwin10
hostname = Brads-MacBook-Air.local
uname -m = x86_64
uname -r = 13.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 181 tasks, 805 threads, 4 processors
Load average: 1.44, Mach factor: 2.54
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /opt/X11/bin
configure:2282: checking for a BSD-compatible install
configure:2350: result: /usr/bin/install -c
configure:2361: checking whether build environment is sane
configure:2416: result: yes
configure:2475: checking for i686-apple-darwin10-strip
configure:2505: result: no
configure:2515: checking for strip
configure:2531: found /usr/bin/strip
configure:2542: result: strip
configure:2567: checking for a thread-safe mkdir -p
configure:2606: result: ./install-sh -c -d
configure:2613: checking for gawk
configure:2643: result: no
configure:2613: checking for mawk
configure:2643: result: no
configure:2613: checking for nawk
configure:2643: result: no
configure:2613: checking for awk
configure:2629: found /usr/bin/awk
configure:2640: result: awk
configure:2651: checking whether make sets $(MAKE)
configure:2673: result: yes
configure:2702: checking whether make supports nested variables
configure:2719: result: yes
configure:2802: checking whether to enable maintainer-specific portions of Makefiles
configure:2811: result: no
configure:2851: checking for i686-apple-darwin10-gcc
configure:2878: result: /usr/bin/clang
configure:3147: checking for C compiler version
configure:3156: /usr/bin/clang --version >&5
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
configure:3167: $? = 0
configure:3156: /usr/bin/clang -v >&5
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
configure:3167: $? = 0
configure:3156: /usr/bin/clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3167: $? = 1
configure:3156: /usr/bin/clang -qversion >&5
clang: error: no input files
configure:3167: $? = 1
configure:3187: checking whether the C compiler works
configure:3209: /usr/bin/clang -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/ -arch x86_64 conftest.c >&5
ld: warning: ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/crt1.o, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/crt1.o (5 slices)ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/libSystem.dylib, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/libSystem.dylib (3 slices)
ld: dynamic main executables must link with libSystem.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3213: $? = 1
configure:3251: result: no
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.6.4"
| #define PACKAGE_STRING "libpng 1.6.4"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.6.4"
| / end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3256: error: in /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6/IMDelegates/libpng-1.6.4': configure:3258: error: C compiler cannot create executables See
config.log' for more details
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/ -arch x86_64'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PNG_COPTS_set=
ac_cv_env_PNG_COPTS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-apple-darwin10
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CC=/usr/bin/clang
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
ACLOCAL='${SHELL} /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6/IMDelegates/libpng-1.6.4/missing aclocal-1.13'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH=''
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AS=''
AUTOCONF='${SHELL} /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6/IMDelegates/libpng-1.6.4/missing autoconf'
AUTOHEADER='${SHELL} /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6/IMDelegates/libpng-1.6.4/missing autoheader'
AUTOMAKE='${SHELL} /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6/IMDelegates/libpng-1.6.4/missing automake-1.13'
AWK='awk'
CC='/usr/bin/clang'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/ -arch x86_64'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DFNCPP=''
DLLTOOL=''
DO_PNG_PREFIX_FALSE=''
DO_PNG_PREFIX_TRUE=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HAVE_LD_VERSION_SCRIPT_FALSE=''
HAVE_LD_VERSION_SCRIPT_TRUE=''
HAVE_SOLARIS_LD_FALSE=''
HAVE_SOLARIS_LD_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6/IMDelegates/libpng-1.6.4/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='./install-sh -c -d'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libpng'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='libpng'
PACKAGE_STRING='libpng 1.6.4'
PACKAGE_TARNAME='libpng'
PACKAGE_URL=''
PACKAGE_VERSION='1.6.4'
PATH_SEPARATOR=':'
PNGLIB_MAJOR='1'
PNGLIB_MINOR='6'
PNGLIB_RELEASE='4'
PNGLIB_VERSION='1.6.4'
PNG_ARM_NEON_FALSE=''
PNG_ARM_NEON_TRUE=''
PNG_COPTS=''
PNG_PREFIX=''
POW_LIB=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SYMBOL_PREFIX=''
VERSION='1.6.4'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
binconfigs=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-apple-darwin10'
host_alias='i686-apple-darwin10'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Users/brad/Desktop/cross_compile/ImageMagick-6.8.7-6/IMDelegates/libpng-1.6.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfigdir=''
prefix='/Users/brad/Desktop/cross_compile/tmp_target/libpng'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
/* confdefs.h */
configure: exit 77
Hello,
If this project could be updated for arm64, that'd be great! This would be good for iPhone 5S. I'd be willing to work on this, if someone could point me in the direction of what tweaks need to be made.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.