Open GoogleCodeExporter opened 9 years ago
Have u installed opencv?
https://gist.github.com/mitmul/9253702
Original comment by FreeT...@gmail.com
on 5 Aug 2014 at 1:02
Yes, I have built it from source as per the instructions in the wiki page as
well as installing the RPM but I still get the error above. It seems to be
built correctly.
Original comment by pe...@peterkrantz.se
on 5 Aug 2014 at 8:15
But....
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
Original comment by FreeT...@gmail.com
on 5 Aug 2014 at 8:25
I have PKG_CONFIG_PATH="/usr/lib/pkgconfig" and
$ ll /usr/lib/pkgconfig/
gives:
-rw-r--r--. 1 root root 951 Aug 4 22:38 opencv.pc
-rw-r--r--. 1 root root 466 Aug 4 23:21 tesseract.pc
Original comment by pe...@peterkrantz.se
on 5 Aug 2014 at 8:37
could you send me a ssh account through my email?
Original comment by FreeT...@gmail.com
on 3 Oct 2014 at 4:03
Same issue here.
Original comment by sean....@gmail.com
on 12 Nov 2014 at 9:28
I have opencv installed and setup.py detects it just fine, but I am getting the
same "no known conversion for argument 6 from ‘STRING*’ to
‘tesseract::TessResultRenderer*’" error. I added the flag "-fpermissive",
still doesn't work.
Original comment by jpthomps...@gmail.com
on 2 Apr 2015 at 10:09
Here's something that might point you in the right direction:
In tesseract_wrap.cpp, whenever the type of an argument should be
tesseract::TessResultRenderer* instead of STRING*, just change the mention
STRING* to tesseract::TessResultRenderer*. Then I compiled using the following:
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I.
-I/usr/local/include/tesseract -I/usr/local/include/leptonica
-I/usr/include/python2.7 -c tesseract_wrap.cpp -o
build/temp.linux-x86_64-2.7/tesseract_wrap.o -fpermissive -O0 -funroll-loops -g
and I didn't get any errors. But the real problem is that tesseract_wrap.cpp
was auto-generated by SWIG, so the bug must be in SWIG!
Original comment by jpthomps...@gmail.com
on 2 Apr 2015 at 10:51
Don't use the svn version right now.
zdenko makes some changes in the svn version which is a bit tricky to wrap
wget https://tesseract-ocr.googlecode.com/archive/3.03-rc1.tar.gz
Original comment by FreeT...@gmail.com
on 3 Apr 2015 at 1:04
Original issue reported on code.google.com by
pe...@peterkrantz.se
on 4 Aug 2014 at 10:02