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 -~----------~----~----~----~------~----~------~--~---
