Hello everyone. I am running into a problem on a piece of code I am trying to build on specific OS X and linux machines. On machines that
do not have ghostscript installed, everything compiles fine. On machine that do, compilation fails with:
Code: Select all
gcc -I. `Magick-config --cflags` -c fft.c -L. -o fft.o
In file included from /usr/local/include/magick/delegate.h:26,
from /usr/local/include/magick/MagickCore.h:158,
from fft.c:17:
/usr/include/ghostscript/iapi.h:252: error: expected ')' before '__extension__'
/usr/include/ghostscript/iapi.h:289: error: expected ')' before '__extension__'
My code is a pretty simple numerical algorithm and does not explicitly call ghostscript. Has anyone run into this? I am pulling my hair out trying to figure this one out. Also, I should mention that the error is consistent for at least all versions > 6.3.5.
Thanks,
Sean