lilac / Android-ImageMagick

ImageMagick library ported to Android
211 stars 58 forks source link

Errors building #3

Open gregghz opened 12 years ago

gregghz commented 12 years ago

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?

balakj commented 12 years ago

Hi,

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

gregghz commented 12 years ago

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.

sourcebits-anshul commented 11 years ago

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.

lilac commented 11 years ago

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