I tried again and here is the log. basically missing PROJ_LIBRARY SPATIALINDEX_INCLUDE_DIR SPATIALINDEX_LIBRARY SPATIALITE_LIBRARY SQLITE3_LIBRARY
although they are in the correct path (c:/osgeo4w/lib) I do have C:/OSGeo4W/lib/sqlite3_i.lib but it is not detected, although the include is. Where did you get spatialindex_i.lib from ? I did not find it in osgeo4w installer and I had to download it from http://download.osgeo.org/libspatialindex/libspatialindex-1.6.1-win32.zip After copying them to osgeo4w dirs, it was found by cmake. It would be great to have it added to osgeo4w! Thanks Etienne Check for working C compiler using: Visual Studio 9 2008 Check for working C compiler using: Visual Studio 9 2008 -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working CXX compiler using: Visual Studio 9 2008 Check for working CXX compiler using: Visual Studio 9 2008 -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Quantum GIS version: 1.8.0 Lisboa (10800) Could not find GRASS Touch support disabled Found GEOS: C:/OSGeo4W/lib/geos_c_i.lib Found GDAL: C:/OSGeo4W/lib/gdal_i.lib Found Expat: C:/OSGeo4W/lib/libexpat.lib Found Qwt: C:/OSGeo4W/lib/qwt5.lib (5.2.1) CMake Error at CMakeLists.txt:180 (MESSAGE): sqlite3 dependency was not found (try compiling with internal spatialite)! Found PostgreSQL: C:/OSGeo4W/lib/libpq.lib CMake Error at CMakeLists.txt:194 (MESSAGE): Some dependencies were not found! Looking for Q_WS_X11 Looking for Q_WS_X11 - not found. Looking for Q_WS_WIN Looking for Q_WS_WIN - found Looking for Q_WS_QWS Looking for Q_WS_QWS - not found. Looking for Q_WS_MAC Looking for Q_WS_MAC - not found. Found Qt4: C:/OSGeo4W/bin/qmake.exe (found suitable version "4.7.1", required is "4.4.0") Found ZLIB: C:/OSGeo4W/lib/zlib.lib (found version "1.2.3") Found zlib: C:/OSGeo4W/lib/zlib.lib Pedantic compiler settings enabled Found PythonInterp: C:/OSGeo4W/bin/python.exe (found version "2.7.2") Found Python executable: C:/OSGeo4W/bin/python.exe Found Python version: 2.7.2 Found Python library: C:/OSGeo4W/apps/python27/libs/python27.lib Found SIP version: 4.13.1 Found PyQt4 version: 4.8.3 Found GSL: C:/OSGeo4W/lib/gsl.lib;C:/OSGeo4W/lib/cblas.lib txt2tags not found - disabled Ctest Binary Directory set to: C:/OSGeo4W/build/build5/output/bin CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: PROJ_LIBRARY linked by target "qgis_core" in directory C:/OSGeo4W/build/Quantum-GIS/src/core linked by target "crssync" in directory C:/OSGeo4W/build/Quantum-GIS/src/crssync linked by target "qgis_applicationtest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_contrastenhancementtest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_coordinatereferencesystemtest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_expressiontest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_filewritertest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_geometrytest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_maplayertest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_maprenderertest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_pointtest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_rasterlayertest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_regression1141" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_regression992" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_rendererstest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_rulebasedrenderertest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_searchstringtest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_vectorlayertest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_ziplayertest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/core linked by target "qgis_zoomtest" in directory C:/OSGeo4W/build/Quantum-GIS/tests/src/gui SPATIALINDEX_INCLUDE_DIR used as include directory in directory C:/OSGeo4W/build/Quantum-GIS/src/core SPATIALINDEX_LIBRARY linked by target "qgis_core" in directory C:/OSGeo4W/build/Quantum-GIS/src/core SPATIALITE_LIBRARY linked by target "offlineeditingplugin" in directory C:/OSGeo4W/build/Quantum-GIS/src/plugins/offline_editing SQLITE3_LIBRARY linked by target "qgis_core" in directory C:/OSGeo4W/build/Quantum-GIS/src/core linked by target "qgis_help" in directory C:/OSGeo4W/build/Quantum-GIS/src/helpviewer linked by target "qbrowser" in directory C:/OSGeo4W/build/Quantum-GIS/src/browser linked by target "qgis_bench" in directory C:/OSGeo4W/build/Quantum-GIS/tests/bench Configuring incomplete, errors occurred! On Mon, May 7, 2012 at 4:07 AM, G. Allegri <[email protected]> wrote: > PROJ_LIBRARY: C:/OSGeo4W/lib/proj_i.lib > SPATIALINDEX_LIBRARY: C:/OSGeo4W/lib/spatialindex_i.lib > I didn't need to set sqlite3, because it finds it correctly > as C:/OSGeo4W/lib/sqlite3_i.lib > > giovanni > > > 2012/5/5 Etienne Tourigny <[email protected]> >> >> Yes I did install them beforehand, the point is that they were not >> detected automatically. >> >> The spatialindex stuff is rather new (I thinks\), so there might need >> to be some improvements in the cmake files for Windows. >> Same for others which have been around for some time >> (proj,spatialite,sqlite) >> >> Etienne >> >> On Sat, May 5, 2012 at 2:24 PM, G. Allegri <[email protected]> wrote: >> > You also need to install those dev libs from osgeo4w. I had to set the >> > proj >> > lib path manually. >> > I'm out of home, as soon as I'll be back to my pc I can share my notes. >> > In the meanwhile I can only confirm that the build procedure for MSVC >> > works >> > fine for all the qgis components (also python bindings). >> > >> > giovanni >> > >> > Inviato da dispositivo mobile >> > >> > Il giorno 05/mag/2012 19.06, "Etienne Tourigny" >> > <[email protected]> ha >> > scritto: >> > >> >> Hi, >> >> >> >> I got it working last night when running form the osgeo4w shell (my >> >> mistake), but there were still a number of missing entries which I had >> >> to add (which are also installed by osgeo4w) >> >> >> >> PROJ_LIBRARY-NOTFOUND >> >> SPATIALINDEX_INCLUDE_DIR-NOTFOUND >> >> SPATIALINDEX_LIBRARY-NOTFOUND >> >> SPATIALITE_LIBRARY-NOTFOUND >> >> SQLITE3_LIBRARY-NOTFOUND >> >> >> >> I tried adding LIB_DIR to both the osgeo script and as a CMake entry, >> >> to no avail. >> >> >> >> Thanks >> >> Etienne >> >> >> >> thanks >> >> Etienne >> >> >> >> On Sat, May 5, 2012 at 1:32 PM, Tim Sutton <[email protected]> wrote: >> >> > Hi >> >> > >> >> > Are you sure you are launching cmake from in an osgeo4w shell? If you >> >> > do that everything should *just work*. Also you should be able to set >> >> > a LIB_DIR env var and the cmake find rules will look there for libs. >> >> > So normally you should not need to tweak much in cmake other than >> >> > fixing the paths for gnu utils. >> >> > >> >> > Regards >> >> > >> >> > Tim >> >> > >> >> > On Sat, May 5, 2012 at 3:23 AM, Etienne Tourigny >> >> > <[email protected]> wrote: >> >> >> It seems I had overlooked the osgeo4w /include and /lib directories, >> >> >> which contain all the necessary libs. >> >> >> >> >> >> However, how can things be setup so that cmake looks for all >> >> >> dependencies in the osgeo4w directory, instead of specifying each >> >> >> one >> >> >> manually? >> >> >> >> >> >> regards, >> >> >> Etienne >> >> >> >> >> >> On Fri, May 4, 2012 at 3:46 PM, Etienne Tourigny >> >> >> <[email protected]> wrote: >> >> >>> Hi all, >> >> >>> >> >> >>> following the Windows building instructions at [1] using VS2008 >> >> >>> Express, cmake complains that I am missing GEOS and PROJ. >> >> >>> >> >> >>> I get >> >> >>> GEOS_INCLUDE_DIR-NOTFOUND >> >> >>> GEOS_LIBRARY-NOTFOUND >> >> >>> PROJ_INCLUDE_DIR-NOTFOUND >> >> >>> PROJ_LIBRARY-NOTFOUND >> >> >>> >> >> >>> The instructions do not say anything about building GEOS and PROJ.4 >> >> >>> with Visual Studio (but there are instruction for building GEOS >> >> >>> with >> >> >>> MINGW)... >> >> >>> >> >> >>> >> >> >>> [1] >> >> >>> >> >> >>> http://hub.qgis.org/projects/quantum-gis/repository/revisions/master/entry/INSTALL >> >> >>> >> >> >>> thanks >> >> >>> Etienne >> >> >> _______________________________________________ >> >> >> Qgis-developer mailing list >> >> >> [email protected] >> >> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> >> > >> >> > >> >> > >> >> > -- >> >> > Tim Sutton - QGIS Project Steering Committee Member (Release >> >> > Manager) >> >> > ============================================== >> >> > Please do not email me off-list with technical >> >> > support questions. Using the lists will gain >> >> > more exposure for your issues and the knowledge >> >> > surrounding your issue will be shared with all. >> >> > >> >> > Visit http://linfiniti.com to find out about: >> >> > * QGIS programming and support services >> >> > * Mapserver and PostGIS based hosting plans >> >> > * FOSS Consulting Services >> >> > Skype: timlinux >> >> > Irc: timlinux on #qgis at freenode.net >> >> > ============================================== >> >> _______________________________________________ >> >> Qgis-developer mailing list >> >> [email protected] >> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer > > _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
