Android-ImageMagick icon indicating copy to clipboard operation
Android-ImageMagick copied to clipboard

Errors building

Open gregghz opened this issue 12 years ago • 4 comments

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?

gregghz avatar May 16 '12 15:05 gregghz

Hi,

Can you tell me how you were able to fix those initial errors.

balakj avatar May 25 '12 11:05 balakj

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.

gregghz avatar May 29 '12 14:05 gregghz

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.

sourcebits-anshul avatar Sep 27 '12 09:09 sourcebits-anshul

I think you should try install the imagemagick and jpeg libraries system wide to resolve these similar No Include File errors.

lilac avatar Oct 22 '12 04:10 lilac