Skip to content Skip to sidebar Skip to footer

Compile Imagemagick For Android

I am trying to compile this project https://github.com/lilac/Android-ImageMagick. To produce the android-magick.so I need to compile it on my system. I have modified the rebuild sc

Solution 1:

You'll have to manually go and change all the paths in the include lines to absolute paths. I had the same problem and fixed it that way.

So for example in jmagick.c, you'll have a line where it says include <magick/api.h> or include "magick/api.h" You'll have to change this to the absolute path of where the api.h file is. Mine was in C:/SomeFolders/Android-ImageMagick-master/Android-ImageMagick-master/ndk-modules/ImageMagick-6.7.3-0/magick so I changed my include directives to include <C:/SomeFolders/Android-ImageMagick-master/Android-ImageMagick-master/ndk-modules/ImageMagick-6.7.3-0/magick/api.h> And you'll have to do this in all the files that give you this "No such file or directory" error

Once I did these, though, it asked for an ft2build.h header file, which was actually nowhere on my disk. So I don't know what to do about that :(

Post a Comment for "Compile Imagemagick For Android"