Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors building #3

Open
gregghz opened this issue May 16, 2012 · 4 comments
Open

Errors building #3

gregghz opened this issue May 16, 2012 · 4 comments

Comments

@gregghz
Copy link

gregghz commented May 16, 2012

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
Copy link

balakj commented May 25, 2012

Hi,

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

@gregghz
Copy link
Author

gregghz commented May 29, 2012

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
Copy link

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
Copy link
Owner

lilac commented Oct 22, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants