PROJ_LIBRARY: C:/OSGeo4W/lib/proj_i.lib<div>SPATIALINDEX_LIBRARY: C:/OSGeo4W/lib/spatialindex_i.lib</div><div>I didn't need to set sqlite3, because it finds it correctly as C:/OSGeo4W/lib/sqlite3_i.lib</div><div><br></div>
<div>giovanni</div><div><br><br><div class="gmail_quote">2012/5/5 Etienne Tourigny <span dir="ltr"><<a href="mailto:etourigny.dev@gmail.com" target="_blank">etourigny.dev@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes I did install them beforehand, the point is that they were not<br>
detected automatically.<br>
<br>
The spatialindex stuff is rather new (I thinks\), so there might need<br>
to be some improvements in the cmake files for Windows.<br>
Same for others which have been around for some time (proj,spatialite,sqlite)<br>
<span class="HOEnZb"><font color="#888888"><br>
Etienne<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Sat, May 5, 2012 at 2:24 PM, G. Allegri <<a href="mailto:giohappy@gmail.com">giohappy@gmail.com</a>> wrote:<br>
> You also need to install those dev libs from osgeo4w. I had to set the proj<br>
> lib path manually.<br>
> I'm out of home, as soon as I'll be back to my pc I can share my notes.<br>
> In the meanwhile I can only confirm that the build procedure for MSVC works<br>
> fine for all the qgis components (also python bindings).<br>
><br>
> giovanni<br>
><br>
> Inviato da dispositivo mobile<br>
><br>
> Il giorno 05/mag/2012 19.06, "Etienne Tourigny" <<a href="mailto:etourigny.dev@gmail.com">etourigny.dev@gmail.com</a>> ha<br>
> scritto:<br>
><br>
>> Hi,<br>
>><br>
>> I got it working last night when running form the osgeo4w shell (my<br>
>> mistake), but there were still a number of missing entries which I had<br>
>> to add (which are also installed by osgeo4w)<br>
>><br>
>> PROJ_LIBRARY-NOTFOUND<br>
>> SPATIALINDEX_INCLUDE_DIR-NOTFOUND<br>
>> SPATIALINDEX_LIBRARY-NOTFOUND<br>
>> SPATIALITE_LIBRARY-NOTFOUND<br>
>> SQLITE3_LIBRARY-NOTFOUND<br>
>><br>
>> I tried adding LIB_DIR to both the osgeo script and as a CMake entry,<br>
>> to no avail.<br>
>><br>
>> Thanks<br>
>> Etienne<br>
>><br>
>> thanks<br>
>> Etienne<br>
>><br>
>> On Sat, May 5, 2012 at 1:32 PM, Tim Sutton <<a href="mailto:lists@linfiniti.com">lists@linfiniti.com</a>> wrote:<br>
>> > Hi<br>
>> ><br>
>> > Are you sure you are launching cmake from in an osgeo4w shell? If you<br>
>> > do that everything should *just work*. Also you should be able to set<br>
>> > a LIB_DIR env var and the cmake find rules will look there for libs.<br>
>> > So normally you should not need to tweak much in cmake other than<br>
>> > fixing the paths for gnu utils.<br>
>> ><br>
>> > Regards<br>
>> ><br>
>> > Tim<br>
>> ><br>
>> > On Sat, May 5, 2012 at 3:23 AM, Etienne Tourigny<br>
>> > <<a href="mailto:etourigny.dev@gmail.com">etourigny.dev@gmail.com</a>> wrote:<br>
>> >> It seems I had overlooked the osgeo4w /include and /lib directories,<br>
>> >> which contain all the necessary libs.<br>
>> >><br>
>> >> However, how can things be setup so that cmake looks for all<br>
>> >> dependencies in the osgeo4w directory, instead of specifying each one<br>
>> >> manually?<br>
>> >><br>
>> >> regards,<br>
>> >> Etienne<br>
>> >><br>
>> >> On Fri, May 4, 2012 at 3:46 PM, Etienne Tourigny<br>
>> >> <<a href="mailto:etourigny.dev@gmail.com">etourigny.dev@gmail.com</a>> wrote:<br>
>> >>> Hi all,<br>
>> >>><br>
>> >>> following the Windows building instructions at [1] using VS2008<br>
>> >>> Express, cmake complains that I am missing GEOS and PROJ.<br>
>> >>><br>
>> >>> I get<br>
>> >>> GEOS_INCLUDE_DIR-NOTFOUND<br>
>> >>> GEOS_LIBRARY-NOTFOUND<br>
>> >>> PROJ_INCLUDE_DIR-NOTFOUND<br>
>> >>> PROJ_LIBRARY-NOTFOUND<br>
>> >>><br>
>> >>> The instructions do not say anything about building GEOS and PROJ.4<br>
>> >>> with Visual Studio (but there are instruction for building GEOS with<br>
>> >>> MINGW)...<br>
>> >>><br>
>> >>><br>
>> >>> [1]<br>
>> >>> <a href="http://hub.qgis.org/projects/quantum-gis/repository/revisions/master/entry/INSTALL" target="_blank">http://hub.qgis.org/projects/quantum-gis/repository/revisions/master/entry/INSTALL</a><br>
>> >>><br>
>> >>> thanks<br>
>> >>> Etienne<br>
>> >> _______________________________________________<br>
>> >> Qgis-developer mailing list<br>
>> >> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
>> >> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Tim Sutton - QGIS Project Steering Committee Member (Release Manager)<br>
>> > ==============================================<br>
>> > Please do not email me off-list with technical<br>
>> > support questions. Using the lists will gain<br>
>> > more exposure for your issues and the knowledge<br>
>> > surrounding your issue will be shared with all.<br>
>> ><br>
>> > Visit <a href="http://linfiniti.com" target="_blank">http://linfiniti.com</a> to find out about:<br>
>> > * QGIS programming and support services<br>
>> > * Mapserver and PostGIS based hosting plans<br>
>> > * FOSS Consulting Services<br>
>> > Skype: timlinux<br>
>> > Irc: timlinux on #qgis at <a href="http://freenode.net" target="_blank">freenode.net</a><br>
>> > ==============================================<br>
>> _______________________________________________<br>
>> Qgis-developer mailing list<br>
>> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br></div>