Hi guys:

I am trying to run my makefile on my system. I am getting the following error

% make
cc -c -O -I/Users/gcardonav/jpeg-6a -I/Users/gcardonav/cfitsio FITS2jpeg.c
In file included from FITS2jpeg.c:26:
jpegsubs.h:28:20: error: malloc.h: No such file or directory
make: *** [FITS2jpeg.o] Error 1

I do a search for malloc.h and I have the file in my system. I know this is maybe a dumb question, how can i get the makefile, well actually the FITS2jpeg.h file to point to the location of the malloc.h. I have a MacBook Pro and I am running the code in X11. I really thank you for the help,


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.