Hi Fausal, Extremely thankful to you for your valuable guidance - for newbies of Linux/ocropus. -sriranga(76yrsold)
On Nov 11, 4:54 pm, "Faisal Shafait" <[EMAIL PROTECTED]> wrote: > sudo rm -rf /usr/local/include/colib > sudo rm -rf /usr/local/include/iulib > sudo rm -rf /usr/local/include/ocropus > > 2008/11/11 74yrs old <[EMAIL PROTECTED]> > > > With reference to "need to start clean" for lulib and ocropus, what is > > commandline > > to clean to be used may kindly be furnished for the benefit of new > > users. > > > 2008/11/11 Thomas Breuel <[EMAIL PROTECTED]> > > > As I was saying in a different thread: you need to install the 0.3 > >> release of iulib with the 0.3x release of ocropus. > > >> If you install the svn versions, you need to start clean (i.e., remove > >> /usr/local/include/colib and /usr/local/include/iulib and > >> /usr/local/include/ocropus) and install both current versions of iulib > >> and ocropus. > > >> If you install the svn versions and you get an error during > >> compilation, you should be comfortable enough with C++ to track down > >> the source of the problem yourself and report it in enough detail so > >> that we can fix it. Merely saying that it doesn't work and > >> reproducing the compiler error output usually won't be enough for us > >> to be able to do anything about it or even give you meaningful help. > >> Keep in mind that we compile the svn versions daily, so any > >> significant problems are either an installation problem on your > >> machine or they are some other system specific issue on your machine, > >> and we just need more information to diagnose that. > > >> Tom > > >> 2008/11/11 Andras Paczko <[EMAIL PROTECTED]>: > > >> > Same as here... > > >> > I am waiting, then try the svn again. > > >> > I see a debian package from ver.01 but anyone found a recent rpm or deb > >> pkg? > > >> > If somebody able to complie, please, make a deb or rpm from it. > > >> > Thanks in advance, > > >> > Best, > > >> > Paczkó András > >> > IT manager > > >> > Internet Securities, Inc. > >> > (trading as ISI Emerging Markets) is a Euromoney Institutional Investor > >> Company > >> >http://www.securities.com > > >> > tel: +36 (1) 327-4010 > >> > fax: +36 (1) 266-8639 > >> > icq: 178003397 > >> > skype: apaczko > > >> > -----Original Message----- > >> > From: [email protected] [mailto:[EMAIL PROTECTED] On > >> Behalf Of Leo > >> > Sent: Tuesday, November 11, 2008 4:32 AM > >> > To: ocropus > >> > Subject: Re: Complie problem in version 0.31 > > >> > Don't think so > > >> > I guess its something to do with iulib, I try install the SVN version of > >> iulib and it came up with different error lol > > >> > Leo > > >> > On 11月11日, 下午3時09分, "74yrs old" <[EMAIL PROTECTED]> wrote: > >> >> No solution is forthcoming?: > > >> >> 2008/11/7 74yrs old <[EMAIL PROTECTED]> > > >> >> > 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 > > ... > > read more >> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
