Android-ImageMagick
Android-ImageMagick copied to clipboard
Errors building
I started with some errors about not being able to find api.h and some other magick headers. I was able to fix those, but now I'm getting these errors when building:
/home/gregg/workspace/Android-Magick/ndk-modules/tiff/libtiff/tif_ojpeg.c:192:21: error: jpeglib.h: No such file or directory /home/gregg/workspace/Android-Magick/ndk-modules/tiff/libtiff/tif_ojpeg.c:193:20: error: jerror.h: No such file or directory
It looks like the tiff lib is having trouble finding the jpeg headers (they are in the ndk-modules/jpeg folder). I can't figure out how to point it to the correct location. Any thoughts?
Hi,
Can you tell me how you were able to fix those initial errors.
All I did was manually adjust the #include statements to make them relative (or absolute) paths. It's very much a hack, but I couldn't figure out how to get the NDK to find them automatically.
I am having the fatal error while running ndk-build command : fatal error: magick/api.h: No such file or directory compilation terminated. I think this well known issue in this. please help me to resolve this.
I think you should try install the imagemagick and jpeg libraries system wide to resolve these similar No Include File errors.