[Qgis-developer] QGIS Master doesn't compile

Sandro Santilli strk at keybit.net
Thu Sep 5 06:28:44 PDT 2013


Reported here: http://hub.qgis.org/issues/8575 and supposedly
fixed by http://hub.qgis.org/projects/quantum-gis/repository/revisions/2c2d675
Confirmations welcome.

--strk;

On Thu, Sep 05, 2013 at 02:20:08PM +0200, Borys Jurgiel wrote:
> JEF, after your commit [1] QGIS doesn't compile anymore. The make stops saying:
> 
> CMakeFiles/qgis_app.dir/main.cpp.o: In function `dumpBacktrace':
> /home/borys/sources/qgis/src/app/main.cpp:229: undefined reference to `QgsLogger::debug(QString const&, int, char const*, char const*, int)'
> /home/borys/sources/qgis/src/app/main.cpp:244: undefined reference to `QgsLogger::debug(QString const&, int, char const*, char const*, int)'
> /home/borys/sources/qgis/src/app/main.cpp:258: undefined reference to `QgsLogger::debug(QString const&, int, char const*, char const*, int)'
> (...)
> 
> Seems it's because in main.cpp you introduced some calls to QgsDebugMsg
> (what is defined as QgsLogger::debug() in the qgslogger.h). But the same 
> syntax is used in other classes (e.g. QgsAbout) and compiles ok. I have no idea
> what's going on.
> 
> Of course I did make clean and even removed whole build/src directory.
> 
> [1] https://github.com/qgis/Quantum-GIS/commit/1c9d6ebce949c3c51ca0b85243f4e2511faed81c


More information about the Qgis-developer mailing list