On Tue, Sep 18, 2012 at 12:29 AM, Donaldo <[email protected]> wrote:

> Thanks again, Nick.
>
> The package is installed. The files are there, e.g.:
>
> $ ll /usr/lib/libMagickWand*
> -rw-r--r-- 1 root root 1592108 Aug 18 05:03 /usr/lib/libMagickWand.a
> -rw-r--r-- 1 root root     960 Aug 18 05:02 /usr/lib/libMagickWand.la
> lrwxrwxrwx 1 root root      22 Aug 18 05:03 /usr/lib/libMagickWand.so ->
> libMagickWand.so.4.0.1
> lrwxrwxrwx 1 root root      22 Aug 18 05:03 /usr/lib/libMagickWand.so.4 ->
> libMagickWand.so.4.0.1
> -rw-r--r-- 1 root root 1167500 Aug 18 05:03 /usr/lib/libMagickWand.so.4.0.1
>
> Does my PATH variable need adding to? I tried adding :/usr/lib, but that
> did not help.
> $ echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>
> I noticed in the file lazytrain.c it has a line which appears to relate to
> MagickWand. Is it relevant?
> #include <wand/MagickWand.h>
>
> It does not look right to me.

Why it does not look ok?


> Is it for a windows system?
> On my (Mint) system that file is at:
> /usr/include/ImageMagick/wand/MagickWand.h
>
>

> Adding :/usr/include/ImageMagick to the PATH did not help.
>
> PATH is not usefull. I tried "cc `pkg-config --cflags --libs MagickWand`
libutf/utf.c libutf/rune.c lazytrain.c -o lazytrain " and it worked for me
(on openSUSE 12.2)

Maybe you can try this:
cc `pkg-config --cflags --libs MagickWand` -I/usr/include/ImageMagick/
-L/usr/lib/ -lMagickWand libutf/utf.c libutf/rune.c lazytrain.c -o lazytrain


-- 
Zdenko

-- 
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