<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thank you Alex:<br>I did build earlier using the instructions given on the web that you referred to. I was also able to run the QGIS (the built version) executable (after manually copying several libraries that were needed).<br><br>I now wanted to add my own plugin.That is when the real challenge started. I could compile the dll's that came from the trunk. I tried to add my own project following the plugin development directions and I could not get very far. That is where I am today. <br><br>I do have experience with C++ and visual studio. I have written a few standalone applications that I want to run from within QGIS. <br><br>Right now I am trying to make a simple dll as per the instructions given on the web and it has not gotten me anywhere. <br><br>I tried rerunning CMake and I get a new error that I did not get before, and if anyone of you have any idea
why let me know. I do have SIP installed and I even went to the extent of compiling it myself and CMake still could not find it.<br><br>Quantum GIS version: 1.7.0 Trunk (10700)
<p style="margin: 0px; text-indent: 0px;">Found GRASS: C:/OSGeo4W/apps/grass/grass-6.4.0 (6.4.0)</p>
<p style="margin: 0px; text-indent: 0px;">Found Iconv: C:/OSGeo4W/lib/iconv.lib</p>
<p style="margin: 0px; text-indent: 0px;">Found Proj: C:/OSGeo4W/lib/proj.lib</p>
<p style="margin: 0px; text-indent: 0px;">Found Expat: C:/OSGeo4W/lib/libexpat.lib</p>
<p style="margin: 0px; text-indent: 0px;">Found GSL: C:/OSGeo4W/lib/gsl.lib;C:/OSGeo4W/lib/cblas.lib</p>
<p style="margin: 0px; text-indent: 0px;">Found GEOS: C:/OSGeo4W/lib/geos_c_i.lib</p>
<p style="margin: 0px; text-indent: 0px;">Found GDAL: C:/OSGeo4W/apps/gdal-17/lib/gdal_i.lib</p>
<p style="margin: 0px; text-indent: 0px;">Found QWT: C:/OSGeo4W/lib/qwt5.lib</p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);">CMake Error at cmake/FindSIP.cmake:54 (MESSAGE):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"> Could not find SIP</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);">Call Stack (most recent call first):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"> CMakeLists.txt:399 (FIND_PACKAGE)</span></p><p style="margin: 0px; text-indent: 0px;"><br><span style="color: rgb(255, 0, 0);"></span></p><p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);"><br></span></p> Any help is greatly appreciated,<br> <br>Maaza<br><br>--- On <b>Sat, 2/5/11, Alex Mandel <i><tech_dev@wildintellect.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Alex Mandel <tech_dev@wildintellect.com><br>Subject: Re: [Qgis-developer] plugin development in Win XP<br>To: qgis-developer@lists.osgeo.org<br>Date: Saturday, February 5, 2011, 8:32 PM<br><br><div class="plainMail">I think what Giovanni was implying is that you should setup to build<br>QGIS from source and that once you have that working your build<br>environment should work for
plugins.<br><br>See <a href="http://www.qgis.org/wiki/Building_QGIS_from_Source#Building_on_Windows" target="_blank">http://www.qgis.org/wiki/Building_QGIS_from_Source#Building_on_Windows</a><br><br>Enjoy,<br>Alex<br><br>On 02/04/2011 10:21 AM, maaza mekuria wrote:<br>> I am saying that it is not the same. Plugins are DLL's and setup comes <br>> already pre-packaged and I just had to follow instructions that were <br>> clear. <br>> <br>> With the plugins, Dr. Marco's document is written for Linux and then it is also not clear. I think the instructions given for the update of the source files are not correct. <br>> <br>> What are the required directories for the plugin? Do I need all the extra files cmake, .cxx, .svg, etc for the plugin to work? <br>> <br>> Just wondering if I am making demands that is not acceptable. If so please let me know.<br>> <br>> Thank you,<br>> <br>> Maaza <br>> <br>> <br>>
<br>> --- On Fri, 2/4/11, G. Allegri <<a ymailto="mailto:giohappy@gmail.com" href="/mc/compose?to=giohappy@gmail.com">giohappy@gmail.com</a>> wrote:<br>> <br>> From: G. Allegri <<a ymailto="mailto:giohappy@gmail.com" href="/mc/compose?to=giohappy@gmail.com">giohappy@gmail.com</a>><br>> Subject: Re: [Qgis-developer] plugin development in Win XP<br>> To: "maaza mekuria" <<a ymailto="mailto:sailmcm@yahoo.com" href="/mc/compose?to=sailmcm@yahoo.com">sailmcm@yahoo.com</a>><br>> Cc: <a ymailto="mailto:qgis-developer@lists.osgeo.org" href="/mc/compose?to=qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>> Date: Friday, February 4, 2011, 9:15 AM<br>> <br>> If you're able to build QGis, you're able to build the plugins too, as QGis has already builtin plugins. Have a look to this folder [1]. My first trial was create a new folder in my project (in VS I mean) and setup the same structure of the
other plugins.<br>> <br>> Giovanni<br>> <br>> [1] <a href="http://trac.osgeo.org/qgis/browser/trunk/qgis/src/plugins" target="_blank">http://trac.osgeo.org/qgis/browser/trunk/qgis/src/plugins</a><br>> <br>> 2011/2/4 maaza mekuria <<a ymailto="mailto:sailmcm@yahoo.com" href="/mc/compose?to=sailmcm@yahoo.com">sailmcm@yahoo.com</a>><br>> <br>> I am repeating my question since it may not be , is it possible to build a plugin using WinXP and Visual Studio 2008 (I assume it is)? And is there any documentation on that? Or should one copy another plugin from the trunk and try to adopt it? Or should one resort to QT only for plugin development?<br>> <br>> <br>> Thank you,<br>> <br>> Maaza<br>> <br>> --- On Thu, 2/3/11, maaza mekuria <<a ymailto="mailto:sailmcm@yahoo.com" href="/mc/compose?to=sailmcm@yahoo.com">sailmcm@yahoo.com</a>> wrote:<br>> <br>> <br>> From: maaza mekuria <<a
ymailto="mailto:sailmcm@yahoo.com" href="/mc/compose?to=sailmcm@yahoo.com">sailmcm@yahoo.com</a>><br>> Subject: [Qgis-developer] plugin development in Win XP<br>> To: <a ymailto="mailto:qgis-developer@lists.osgeo.org" href="/mc/compose?to=qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>> <br>> Date: Thursday, February 3, 2011, 7:24 PM<br>> <br>> <br>> I am struggling to build a plugin in QGIS. I was able to build the source and I could run QGIS. But I can not create a plugin. I tried to follow Dr. Marco Hugentobler's example from the compilation guide and since it is linux based I could not duplicate it in the windows env. no matter how I try to compile the sample I get one error after another. Right now the error message below is the latest one. Can any of you offer some<br>> direction?<br>> <br>> <br>> 1>C:\SW\Src\qgis-trunk\src\gui\qgisinterface.h(54) : error C2470: 'QgisInterface' :
looks like a function definition, but there is no parameter list; skipping apparent body<br>> 1>c:\sw\src\qgis-trunk\src\core\qgis.h(32) : error C2470: 'QGis' : looks like a function definition, but there is no parameter list; skipping apparent body<br>> <br>> <br>> <br>> Maaza<br>> <br><br>_______________________________________________<br>Qgis-developer mailing list<br><a ymailto="mailto:Qgis-developer@lists.osgeo.org" href="/mc/compose?to=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></blockquote></td></tr></table><br>