It isn't finding the MagickWand development libraries. Have you
definitely installed them? It's the libmagickwand-dev on Debian (and
Ubuntu, probably).

On Mon, Sep 17, 2012 at 02:54:56AM -0700, Donaldo wrote:
> Thanks, Nick. Now I get this:
> 
> $ cc `pkg-config --cflags --libs MagickWand` libutf/utf.c libutf/rune.c
> lazytrain.c -o lazytrain
> /tmp/cckokmI1.o: In function `main':
> lazytrain.c:(.text+0x214): undefined reference to `MagickWandGenesis'
> lazytrain.c:(.text+0x219): undefined reference to `NewMagickWand'
> lazytrain.c:(.text+0x222): undefined reference to `NewDrawingWand'
> lazytrain.c:(.text+0x23f): undefined reference to `DrawSetFont'
> lazytrain.c:(.text+0x286): undefined reference to `DrawSetFontSize'
> lazytrain.c:(.text+0x29a): undefined reference to `DrawSetTextEncoding'
> lazytrain.c:(.text+0x2a6): undefined reference to `PushDrawingWand'
> lazytrain.c:(.text+0x2ba): undefined reference to `MagickReadImage'
> lazytrain.c:(.text+0x2d6): undefined reference to `MagickQueryFontMetrics'
> lazytrain.c:(.text+0x320): undefined reference to `RelinquishMagickMemory'
> lazytrain.c:(.text+0x32c): undefined reference to `DestroyMagickWand'
> lazytrain.c:(.text+0x370): undefined reference to `NewMagickWand'
> lazytrain.c:(.text+0x390): undefined reference to `MagickSetSize'
> lazytrain.c:(.text+0x3a4): undefined reference to `MagickReadImage'
> lazytrain.c:(.text+0x413): undefined reference to `MagickQueryFontMetrics'
> lazytrain.c:(.text+0x4c5): undefined reference to `DrawAnnotation'
> lazytrain.c:(.text+0x5d9): undefined reference to `PopDrawingWand'
> lazytrain.c:(.text+0x5ed): undefined reference to `MagickDrawImage'
> lazytrain.c:(.text+0x60e): undefined reference to `MagickWriteImages'
> lazytrain.c:(.text+0x646): undefined reference to `DestroyMagickWand'
> lazytrain.c:(.text+0x656): undefined reference to `DestroyDrawingWand'
> lazytrain.c:(.text+0x65f): undefined reference to `MagickWandTerminus'
> collect2: ld returned 1 exit status
> 
> Donaldo
> 
> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to