Hello,
when trying to build Qwt 6.0 on Mac OSX 10.7.1 with Qt SDK 1.1.3 (Qt 4.7.4) compilation fails with this error
[...]
qwt_mml_document.cpp: In member function ‘void QwtMmlDocument::_dump(const QwtMmlNode*, QString&) const’:
qwt_mml_document.cpp:3125: warning: format not a string literal and no format arguments
qwt_mml_document.cpp: In member function ‘virtual int QwtMmlNode::scriptlevel(const QwtMmlNode*) const’:
qwt_mml_document.cpp:3705: warning: format not a string literal and no format arguments
qwt_mml_document.cpp:3722: warning: format not a string literal and no format arguments
qwt_mml_document.
cpp: In function ‘
QString decodeEntityValue
(QString)’
:qwt_mml_document.cpp:5640: warning: format not a string literal and no format arguments
qwt_mml_document.cpp:5649: warning: format not a string literal and no format arguments
qwt_mml_document.cpp:5658: warning: format not a string literal and no format arguments
qwt_mml_document.cpp:5669: warning: format not a string literal and no format arguments
qwt_mml_document.cpp:5680: warning: format not a string literal and no format arguments
rm -f qwtmathml_debug qwtmathml.framework/qwtmathml_debug ../../lib/qwtmathml.framework/qwtmathml_debug
linking ../../lib/qwtmathml.framework/qwtmathml_debug
ld: framework not found qwt
collect2: ld returned 1 exit status
make[2]: *** [../../lib/qwtmathml.framework/qwtmathml_debug] Error 1
make[1]: *** [sub-mathml-make_default] Error 2
make: *** [sub-textengines-make_default-ordered] Error 2
[...]
qwt_mml_document.cpp: In member function ‘void QwtMmlDocument::_dump(const QwtMmlNode*, QString&) const’:
qwt_mml_document.cpp:3125: warning: format not a string literal and no format arguments
qwt_mml_document.cpp: In member function ‘virtual int QwtMmlNode::scriptlevel(const QwtMmlNode*) const’:
qwt_mml_document.cpp:3705: warning: format not a string literal and no format arguments
qwt_mml_document.cpp:3722: warning: format not a string literal and no format arguments
qwt_mml_document.cpp: In function ‘QString decodeEntityValue(QString)’:
qwt_mml_document.cpp:5640: warning: format not a string literal and no format arguments
qwt_mml_document.cpp:5649: warning: format not a string literal and no format arguments
qwt_mml_document.cpp:5658: warning: format not a string literal and no format arguments
qwt_mml_document.cpp:5669: warning: format not a string literal and no format arguments
qwt_mml_document.cpp:5680: warning: format not a string literal and no format arguments
rm -f qwtmathml_debug qwtmathml.framework/qwtmathml_debug ../../lib/qwtmathml.framework/qwtmathml_debug
linking ../../lib/qwtmathml.framework/qwtmathml_debug
ld: framework not found qwt
collect2: ld returned 1 exit status
make[2]: *** [../../lib/qwtmathml.framework/qwtmathml_debug] Error 1
make[1]: *** [sub-mathml-make_default] Error 2
make: *** [sub-textengines-make_default-ordered] Error 2
To copy to clipboard, switch view to plain text mode
I followed the both building instruction specified by INSTALL file:
qmake
make
qmake
make
To copy to clipboard, switch view to plain text mode
and
qmake -spec macx-g++
make
qmake -spec macx-g++
make
To copy to clipboard, switch view to plain text mode
The error is similar to an already reported (and fixed) bug
http://sourceforge.net/tracker/?func...93&atid=113693
It's my first time in compiling third parts libraries on an Mac arch.
Thanks in advance for your help,
Marco
P.S. I've tried to compile the development snapshot version too
[edited:]
Searching on bug tracker I've found another user who has the same issue
http://sourceforge.net/tracker/?func...93&atid=113693
Bookmarks