Hi,<div>I have a problem on my Application. I want implement the simple application that is showed in the developer guide (page 20, TIm Sutton application).</div><div><br></div><div>I follow this example but when I try to compile I have this errors:</div>
<div><br></div><div><div><div>1&gt;C:\OSGeo4W\apps\qgis-dev\include\qgsapplication.h(25) : error C2470: &#39;QgsApplication&#39; : looks like a function definition, but there is no parameter list; skipping apparent body</div>
<div>1&gt;C:\OSGeo4W\apps\qgis-dev\include\qgsproviderregistry.h(40) : error C2470: &#39;QgsProviderRegistry&#39; : looks like a function definition, but there is no parameter list; skipping apparent body</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgis.h(29) : error C2470: &#39;QGis&#39; : looks like a function definition, but there is no parameter list; skipping apparent body</div>
<div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(31) : error C2470: &#39;QgsVector&#39; : looks like a function definition, but there is no parameter list; skipping apparent body</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(62) : error C2470: &#39;QgsPoint&#39; : looks like a function definition, but there is no parameter list; skipping apparent body</div>
<div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(187) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(187) : error C2143: syntax error : missing &#39;,&#39; before &#39;&amp;&#39;</div>
<div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(188) : error C2803: &#39;operator ==&#39; must have at least one formal parameter of class type</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(188) : error C2805: binary &#39;operator ==&#39; has too few parameters</div>
<div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(189) : error C2065: &#39;p1&#39; : undeclared identifier</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(189) : error C2228: left of &#39;.x&#39; must have class/struct/union</div>
<div>1&gt;        type is &#39;&#39;unknown-type&#39;&#39;</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(189) : error C2065: &#39;p2&#39; : undeclared identifier</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(189) : error C2228: left of &#39;.x&#39; must have class/struct/union</div>
<div>1&gt;        type is &#39;&#39;unknown-type&#39;&#39;</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(189) : error C2228: left of &#39;.y&#39; must have class/struct/union</div><div>1&gt;        type is &#39;&#39;unknown-type&#39;&#39;</div>
<div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(189) : error C2228: left of &#39;.y&#39; must have class/struct/union</div><div>1&gt;        type is &#39;&#39;unknown-type&#39;&#39;</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(195) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div>
<div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(195) : error C2143: syntax error : missing &#39;,&#39; before &#39;&amp;&#39;</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(198) : error C2065: &#39;p&#39; : undeclared identifier</div>
<div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(198) : error C2228: left of &#39;.toString&#39; must have class/struct/union</div><div>1&gt;        type is &#39;&#39;unknown-type&#39;&#39;</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(198) : error C2228: left of &#39;.toLocal8Bit&#39; must have class/struct/union</div>
<div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgspoint.h(198) : error C2228: left of &#39;.data&#39; must have class/struct/union</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgsrectangle.h(36) : error C2470: &#39;QgsRectangle&#39; : looks like a function definition, but there is no parameter list; skipping apparent body</div>
<div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgsrectangle.h(140) : error C2653: &#39;QgsRectangle&#39; : is not a class or namespace name</div><div>1&gt;c:\osgeo4w\apps\qgis-dev\include\qgsrectangle.h(140) : fatal error C1903: unable to recover from previous error(s); stopping compilation</div>
<div>1&gt;main.cpp</div><div>1&gt;C:\OSGeo4W\apps\qgis-dev\include\qgsapplication.h(25) : error C2470: &#39;QgsApplication&#39; : looks like a function definition, but there is no parameter list; skipping apparent body</div>
<div>1&gt;Generating Code...</div></div></div><div><br></div><div><br></div><div>Can anyone help me pls?</div><div><br></div><div>Thx, Bye</div>