[Qgis-developer] Error in compilation
Sandro Santilli
strk at keybit.net
Fri Feb 7 12:02:03 PST 2014
On Fri, Feb 07, 2014 at 08:03:54PM +0100, Paolo Cavallini wrote:
> Compiling current master throws an error here.
> A local problem, or is someone confirming?
It fails for me too, but not sure it's the same error
( your log doesn't contain the error line )
Here's my error:
In file included from /usr/src/qgis/qgis-master/src/app/qgsoptions.h:22:0,
from /usr/src/qgis/qgis-master/src/app/qgisapp.cpp:156:
/usr/src/qgis/build/master/src/app/../ui/ui_qgsoptionsbase.h:43:20: fatal error: qgis.gui: No such file or directory
#include "qgis.gui"
^
compilation terminated.
--strk;
> Any hint will be appreciated.
> Thanks.
> ===
> [ 53%] Built target spatialiteprovider
> Linking CXX shared module ../../../output/lib/qgis/plugins/libpostgresprovider.so
> cd /usr/local/src/qgis/QGIS/debian/build/src/providers/postgres && /usr/bin/cmake -E
> cmake_link_script CMakeFiles/postgresprovider.dir/link.txt --verbose=YES
> /usr/bin/c++ -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
> - -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -Wall -Wextra -Wno-long-long
> - -Wformat-security -Wno-strict-aliasing -Wl,-z,relro -Wl,--no-undefined -shared
> - -Wl,-soname,libpostgresprovider.so -o
> ../../../output/lib/qgis/plugins/libpostgresprovider.so
> CMakeFiles/postgresprovider.dir/qgspostgresprovider.cpp.o
> CMakeFiles/postgresprovider.dir/qgspostgresconn.cpp.o
> CMakeFiles/postgresprovider.dir/qgspostgresdataitems.cpp.o
> CMakeFiles/postgresprovider.dir/qgspostgresfeatureiterator.cpp.o
> CMakeFiles/postgresprovider.dir/qgspgsourceselect.cpp.o
> CMakeFiles/postgresprovider.dir/qgspgnewconnection.cpp.o
> CMakeFiles/postgresprovider.dir/qgspgtablemodel.cpp.o
> CMakeFiles/postgresprovider.dir/qgscolumntypethread.cpp.o
> CMakeFiles/postgresprovider.dir/moc_qgspostgresprovider.cxx.o
> CMakeFiles/postgresprovider.dir/moc_qgspostgresconn.cxx.o
> CMakeFiles/postgresprovider.dir/moc_qgspostgresdataitems.cxx.o
> CMakeFiles/postgresprovider.dir/moc_qgspgsourceselect.cxx.o
> CMakeFiles/postgresprovider.dir/moc_qgspgnewconnection.cxx.o
> CMakeFiles/postgresprovider.dir/moc_qgspgtablemodel.cxx.o
> CMakeFiles/postgresprovider.dir/moc_qgscolumntypethread.cxx.o
> - -L/usr/local/src/qgis/QGIS/debian/build/src/core
> - -L/usr/local/src/qgis/QGIS/debian/build/src/gui -lpq
> ../../../output/lib/libqgis_core.so.2.1.0 ../../../output/lib/libqgis_gui.so.2.1.0
> ../../../output/lib/libqgis_core.so.2.1.0 -lQtXml -lQtCore -lQtGui -lQtNetwork
> - -lQtSvg -lQtWebKit -lproj -lgeos_c -lgdal -lspatialindex -lexpat -lsqlite3
> - -lspatialite -Wl,-Bstatic -lQtUiTools -Wl,-Bdynamic -lqwt
> -
> -Wl,-rpath,/usr/local/src/qgis/QGIS/debian/build/src/core:/usr/local/src/qgis/QGIS/debian/build/src/gui:/usr/local/src/qgis/QGIS/debian/build/output/lib:
>
> make[3]: Leaving directory `/usr/local/src/qgis/QGIS/debian/build'
> /usr/bin/cmake -E cmake_progress_report
> /usr/local/src/qgis/QGIS/debian/build/CMakeFiles 17
> [ 53%] Built target postgresprovider
> make[2]: Leaving directory `/usr/local/src/qgis/QGIS/debian/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/qgis/QGIS/debian/build'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the Qgis-developer
mailing list