AmitGorvadiya / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

unable to compile (svshowim.cpp:) #303

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I run ./runautoconf; ./configure; make
Than make faile to compile svshowim.cpp with this error:

g++ -DHAVE_CONFIG_H -I. -I..  -I../ccutil -I../viewer -
I/usr/local/include/liblept  -g -O2 -MT svshowim.o -MD -MP -MF 
.deps/svshowim.Tpo -c -o svshowim.o svshowim.cpp
svshowim.cpp: In function ‘void sv_show_sub_image(IMAGE*, inT32, inT32, 
inT32, inT32, ScrollView*, inT32, inT32)’:
svshowim.cpp:37: error: no matching function for call to 
‘ScrollView::Image(Pix*&, inT32&, int)’
../viewer/scrollview.h:266: note: candidates are: void 
ScrollView::Image(const char*, int, int)
make[3]: *** [svshowim.o] Error 1

What version of the product are you using? On what operating system?
tesseract-ocr r354, Mandrivalinux 2010.1 64bit

Original issue reported on code.google.com by zde...@gmail.com on 22 May 2010 at 8:25

GoogleCodeExporter commented 9 years ago
I found workaround (but still tesseract produce also error message):

http://groups.google.com/group/tesseract-ocr/msg/b41b4ab8896cdd30

Original comment by zde...@gmail.com on 24 May 2010 at 8:24

GoogleCodeExporter commented 9 years ago
The attached patch should fix it.

Original comment by joregan on 25 May 2010 at 11:17

Attachments:

GoogleCodeExporter commented 9 years ago
copied the patch file into relevant cpp but unfortunately does not fixed. 
generated
in vs2008(c++)-winxp generated debug and Release versions are == Rebuild All: 10
succeeded, 7 failed, 0 skipped ====

Original comment by withbles...@gmail.com on 25 May 2010 at 12:46

GoogleCodeExporter commented 9 years ago
attached patch did not fixed. when generated in VS2008(c++)== Rebuild All: 10
succeeded, 7 failed, 0 skipped ==== for debug as well as release

Original comment by withbles...@gmail.com on 25 May 2010 at 12:49

GoogleCodeExporter commented 9 years ago
Fixed in revision 355

Original comment by joregan on 26 May 2010 at 7:56