Re: [Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-07 Thread Etienne Tourigny
On Mon, May 7, 2012 at 3:49 PM, Jürgen E. wrote: > Hi Etienne, > > On Mon, 07. May 2012 at 11:24:36 -0300, Etienne Tourigny wrote: >> I do have  C:/OSGeo4W/lib/sqlite3_i.lib but it is not detected, >> although the include is. > > Set the variables like in ms-windows/osgeo4w/package-nightly.cmd I

Re: [Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-07 Thread Jürgen E . Fischer
Hi Etienne, On Mon, 07. May 2012 at 11:24:36 -0300, Etienne Tourigny wrote: > I do have C:/OSGeo4W/lib/sqlite3_i.lib but it is not detected, > although the include is. Set the variables like in ms-windows/osgeo4w/package-nightly.cmd > Where did you get spatialindex_i.lib from ? I did not find

Re: [Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-07 Thread Etienne Tourigny
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. Wher

Re: [Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-07 Thread G. Allegri
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 > Yes I did install them beforehand, the point is that they were not >

Re: [Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-05 Thread Etienne Tourigny
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) Et

Re: [Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-05 Thread G. Allegri
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).

Re: [Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-05 Thread Etienne Tourigny
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-NOTF

Re: [Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-05 Thread Tim Sutton
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

[Qgis-developer] Re: build qgis in Windows - missing GEOS and PROJ.4

2012-05-04 Thread Etienne Tourigny
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,