it looks like you need to specify leptonica library for linking (-llept)
Dňa 14.6.2012 9:13, "pcollinse" <patrick.coll...@vsig.com> napísal(-a):

> Thanks for this wonderfully simple example!
>
> It compiles for me on Ubuntu, but not on Mac OSX. Anyone know what I'm
> missing here?
>
> $ g++ -o test test.cpp -I /opt/local/include/tesseract -I
> /opt/local/include/leptonica -L /opt/local/lib -ltesseract
> Undefined symbols for architecture x86_64:
>   "_pixRead", referenced from:
>       _main in ccVNVpU7.o
>   "_pixDestroy", referenced from:
>       _main in ccVNVpU7.o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
>
> Patrick.
>
>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to tesseract-ocr@googlegroups.com
> To unsubscribe from this group, send email to
> tesseract-ocr+unsubscr...@googlegroups.com
> 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 tesseract-ocr@googlegroups.com
To unsubscribe from this group, send email to
tesseract-ocr+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to