[Qgis-developer] Broken compile 2.9

J.O. Williams j.o.williams.jow at gmail.com
Fri May 1 20:59:02 PDT 2015


I did a "git pull" against the latest git repository and had it fail for 
the build.  I am running "14.10 (Utopic Unicorn)".


I hit the following error:

[ 81%] Building CXX object 
src/plugins/grass/6/CMakeFiles/grassplugin6.dir/__/qgsgrasstools.cpp.o
/opt/src/QGIS/src/plugins/grass/qgsgrasstools.cpp: In constructor 
‘QgsGrassTools::QgsGrassTools(QgisInterface*, QWidget*, const char*, 
Qt::WindowFlags)’:
/opt/src/QGIS/src/plugins/grass/qgsgrasstools.cpp:60:17: error: no 
matching function for call to ‘QgsGrassTools::setupUi(QgsGrassTools*)’
    setupUi( this );
                  ^
/opt/src/QGIS/src/plugins/grass/qgsgrasstools.cpp:60:17: note: candidate is:
In file included from /opt/src/QGIS/src/plugins/grass/qgsgrasstools.h:21:0,
                  from /opt/src/QGIS/src/plugins/grass/qgsgrasstools.cpp:17:
/opt/src/QGIS/build-master/src/plugins/grass/ui_qgsgrasstoolsbase.h:52:10: 
note: void Ui_QgsGrassToolsBase::setupUi(QDialog*)
      void setupUi(QDialog *QgsGrassToolsBase)
           ^
/opt/src/QGIS/build-master/src/plugins/grass/ui_qgsgrasstoolsbase.h:52:10: 
note:   no known conversion for argument 1 from ‘QgsGrassTools*’ to 
‘QDialog*’
src/plugins/grass/6/CMakeFiles/grassplugin6.dir/build.make:387: recipe 
for target 
'src/plugins/grass/6/CMakeFiles/grassplugin6.dir/__/qgsgrasstools.cpp.o' 
failed
make[2]: *** 
[src/plugins/grass/6/CMakeFiles/grassplugin6.dir/__/qgsgrasstools.cpp.o] 
Error 1
CMakeFiles/Makefile2:3442: recipe for target 
'src/plugins/grass/6/CMakeFiles/grassplugin6.dir/all' failed
make[1]: *** [src/plugins/grass/6/CMakeFiles/grassplugin6.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2


I previously had built the Makefile using "ccmake ..".  Shouldn't ccmake 
catch a version problem or missing library?

I got a running qgis by "make -i" and "make -i install" and it finished 
normally.  I didn't hit the missing modules while I used it today.

My current build from help->about is:

QGIS version    2.9.0-Master    QGIS code revision    e12601e
Compiled against Qt    4.8.6    Running against Qt    4.8.6
Compiled against GDAL/OGR    1.10.1    Running against GDAL/OGR 1.10.1
Compiled against GEOS    3.4.2-CAPI-1.8.2    Running against GEOS 
3.4.2-CAPI-1.8.2 r3921
PostgreSQL Client Version    9.4.1    SpatiaLite Version    4.1.1
QWT Version    6.0.0-svn    PROJ.4 Version    480
QScintilla2 Version    2.8.3


Is it OK to do a build using "make -j 4" (or -j whatever) to utilize the 
multiple cpu cores during a make?  (I have but is there a hidden gotcha)?


Thanks for your time.

J.O. Williams


More information about the Qgis-developer mailing list