[Paraview] problem compiling Qt 4.6.2 (Ubuntu / Mint)
Joe Borġ
mail at jdborg.com
Wed Nov 7 11:41:02 EST 2012
If it helps, I've installed the latest Qt (4.8.3) before compiling and it
worked fine.
Regards,
Joseph David Borġ
http://www.jdborg.com
On 7 November 2012 10:25, Herbert J. MUTHSAM
<herbert.muthsam at univie.ac.at>wrote:
> Hi,
>
> when trying to install Qt 4.6.2 for later on compiling Paraview I seem
> to run in a problem with qcups (error messages at the end).
>
> OS Ubuntu 12.04 (rather Linux Mint Maya) 64 bit
> according to the synaptic package manager anything it list when entering
> cups is up to date, as is the system.
>
> Out of a few messages in the internet which seem related I could not
> really make a sense.
>
> The error messages are these:
>
> In file included from ../../include/QtGui/private/qcups_p.h:1:0, from
> painting/qpdf.cpp:47:
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:78:11:
> error: ‘ppd_file_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:80:11:
> error: ‘ppd_file_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:81:11:
> error: ‘ppd_option_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:84:11:
> error: ‘ppd_option_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:87:34:
> error: ISO C++ forbids declaration of ‘type name’ with no type
> [-fpermissive]
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:87:47:
> error: template argument 1 is invalid
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:103:56:
> error: ‘ppd_group_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:103:77:
> error: ISO C++ forbids declaration of ‘group’ with no type
> [-fpermissive]
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:104:62:
> error: ‘ppd_group_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:104:75:
> error: ISO C++ forbids declaration of ‘group’ with no type
> [-fpermissive]
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:108:11:
> error: ‘ppd_option_t’ does not name a type
> ../../include/QtGui/private/../../../src/gui/painting/qcups_p.h:110:5:
> error: ‘ppd_file_t’ does not name a type
> painting/qpdf.cpp: In member function ‘virtual void
> QPdfBaseEngine::setProperty(QPrintEngine::PrintEnginePropertyKey, const
> QVariant&)’:
> painting/qpdf.cpp:1460:5: warning: case value ‘65024’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1454:5: warning: case value ‘65025’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1457:5: warning: case value ‘65026’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1463:5: warning: case value ‘65027’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp: In member function ‘virtual QVariant
> QPdfBaseEngine::property(QPrintEngine::PrintEnginePropertyKey) const’:
> painting/qpdf.cpp:1563:5: warning: case value ‘65024’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1557:5: warning: case value ‘65025’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1560:5: warning: case value ‘65026’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> painting/qpdf.cpp:1566:5: warning: case value ‘65027’ not in enumerated
> type ‘QPrintEngine::PrintEnginePropertyKey’ [-Wswitch]
> make1: *** [.obj/release-shared/qpdf.o] Error 1
> make1: Leaving directory
>
> `/media/truecrypt1/aaa_AKTUELL/ParaViewQt/qt-everywhere-opensource-src-4.6.2/src/gui’
> make: *** [sub-gui-make_default-ordered] Error 2
>
> Thanks for help,
>
> Herbert
>
> --
> Herbert J. MUTHSAM herbert.muthsam at univie.ac.at
> ACORE http://www.univie.ac.at/acore
> Faculty of Mathematics University of Vienna
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121107/d70bf9d3/attachment.htm>
More information about the ParaView
mailing list