[Qgis-developer] Mac build error

John C. Tull john.tull at wildnevada.org
Wed May 28 17:47:16 EDT 2008


Tim,

I noticed I am getting errors on the wfs plugin on OS X. I did not  
notice this earlier today, but was not observing the make output  
either. Were you coding on this today?

John

Scanning dependencies of target wfsplugin
[ 59%] Building CXX object src/plugins/gps_importer/CMakeFiles/ 
gpsimporterplugin.dir/moc_qgsgpsplugingui.o
[ 59%] Building CXX object src/plugins/wfs/CMakeFiles/wfsplugin.dir/ 
qgswfsplugin.o
/Users/jctull/sources/qgis/trunk/src/app/../python/qgspythonutils.h: 
36: error: invalid function declaration
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp: In constructor  
‘QgisApp::QgisApp(QSplashScreen*, QWidget*, Qt::WFlags)’:
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:376: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:388: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp: In destructor  
‘virtual QgisApp::~QgisApp()’:
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:471: warning:  
possible problem detected in invocation of delete operator:
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:471: warning:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: warning:  
forward declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:471: note:  
neither the destructor nor the class-specific operator delete will be  
called, even if they are declared when the class is defined.
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp: In member  
function ‘void QgisApp::showPythonDialog()’:
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:894: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp: In member  
function ‘void QgisApp::restoreSessionPlugins(QString)’:
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:1733: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:1737: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:1744: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:1749: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:1752: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:1754: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp: In member  
function ‘void QgisApp::loadPythonPlugin(QString, QString)’:
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:3910: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:3923: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.cpp:3924: error:  
invalid use of undefined type ‘struct QgsPythonUtils’
/Users/jctull/sources/qgis/trunk/src/app/qgisapp.h:53: error: forward  
declaration of ‘struct QgsPythonUtils’
make[2]: *** [src/app/CMakeFiles/qgis.dir/qgisapp.o] Error 1
make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 59%] Generating gui/gui.so
make[3]: warning: jobserver unavailable: using -j1.  Add `+' to parent  
make rule.
[ 59%] Building CXX object src/plugins/gps_importer/CMakeFiles/ 
gpsimporterplugin.dir/moc_qgsgpsdevicedialog.o
[ 59%] Building CXX object src/plugins/gps_importer/CMakeFiles/ 
gpsimporterplugin.dir/qrc_qgsgps_plugin.o
[ 59%] Building CXX object src/plugins/wfs/CMakeFiles/wfsplugin.dir/ 
qgswfssourceselect.o
Linking CXX shared module libgpsimporterplugin.so
[ 59%] Built target gpsimporterplugin
[ 60%] Building CXX object src/plugins/wfs/CMakeFiles/wfsplugin.dir/__/ 
__/__/__/src/app/qgsnewhttpconnection.o
[ 60%] Building CXX object src/plugins/wfs/CMakeFiles/wfsplugin.dir/ 
moc_qgswfsplugin.o
[ 60%] Building CXX object src/plugins/wfs/CMakeFiles/wfsplugin.dir/ 
moc_qgswfssourceselect.o
[ 60%] Building CXX object src/plugins/wfs/CMakeFiles/wfsplugin.dir/ 
moc_qgsnewhttpconnection.o
[ 60%] Building CXX object src/plugins/wfs/CMakeFiles/wfsplugin.dir/ 
qrc_wfsplugin.o
Linking CXX shared module libwfsplugin.so
[ 60%] Built target wfsplugin
sipcoreQgsLabelAttributes.cpp: In function ‘PyObject*  
meth_QgsLabelAttributes_bufferColor(PyObject*, PyObject*)’:
sipcoreQgsLabelAttributes.cpp:1274: warning: taking address of temporary
[ 61%] Built target python
make: *** [all] Error 2



More information about the Qgis-developer mailing list