I've make a program using libwand.so.9 on a Kubuntu machine, and it
works really well.
I've uploaded source files on a debian based server and then recompiled
the program.
When I run the program, I've got a segmentation fault at these lines:
------------------------------------
PUBLIC void initWand(){
MagickWandGenesis();
printf("init A\n");
pMW = NewMagickWand(); /*<---- this is the point that
causes segmentation fault */
printf("init B\n");
pDW = NewDrawingWand();
printf("init C\n");
}
------------------------------------
pMW and PDW are externally defined in globals.h
------------------------------------
#ifndef GLOBALS_H_
#define GLOBALS_H_
#include <wand/magick_wand.h>
#include <wand/drawing-wand.h>
GLOBAL MagickWand *pMW;
GLOBAL DrawingWand *pDW;
#endif /*GLOBALS_H_*/
------------------------------------
I can't get out of here.
Thanks
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users