marforic / imagemagick_lib_iphone

Scripts and instructions to compile ImageMagick as a static library to use in any iOS project
314 stars 71 forks source link

Problem with arm64 #13

Closed MeMyselfI closed 10 years ago

MeMyselfI commented 10 years ago

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?

AcidicSkittles commented 10 years ago

hmmm, I don't get that problem in my project. Looks like your project is misconfigured for the architectures or is missing arm64 from the list of valid architectures. You could try integrating image magick into your project using cocoa pods.

MeMyselfI commented 10 years ago

Never mind. The libraries hasn't been included in the project in the right way. My fault. Sorry.

marforic commented 10 years ago

Anyway, if it's _TIFF* related problems it meant that everything compiled well BUT the TIFF library. I consider this closed.