AW: Re: AW: Re: [Qgis-developer] Compilation error rev. 8117
Düster Horst
Horst.Duester at bd.so.ch
Fri Feb 8 05:52:39 EST 2008
Yes that's it now it works.
Thank you very much.
Horst
------------------------------------------------
Dr. Horst Düster
GIS-Koordinator, Stv. Amtschef
Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
SO!GIS Koordination
Rötistrasse 4
CH-4501 Solothurn
Telefon ++41(0)32 627 25 32
Telefax ++41(0)32 627 22 14
mailto:horst.duester at bd.so.ch
http://www.agi.so.ch
-----Ursprüngliche Nachricht-----
Von: Marco Hugentobler [mailto:marco.hugentobler at karto.baug.ethz.ch]
Gesendet am: Freitag, 8. Februar 2008 11:40
An: Düster Horst
Betreff: Re: AW: Re: [Qgis-developer] Compilation error rev. 8117
Oh, that's right. Even though my (geos3) installation is not in the
standard
include path, qgis seems to take the (geos2) includes from /usr/lib.
Try to add the following line to grid_maker/CMakeLists.txt
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
+ ${GEOS_INCLUDE_DIR}
../../core
../../core/raster
../../core/renderer
../../core/symbology
../../gui
..
)
Regards,
Marco
Am Freitag 08 Februar 2008 11:18:21 schrieben Sie:
> Marco
>
> Here the compiler output. I can't see any GEOS include path. In my
> installation GEOS is resided outside of /usr/local/include. Perhaps
> thats the reason why GEOS works for you
>
> /usr/bin/c++ -Dgridmakerplugin_EXPORTS -fPIC
> -I/usr/local/qt4/include -I/usr/local/qt4/include/Qt3Support
> -I/usr/local/qt4/include/QtSvg -I/usr/local/qt4/include/QtGui
> -I/usr/local/qt4/include/QtXml -I/usr/local/qt4/include/QtNetwork
> -I/usr/local/qt4/include/QtCore
> -I/usr/local/src/sogis/qgis_src/qgis_trunc
> -I/usr/local/src/sogis/qgis_src/qgis_trunc/src/plugins/grid_maker
>
-I/usr/local/src/sogis/qgis_src/qgis_trunc/src/plugins/grid_maker/../../
> core
>
-I/usr/local/src/sogis/qgis_src/qgis_trunc/src/plugins/grid_maker/../../
> core/raster
>
-I/usr/local/src/sogis/qgis_src/qgis_trunc/src/plugins/grid_maker/../../
> core/renderer
>
-I/usr/local/src/sogis/qgis_src/qgis_trunc/src/plugins/grid_maker/../../
> core/symbology
>
-I/usr/local/src/sogis/qgis_src/qgis_trunc/src/plugins/grid_maker/../../
> gui
-I/usr/local/src/sogis/qgis_src/qgis_trunc/src/plugins/grid_maker/..
> -DQT_SHARED -DQT_3SUPPORT_LIB -DQT3_SUPPORT -DQT_SVG_LIB -DQT_GUI_LIB
> -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -DPREFIX=\"/usr/local/qgis_devel\" -DCORE_EXPORT= -DGUI_EXPORT= -o
>
src/plugins/grid_maker/CMakeFiles/gridmakerplugin.dir/graticulecreator.o
> -c
>
/usr/local/src/sogis/qgis_src/qgis_trunc/src/plugins/grid_maker/graticul
> ecreator.cpp
>
>
> Horst
> ------------------------------------------------
>
> Dr. Horst Düster
> GIS-Koordinator, Stv. Amtschef
>
> Kanton Solothurn
> Bau- und Justizdepartement
> Amt für Geoinformation
> SO!GIS Koordination
> Rötistrasse 4
> CH-4501 Solothurn
>
> Telefon ++41(0)32 627 25 32
> Telefax ++41(0)32 627 22 14
>
> mailto:horst.duester at bd.so.ch
> http://www.agi.so.ch
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Marco Hugentobler [mailto:marco.hugentobler at karto.baug.ethz.ch]
> Gesendet am: Freitag, 8. Februar 2008 11:03
> An: qgis-developer at lists.osgeo.org
> Betreff: Re: [Qgis-developer] Compilation error rev. 8117
>
> Horst,
>
> The compilation works for me with rev. 8117.
>
> Could you set the cmake variable 'CMAKE_VERBOSE_MAKEFILE' to true and
> then
> post the compiler output when trying to compile graticulcreator.cpp?
> Ideally,
> there should be -I<GEOS_INCLUDE_PATH> in the compiler command line.
>
> Regards,
> Marco
>
> Am Freitag 08 Februar 2008 10:08:34 schrieb Düster Horst:
> > I do have problems to compile QGIS rev. 8117. The compilation
process
> > crashes with the following error message
> >
> > [ 75%] Building CXX object
>
>
src/plugins/grid_maker/CMakeFiles/gridmakerplugin.dir/graticulecreator.o
>
> > In Datei, eingefügt von
>
>
/usr/local/src/sogis/qgis_src/qgis_trunc/src/plugins/grid_maker/graticul
>
> > ecreator.cpp:17:
>
>
/usr/local/src/sogis/qgis_src/qgis_trunc/src/plugins/grid_maker/../../co
>
> > re/qgsgeometry.h:25:26: geos/version.h: File or directory not found
> >
> > I believe, that GEOS is installed correctly with ccmake. The
mentioned
> > file exists under GEOS_INCLUDE_PATH/geos/version.h
> >
> > What goes wrong.
> >
> > Regards
> > Horst
> > ------------------------------------------------
> >
> > Dr. Horst Düster
> > GIS-Koordinator, Stv. Amtschef
> >
> > Kanton Solothurn
> > Bau- und Justizdepartement
> > Amt für Geoinformation
> > SO!GIS Koordination
> > Rötistrasse 4
> > CH-4501 Solothurn
> >
> > Telefon ++41(0)32 627 25 32
> > Telefax ++41(0)32 627 22 14
> >
> > mailto:horst.duester at bd.so.ch
> > http://www.agi.so.ch
--
Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
Technical Advisor QGIS Project Steering Committee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080208/2a7c1f2d/attachment-0001.html
More information about the Qgis-developer
mailing list