Hi, I currently try to make a little program, that converts any pdf to images so that I can view them on my mp3 player. I currently split the PDF in Java and now I write a little library that I can call that converts the single pdf page to an img.
I compile it with
gcc -IC:\Programme\Java\jdk1.5.0_06\include -IC:\Programme\Java\jdk1.5.0_06\include\win32 -IC:\Programme\Minitools\ImageMagick-6.2.8-Q16\include PDFClasses_Pdf2Image.c -c -o pdf2img.o
and than I link it with gcc -L"C:\Programme\Minitools\ImageMagick-6.2.8-Q16\lib" -lCORE_RL_magick_
--enable-static-link -shared -Wl,--export-all-symbols -Wl,--kill-at pdf2img.o -o pdf2img.dll
And than I get these errors:
undefined reference to `GetExceptionInfo' undefined reference to `CloneImageInfo' undefined reference to `ReadImage'
I think its a problem with gcc and the .lib files of ImageMagick. Did anybody else have these problems and could help me? Greets, Moritz Kaufmann
_______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
