<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello,</DIV>
<DIV>&nbsp; I'm still trying to get the first sample code to compile and link. </DIV>
<DIV>They are here:</DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><A href="https://svn.osgeo.org/qgis/trunk/code_examples/"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US" lang=EN-US><FONT color=#800080>https://svn.osgeo.org/qgis/trunk/code_examples/</FONT></SPAN></A><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US" lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV>I downloaded version 1.0.2 for windows from here <A href="http://qgis.org/en/download/binaries.html">http://qgis.org/en/download/binaries.html</A></DIV>
<DIV>and on that page it's said it's a MSVC build. When I try to build with my Visual C++ express I get the following message at link time.</DIV>
<DIV style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 1pt; PADDING-LEFT: 4pt; PADDING-RIGHT: 4pt; BACKGROUND: #f2dbdb; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 1pt; mso-element: para-border-div; mso-border-alt: solid windowtext .5pt; mso-background-themecolor: accent2; mso-background-themetint: 51">
<P style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BACKGROUND: #f2dbdb; BORDER-TOP: medium none; BORDER-RIGHT: medium none; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-background-themecolor: accent2; mso-background-themetint: 51; mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US" lang=EN-US>C:\OSGeo4W\apps\qgis-dev\bin\QGis_core.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x328<o:p></o:p></SPAN></DIV></DIV>
<DIV>Does this mean it was built with GCC?</DIV>
<DIV>The compilation guide by Marco Pasetti suggests that we use MinGW.</DIV>
<DIV>Are both options quite viable?</DIV>
<DIV>yours truly</DIV>
<DIV>Henri</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></td></tr></table>