<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello, </DIV>
<DIV>&nbsp; I have installed cmake, read some documentation, checked out the latest timtut1 project and </DIV>
<DIV>run cmake, then the Microsoft VS 2008 C++ compiler.</DIV>
<DIV>(This is like using a sledge hammer to crack a peanut ;))</DIV>
<DIV>&nbsp;</DIV>
<DIV>With eboth Qgis installers I get an error at link time: the linker complains as follows<BR><FONT size=1></DIV>
<DIV>C:\Program Files\Quantum GIS\bin\qgis_core.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x2F0</DIV>
<DIV></FONT><BR>(About the same mistake occurs when I use the osgeo release.)</DIV>
<DIV>&nbsp;</DIV>
<DIV>By the way the non-osgeo release does not have the includes for GEOS and GDAL </DIV>
<DIV>and the names of the libraries for geos and gdal are not the ones that Cmake is looking for.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Maybe I should be using a "development library"??</DIV>
<DIV>Maybe I should download a more recent (than 1.0.2 Kore) installer?</DIV>
<DIV>Yours truly</DIV>
<DIV>Henri</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px">
<DIV class=plainMail>On Sat, Oct 31, 2009 at 10:46 PM, Henri De Feraudy &lt;<A href="http://us.mc1108.mail.yahoo.com/mc/compose?to=feraudyh@yahoo.com" ymailto="mailto:feraudyh@yahoo.com">feraudyh@yahoo.com</A>&gt; wrote:<BR>&gt;<BR>&gt; Thankyou Tim,<BR>&gt; The first example to start with (tutorial 1) . I'd love to be able to continue and make it better, with rectangular selections (I guess that's the rubber band selection example).<BR>&gt;<BR><BR>OK. You need to build it using CMake. Standard procedure should be<BR>(guessing a little because I'm a linux user):<BR><BR>Install osgeo4w into the standard location (c:\osgeo4w) including all<BR>developer libs<BR>Use your system properties to export the LIB_DIR environment var to<BR>point to c:\osgeo4w<BR>enter the tut dir<BR>mkdir build<BR>cd build<BR>cmakesetup ..<BR>configure (c)<BR>generate (g)<BR>nmake<BR><BR>Windows gurus please chip in where I have gone wrong above...<BR><BR><BR>&gt; As for the term
 div lib, I dont know what you mean. I am handicapped by the fact that I have been out of C &amp; C++ programming for over a decade until a week ago :(.<BR><BR>Sorry that was a typo, I meant dev (ie developer) libs.<BR><BR>I just made some small tweaks to tuts 1-4 so please update from svn<BR>when you get the chance.<BR><BR>Regards<BR><BR>Tim<BR><BR>&gt; As Manuel says in Fawlty Towers "But I'm learning...".<BR>&gt;<BR>&gt; Henri<BR>&gt;<BR>&gt;<BR>&gt; --- On Sat, 10/31/09, Tim Sutton &lt;<A href="http://us.mc1108.mail.yahoo.com/mc/compose?to=lists@linfiniti.com" ymailto="mailto:lists@linfiniti.com">lists@linfiniti.com</A>&gt; wrote:<BR>&gt;<BR>&gt; From: Tim Sutton &lt;<A href="http://us.mc1108.mail.yahoo.com/mc/compose?to=lists@linfiniti.com" ymailto="mailto:lists@linfiniti.com">lists@linfiniti.com</A>&gt;<BR>&gt; Subject: Re: [Qgis-developer] Which compiler should I use to build example code?<BR>&gt; To: "Henri De Feraudy" &lt;<A
 href="http://us.mc1108.mail.yahoo.com/mc/compose?to=feraudyh@yahoo.com" ymailto="mailto:feraudyh@yahoo.com">feraudyh@yahoo.com</A>&gt;, <A href="http://us.mc1108.mail.yahoo.com/mc/compose?to=qgis-developer-bounces@lists.osgeo.org" ymailto="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</A>, "QGIS Developer" &lt;<A href="http://us.mc1108.mail.yahoo.com/mc/compose?to=qgis-developer@lists.osgeo.org" ymailto="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</A>&gt;<BR>&gt; Date: Saturday, October 31, 2009, 9:18 PM<BR>&gt;<BR>&gt; Hi<BR>&gt;<BR>&gt; Which specific example are you trying to build? You should be able to build with msvc assuming you have LIB_DIR set to an osgeo4w installation the includes all the needed div libs.<BR>&gt;<BR>&gt; Regards<BR>&gt;<BR>&gt; Tim<BR>&gt; Sent from my mobile phone.<BR>&gt;<BR>&gt; -----Original Message-----<BR>&gt; From: Henri De Feraudy &lt;<A
 href="http://us.mc1108.mail.yahoo.com/mc/compose?to=feraudyh@yahoo.com" ymailto="mailto:feraudyh@yahoo.com">feraudyh@yahoo.com</A>&gt;<BR>&gt; Date: Sat, 31 Oct 2009 12:58:36<BR>&gt; To: &lt;<A href="http://us.mc1108.mail.yahoo.com/mc/compose?to=qgis-developer@lists.osgeo.org" ymailto="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</A>&gt;<BR>&gt; Subject: [Qgis-developer] Which compiler should I use to build example code?<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Qgis-developer mailing list<BR>&gt; <A href="http://us.mc1108.mail.yahoo.com/mc/compose?to=Qgis-developer@lists.osgeo.org" ymailto="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</A><BR>&gt; <A href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target=_blank>http://lists.osgeo.org/mailman/listinfo/qgis-developer</A><BR>&gt;<BR>&gt;<BR><BR><BR><BR>--<BR>Tim Sutton - QGIS Project Steering Committee Member
 (Release &nbsp;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 freenode.net<BR>==============================================<BR></DIV></BLOCKQUOTE></td></tr></table>