Ticket #36 (closed defect: fixed)
can't compile svn > 202
| Reported by: | baze | Owned by: | jordi |
|---|---|---|---|
| Priority: | blocker | Version: | SVN |
| Keywords: | Cc: |
Description
svn r220 compiled fine. any newer version fails with the following output
make[2]: Entering directory `/home/baze/epdfview-svn/src/epdfview-svn-208/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/poppler/glib -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -march=i686 -O2 -pipe -Wall -Wno-long-long -DNDEBUG -DG_DISABLE_ASSERT -MT libepdfview_a-PDFDocument.o -MD -MP -MF ".deps/libepdfview_a-PDFDocument.Tpo" -c -o libepdfview_a-PDFDocument.o `test -f 'PDFDocument.cxx' || echo './'`PDFDocument.cxx; \
then mv -f ".deps/libepdfview_a-PDFDocument.Tpo" ".deps/libepdfview_a-PDFDocument.Po"; else rm -f ".deps/libepdfview_a-PDFDocument.Tpo"; exit 1; fi
PDFDocument.cxx:20:26: error: glib/poppler.h: No such file or directory
PDFDocument.cxx: In destructor 'virtual ePDFView::PDFDocument::~PDFDocument()':
PDFDocument.cxx:51: error: 'G_OBJECT' was not declared in this scope
PDFDocument.cxx:51: error: 'g_object_unref' was not declared in this scope
PDFDocument.cxx: In member function 'ePDFView::IDocumentLink* ePDFView::PDFDocument::createDocumentLink(const PopplerLinkMapping*, gdouble, gdouble)':
PDFDocument.cxx:73: error: 'PopplerAction' was not declared in this scope
PDFDocument.cxx:73: error: 'action' was not declared in this scope
PDFDocument.cxx:73: error: invalid use of undefined type 'const struct _PopplerLinkMapping'
./PDFDocument.h:25: error: forward declaration of 'const struct _PopplerLinkMapping'
PDFDocument.cxx:77: error: invalid use of undefined type 'const struct _PopplerLinkMapping'
./PDFDocument.h:25: error: forward declaration of 'const struct _PopplerLinkMapping'
PDFDocument.cxx:78: error: invalid use of undefined type 'const struct _PopplerLinkMapping'
./PDFDocument.h:25: error: forward declaration of 'const struct _PopplerLinkMapping'
PDFDocument.cxx:79: error: invalid use of undefined type 'const struct _PopplerLinkMapping'
./PDFDocument.h:25: error: forward declaration of 'const struct _PopplerLinkMapping'
PDFDocument.cxx:80: error: invalid use of undefined type 'const struct _PopplerLinkMapping'
./PDFDocument.h:25: error: forward declaration of 'const struct _PopplerLinkMapping'
PDFDocument.cxx:85: error: 'POPPLER_ACTION_GOTO_DEST' was not declared in this scope
PDFDocument.cxx:87: error: 'PopplerActionGotoDest' was not declared in this scope
PDFDocument.cxx:87: error: 'actionGoTo' was not declared in this scope
PDFDocument.cxx:87: error: expected primary-expression before ')' token
PDFDocument.cxx:87: error: expected `;' before 'action'
PDFDocument.cxx:88: error: 'PopplerDest' was not declared in this scope
PDFDocument.cxx:88: error: 'destination' was not declared in this scope
PDFDocument.cxx:110: error: 'POPPLER_ACTION_URI' was not declared in this scope
PDFDocument.cxx:112: error: 'PopplerActionUri' was not declared in this scope
PDFDocument.cxx:112: error: 'actionUri' was not declared in this scope
PDFDocument.cxx:112: error: expected primary-expression before ')' token
PDFDocument.cxx:112: error: expected `;' before 'action'
PDFDocument.cxx: In member function 'virtual GList* ePDFView::PDFDocument::findTextInPage(gint, const gchar*)':
PDFDocument.cxx:137: error: 'poppler_document_get_page' was not declared in this scope
PDFDocument.cxx:141: error: 'poppler_page_get_size' was not declared in this scope
PDFDocument.cxx:142: error: 'poppler_page_find_text' was not declared in this scope
PDFDocument.cxx:147: error: 'PopplerRectangle' was not declared in this scope
PDFDocument.cxx:147: error: 'matchRect' was not declared in this scope
PDFDocument.cxx:147: error: expected primary-expression before ')' token
PDFDocument.cxx:147: error: expected `;' before 'match'
PDFDocument.cxx: In member function 'virtual gboolean ePDFView::PDFDocument::loadFile(const gchar*, const gchar*, GError**)':
PDFDocument.cxx:200: error: 'poppler_document_new_from_file' was not declared in this scope
PDFDocument.cxx:209: error: 'POPPLER_ERROR' was not declared in this scope
PDFDocument.cxx:221: warning: dereferencing type-punned pointer will break strict-aliasing rules
PDFDocument.cxx:221: error: 'sscanf' was not declared in this scope
PDFDocument.cxx:241: error: 'G_OBJECT' was not declared in this scope
PDFDocument.cxx:241: error: 'g_object_unref' was not declared in this scope
PDFDocument.cxx:247: error: 'poppler_index_iter_new' was not declared in this scope
PDFDocument.cxx: In member function 'void ePDFView::PDFDocument::loadMetadata()':
PDFDocument.cxx:273: error: 'PopplerPageLayout' was not declared in this scope
PDFDocument.cxx:273: error: expected `;' before 'layout'
PDFDocument.cxx:276: error: 'PopplerPageMode' was not declared in this scope
PDFDocument.cxx:276: error: expected `;' before 'mode'
PDFDocument.cxx:287: error: 'layout' was not declared in this scope
PDFDocument.cxx:290: error: 'mode' was not declared in this scope
PDFDocument.cxx:294: error: 'g_object_get' was not declared in this scope
PDFDocument.cxx:298: warning: dereferencing type-punned pointer will break strict-aliasing rules
PDFDocument.cxx:313: warning: dereferencing type-punned pointer will break strict-aliasing rules
PDFDocument.cxx:327: error: 'GEnumValue' was not declared in this scope
PDFDocument.cxx:327: error: 'pageLayout' was not declared in this scope
PDFDocument.cxx:328: error: 'GEnumClass' was not declared in this scope
PDFDocument.cxx:328: error: expected primary-expression before ')' token
PDFDocument.cxx:328: error: 'g_enum_get_value' was not declared in this scope
PDFDocument.cxx:330: error: 'pageMode' was not declared in this scope
PDFDocument.cxx:331: error: expected primary-expression before ')' token
PDFDocument.cxx:335: error: 'poppler_document_get_n_pages' was not declared in this scope
PDFDocument.cxx: In member function 'void ePDFView::PDFDocument::setLinks(ePDFView::DocumentPage*, PopplerPage*)':
PDFDocument.cxx:353: error: 'poppler_page_get_size' was not declared in this scope
PDFDocument.cxx:356: error: 'poppler_page_get_link_mapping' was not declared in this scope
PDFDocument.cxx:368: error: 'poppler_page_free_link_mapping' was not declared in this scope
PDFDocument.cxx: In member function 'void ePDFView::PDFDocument::setOutline(ePDFView::DocumentOutline*, PopplerIndexIter*)':
PDFDocument.cxx:391: error: 'PopplerAction' was not declared in this scope
PDFDocument.cxx:391: error: 'action' was not declared in this scope
PDFDocument.cxx:392: error: 'poppler_index_iter_get_action' was not declared in this scope
PDFDocument.cxx:393: error: 'POPPLER_ACTION_GOTO_DEST' was not declared in this scope
PDFDocument.cxx:395: error: 'PopplerActionGotoDest' was not declared in this scope
PDFDocument.cxx:395: error: 'actionGoTo' was not declared in this scope
PDFDocument.cxx:396: error: expected primary-expression before ')' token
PDFDocument.cxx:396: error: expected `;' before 'action'
PDFDocument.cxx:400: error: 'PopplerDest' was not declared in this scope
PDFDocument.cxx:400: error: 'destination' was not declared in this scope
PDFDocument.cxx:419: error: 'poppler_index_iter_get_child' was not declared in this scope
PDFDocument.cxx:423: error: 'poppler_index_iter_next' was not declared in this scope
PDFDocument.cxx:425: error: 'poppler_index_iter_free' was not declared in this scope
PDFDocument.cxx: In member function 'virtual void ePDFView::PDFDocument::getPageSizeForPage(gint, gdouble*, gdouble*)':
PDFDocument.cxx:446: error: 'poppler_document_get_page' was not declared in this scope
PDFDocument.cxx:456: error: 'poppler_page_get_size' was not declared in this scope
PDFDocument.cxx:460: error: 'poppler_page_get_size' was not declared in this scope
PDFDocument.cxx:466: error: 'G_OBJECT' was not declared in this scope
PDFDocument.cxx:466: error: 'g_object_unref' was not declared in this scope
PDFDocument.cxx: In member function 'virtual ePDFView::DocumentPage* ePDFView::PDFDocument::renderPage(gint)':
PDFDocument.cxx:505: error: 'GdkPixbuf' was not declared in this scope
PDFDocument.cxx:505: error: 'pixbuf' was not declared in this scope
PDFDocument.cxx:506: error: 'GDK_COLORSPACE_RGB' was not declared in this scope
PDFDocument.cxx:511: error: 'gdk_pixbuf_new_from_data' was not declared in this scope
PDFDocument.cxx:512: error: 'poppler_document_get_page' was not declared in this scope
PDFDocument.cxx:516: error: 'poppler_page_render_to_pixbuf' was not declared in this scope
PDFDocument.cxx:518: error: 'G_OBJECT' was not declared in this scope
PDFDocument.cxx:518: error: 'g_object_unref' was not declared in this scope
PDFDocument.cxx:520: error: 'g_object_unref' was not declared in this scope
PDFDocument.cxx: In member function 'virtual gboolean ePDFView::PDFDocument::saveFile(const gchar*, GError**)':
PDFDocument.cxx:551: error: 'poppler_document_save' was not declared in this scope
PDFDocument.cxx: In function 'ePDFView::PageLayout convertPageLayout(gint)':
PDFDocument.cxx:570: error: 'POPPLER_PAGE_LAYOUT_SINGLE_PAGE' was not declared in this scope
PDFDocument.cxx:573: error: 'POPPLER_PAGE_LAYOUT_ONE_COLUMN' was not declared in this scope
PDFDocument.cxx:576: error: 'POPPLER_PAGE_LAYOUT_TWO_COLUMN_LEFT' was not declared in this scope
PDFDocument.cxx:579: error: 'POPPLER_PAGE_LAYOUT_TWO_COLUMN_RIGHT' was not declared in this scope
PDFDocument.cxx:582: error: 'POPPLER_PAGE_LAYOUT_TWO_PAGE_LEFT' was not declared in this scope
PDFDocument.cxx:585: error: 'POPPLER_PAGE_LAYOUT_TWO_PAGE_RIGHT' was not declared in this scope
PDFDocument.cxx:588: error: 'POPPLER_PAGE_LAYOUT_UNSET' was not declared in this scope
PDFDocument.cxx: In function 'ePDFView::PageMode convertPageMode(gint)':
PDFDocument.cxx:609: error: 'POPPLER_PAGE_MODE_USE_OUTLINES' was not declared in this scope
PDFDocument.cxx:612: error: 'POPPLER_PAGE_MODE_USE_THUMBS' was not declared in this scope
PDFDocument.cxx:615: error: 'POPPLER_PAGE_MODE_FULL_SCREEN' was not declared in this scope
PDFDocument.cxx:618: error: 'POPPLER_PAGE_MODE_USE_OC' was not declared in this scope
PDFDocument.cxx:621: error: 'POPPLER_PAGE_MODE_USE_ATTACHMENTS' was not declared in this scope
PDFDocument.cxx:624: error: 'POPPLER_PAGE_MODE_NONE' was not declared in this scope
PDFDocument.cxx:625: error: 'POPPLER_PAGE_MODE_UNSET' was not declared in this scope
make[2]: *** [libepdfview_a-PDFDocument.o] Error 1
make[2]: Leaving directory `/home/baze/epdfview-svn/src/epdfview-svn-208/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/baze/epdfview-svn/src/epdfview-svn-208/src'
make: *** [install-recursive] Error 1
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
