Hi Christian, It appears that ocropus 0.3 has still have problem to install whereas svn trunk has appears to have problem. Just now I saw there is svn update upto 1262.appears that problems have been fixed. I am put in fix whether to use ocropus 3.0 or update svn? valuable guidance is requested since I am newbie to ocropus.
Is it possible to post here - for benefit of forum members - complete list of commandlines to do beta testing and feedback to you - for which I shall be thankful to you. regards. -sriranga(76yrsold) 2008/11/7 Leo <[EMAIL PROTECTED]> > > Hi Christian > > I tried editing "Makefile.am" in both source directory and the one > under "ocroscript" directory, > also addsrc files to libocropus_a_SOURCES and headers to > ocropusinclude_HEADERS. > however this time I get a different error as following: > > > > > then mv -f ".deps/ocrotoplevel.Tpo" ".deps/ocrotoplevel.Po"; > else rm -f > ".deps/ocrotoplevel.Tpo"; exit 1; fi > g++ -g -O2 -Wl,-E -L/usr/local/lib -L/usr/local/lib -o > ocroscript.exe ocroscri > pt.o ocrotoplevel.o -ltiff -lpng -ljpeg ./../ext/lua/liblua.a > libocroscript.a ./ > ../libocropus.a ./../ext/tolua++/libtolua++.a -lSDL_gfx -lSDL - > ltesseract_full > -lpthread -liulib -ltiff -ljpeg -lpng -lz > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib5dinitEiib': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:132: undefined > reference to `_S > DL_Init' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:133: undefined > reference to `_S > DL_SetVideoMode' > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib6dclearEi': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:211: undefined > reference to `_S > DL_MapRGB' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:212: undefined > reference to `_S > DL_FillRect' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:213: undefined > reference to `_S > DL_UpdateRect' > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib5dwaitEv': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:223: undefined > reference to `_S > DL_WaitEvent' > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib5dinitEiib': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:132: undefined > reference to `_S > DL_MapRGB' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:133: undefined > reference to `_S > DL_FillRect' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:135: undefined > reference to `_S > DL_UpdateRect' > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib6dclearEi': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:211: undefined > reference to `_S > DL_CreateRGBSurfaceFrom' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:212: undefined > reference to `_S > DL_SetAlpha' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:213: undefined > reference to `_r > otozoomSurface' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:214: undefined > reference to `_S > DL_SetAlpha' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:214: undefined > reference to `_S > DL_FreeSurface' > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib5dwaitEv': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:223: undefined > reference to `_S > DL_UpperBlit' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:220: undefined > reference to `_S > DL_FreeSurface' > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib6dshowrERN5colib6n > arrayIiEEPKcdii': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:182: undefined > reference to `_S > DL_UpdateRect' > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib5dinitEiib': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:132: undefined > reference to `_S > DL_MapRGB' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:133: undefined > reference to `_S > DL_FillRect' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:135: undefined > reference to `_S > DL_UpdateRect' > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib6dclearEi': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:211: undefined > reference to `_S > DL_CreateRGBSurfaceFrom' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:212: undefined > reference to `_S > DL_SetAlpha' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:213: undefined > reference to `_r > otozoomSurface' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:214: undefined > reference to `_S > DL_SetAlpha' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:214: undefined > reference to `_S > DL_FreeSurface' > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib5dwaitEv': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:223: undefined > reference to `_S > DL_UpperBlit' > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:223: undefined > reference to `_S > DL_FreeSurface' > /usr/local/lib/libiulib.a(dgraphics.o): In function > `_ZN5iulib6dshowrERN5colib6n > arrayIiEEPKcdii': > /cygdrive/c/iulib-0.3/iulib/./utils/dgraphics.cc:182: undefined > reference to `_S > DL_UpdateRect' > collect2: ld returned 1 exit status > make[1]: *** [ocroscript.exe] Error 1 > make[1]: Leaving directory `/cygdrive/c/ocropus-0.3/ocroscript' > make: *** [all-recursive] Error 1 > > > > do you have any idea what's wrong with it? > > Regards, > Leo > > On 11月5日, 下午9時56分, Christian Kofler <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > the quick way is to say: > > make CPPFLAGS=-I./ocr-greenstone > > to let your compiler find the header file it is missing at the moment. > > > > But I guess you have more than just this header file you want to > > compile into ocropus. > > So, you need to edit Makefile.am: > > - add -I$(srcdir)/ocr-greenstone to CPPFLAGS > > - add all src files of ocr-greenstone to libocropus_a_SOURCES > > and run automake. > > > > If you want to install your files you also need to add the respective > > headers to ocropusinclude_HEADERS. > > > > Cheers, > > > > Christian > > > > On Nov 5, 2:21 am, Leo <[EMAIL PROTECTED]> wrote: > > > > > Hi All, > > > > > I try to install version 0.3.1 with some of my own implemented > > > function in C, however since 0.3.1 don't use Jam anymore, therefore I > > > am bit confused of how to extend and complie my own function in 0.3.1. > > > So far I manage to get the error message of following > > > > > ./ocr.cc:20:28: ocr-greenstone.h: No such file or directory > > > > > it looks like it couldn't locate the .h file, I have created the ocr- > > > greenstone folder under ocropus-0.3.1 directory, is there anything I > > > need to add in order to complie version 0.3.1 correctly? > > > > > Regards, > > > Leo > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ocropus" 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/ocropus?hl=en -~----------~----~----~----~------~----~------~--~---
