lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems compiling Python-poppler-qt4-0.16.3


From: Robin Newman
Subject: Problems compiling Python-poppler-qt4-0.16.3
Date: Fri, 16 Aug 2013 16:26:14 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I am trying to install Frescobaldi on my Mac using Frescobaldi Mac OS X
install guide by Philippe Massart
I have installed macports py27-pyqt4 
poppler +quartz +qt4

and I am trying to compile Python-poppler-qt4-0.16.3
I have cd to the directory python-poppler-qt4-0.16.3, and typed
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py build
to make sure I use the macports installed python.
Initially it faield because of path problems and it asked me to add the path
to the poppler libraries to PKG_CONFIG_PATH
I typed export $PKG_CONFIG_PATH=PKG_CONFIG_PATH:/opt/local/lib/pkgconfig to
add teh path and reran the setup.py build
It started compiling OK but then encountered a string of errors and bailed out.

I attach the output below from where it started showing errors.
Any idea where I go from here?

(lines hard wrapped to 80 characters)

build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:22:55:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
reinterpret_cast<QLinkedList<Poppler::Annotation::Revision>...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:22:55:
error:
call to non-static member function without an object argument
reinterpret_cast<QLinkedList<Poppler::Annotation::Revision...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:22:75:
error:
subscript of pointer to incomplete type 'void'
...*>(sipDst)[sipDstIdx] = *reinterpret_cast<const...
~~~~~~ ^
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:22:146:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
...QLinkedList<Poppler::Annotation::Revision> *>(sipSrc);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:22:146:
error:
call to non-static member function without an object argument
...QLinkedList<Poppler::Annotation::Revision> *>(sipSrc);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:29:49:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
return new QLinkedList<Poppler::Annotation::Revision>[sipNrElem];
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:29:49:
error:
call to non-static member function without an object argument
return new QLinkedList<Poppler::Annotation::Revision>[sipNrElem];
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:36:49:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
return new QLinkedList<Poppler::Annotation::Revision>(reinterpret_cast<const...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:36:49:
error:
call to non-static member function without an object argument
return new QLinkedList<Poppler::Annotation::Revision>(reinterpret_cast<const...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:45:62:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
delete reinterpret_cast<QLinkedList<Poppler::Annotation::Revision> *>(ptr);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:45:62:
error:
call to non-static member function without an object argument
delete reinterpret_cast<QLinkedList<Poppler::Annotation::Revision> *>(ptr);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:45:5:
warning:
cannot delete expression with pointer-to-'void' type 'void *'
delete reinterpret_cast<QLinkedList<Poppler::Annotation::Revision> *>(ptr);
^ ~~~
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:54:38:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
QLinkedList<Poppler::Annotation::Revision> **sipCppPtr =...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-x86_64-2.7/
sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:54:38:
error:
call to non-static member function without an object argument
QLinkedList<Poppler::Annotation::Revision> **sipCppPtr =...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
types.sip:136:38: error: no member named 'Revision' in 'Poppler::Annotation';
did you mean 'revisions'?
QLinkedList<Poppler::Annotation::Revision> *qll = new...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
types.sip:136:38: error: call to non-static member function without an object
argument
QLinkedList<Poppler::Annotation::Revision> *qll = new...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
types.sip:143:30: error: no type named 'Revision' in 'Poppler::Annotation'
Poppler::Annotation::Revision *t =...
~~~~~~~~~~~~~~~~~~~~~^
types.sip:143:82: error: no type named 'Revision' in 'Poppler::Annotation'
...*t = reinterpret_cast<Poppler::Annotation::Revision...
~~~~~~~~~~~~~~~~~~~~~^
types.sip:151:20: error: use of undeclared identifier 'qll'
delete qll;
^
types.sip:155:9: error: use of undeclared identifier 'qll'
qll->append(*t);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
error: command '/usr/bin/clang' failed with exit status 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]