I'm trying to do a program that will read a pdf we get from work with our schedule, and give a file in the icalendar or csv format (or some other format if my friends asks for it) so we can sync it with our calendars (eg google calendar). I've looked for libraries that parse pdf's and the best one so far seems to be PoDoFo (http://podofo.sourceforge.net/index.html). So since I'm on Ubuntu I installed the libpodofo-dev package from the default repositories.
I have podofo/base/PdfParser.h and podofo/base/PdfVecObjects.h included, but it seems like my compiler can't find it. I get these error messages:
1 2 3
main.cpp:(.text+0xaf): undefined reference to `PoDoFo::PdfVecObjects::PdfVecObjects()'
main.cpp:(.text+0xc7): undefined reference to `PoDoFo::PdfParser::PdfParser(PoDoFo::PdfVecObjects*)'
collect2: ld returned 1 exit status
I'm not totally sure, but I think so. If I write something else (like "/podofo/base/foo.h") I get another error message: ../schema/main.cpp:6:34: fatal error: podofo/base/foo.h: No such file or directory
And both header files exist under /usr/include/podofo/base/.