[Paraview] problem compiling Qt 4.6.2 (Ubuntu / Mint)
Herbert J. MUTHSAM
herbert.muthsam at univie.ac.at
Wed Nov 7 05:25:09 EST 2012
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
More information about the ParaView
mailing list