Aha, they updated libutf since I last used it, and split some stuff
up. This command will work:

  cc `pkg-config --cflags --libs MagickWand` libutf/utf.c libutf/rune.c 
lazytrain.c -o lazytrain

Sorry for the hassle Donald; thanks for keeping trying!

Nick

On Sun, Sep 16, 2012 at 02:26:21PM -0700, Donaldo wrote:
> Thanks, Nick.
> 
> I had to install mercurial first, then I ran the clone command. That seemed to
> work okay, giving a few messages ending with:
> 14 files updated, 0 files merged, 0 files removed, 0 files unresolved
> 
> I then ran the cc command and got errors:
> 
> $ cc `pkg-config --cflags --libs MagickWand` libutf/utf.c lazytrain.c -o
> lazytrain
> 
> 
> /tmp/cc271Bqm.o: In function `utfecpy':
> 
> utf.c:(.text+0x4b): undefined reference to `charntorune'
> 
> /tmp/cc271Bqm.o: In function `utflen':
> 
> utf.c:(.text+0xb6): undefined reference to `chartorune'
> 
> /tmp/cc271Bqm.o: In function `utfnlen':
> 
> utf.c:(.text+0x110): undefined reference to `charntorune'
> 
> 
> ...etc and then:
> 
> 
> lazytrain.c:(.text+0x153): undefined reference to `charntorune'
> 
> 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'
> 
> ...
> 
> 
> What is the next step?
> 
> 
> Donald
> 
> 
> --
> 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