Hi All,<div><br></div><div>Please help me with this....</div><div><br></div><div>thanks,</div><div>Learn Qgis<br><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 12:32 PM, Learn Qgis <span dir="ltr"><<a href="mailto:learn.qgis@gmail.com">learn.qgis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Charlie,<br><br>I have check the environment path variables and everything is properly set. On further R&D, I found that it is not able to find core.lib, gui.lib in QGIS_INSTALLATION_DIR/PYTHON/QGIS. <br>
<br>I want to know that how do we generate core.lib and gui.lib ? Which project is responsible for generating these library files. The project "python_module_qgis_core" generated only core.pyd, it don't generate core.lib. <br>
<br>Please let me know how do I generate above files ????<br><br>thanks in Advance.<br>QGIS Learner<div class="im"><br><br><br><br>On Thu, Mar 17, 2011 at 10:34 PM, Charlie Sharpsteen <span dir="ltr"><<a href="mailto:chuck@sharpsteen.net" target="_blank">chuck@sharpsteen.net</a>></span> wrote:<br>
</div><div><div></div><div class="h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>On Wed, Mar 16, 2011 at 10:20 PM, Learn Qgis <span dir="ltr"><<a href="mailto:learn.qgis@gmail.com" target="_blank">learn.qgis@gmail.com</a>></span> wrote:<br>
</div></div><div class="gmail_quote"><div><div></div><div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hi,<br><br>I am new to QGIS. I am trying to build the source code using CMAKE to Visual Studio 2008 environment with python binding. <br><br>I am using Python 2.7, SIP 4.12.1 and PyQt 4.8.3<br><br>I am getting below error....<br>
<br><b style="color:rgb(255, 0, 0)">Couldn't load PyQGIS.<br>Python support will be disabled.<br></b>
<pre style="margin:12px 0px;text-indent:0px;color:rgb(255, 0, 0)"><b><span><br>Traceback (most recent call last):<br> File "", line 1, in <br>ImportError: dynamic module does not define init function (initcore)<br>
<br><br></span></b></pre>
<p style="margin:0px;text-indent:0px;color:rgb(255, 0, 0)"><b>Python version:<br>2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)]<br><br>QGIS version:<br>1.6.0-Copiapo 'Copiapo', exported<br>
<br>Python path:<br>['D:/dev/cpp/build/src/app/</b><b>Debug/./python', 'C:/Documents and Settings/Administrator/.qgis/</b><b>python', 'C:/Documents and Settings/Administrator/.qgis/</b><b>python/plugins', 'D:/dev/cpp/build/src/app/</b><b>Debug/./python/plugins', 'E:\\Python27\\Lib\\site-</b><b>packages', 'E:\\Python27\\Lib', 'D:\\dev\\cpp\\build\\src\\</b><b>app\\Debug', 'C:\\WINDOWS\\system32\\</b><b>python27.zip', 'E:\\Python27\\DLLs', 'E:\\Python27\\lib\\plat-win', 'E:\\Python27\\lib\\lib-tk', 'E:\\Python27']</b></p>
<p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">Please help me in resolving this error....</p><p style="margin:0px;text-indent:0px">
<br></p><p style="margin:0px;text-indent:0px">thanks in advance...</p></blockquote><div><br></div></div></div><div>Usually this means that Python could not find the PyQt module or could not load it for some reason. Check your environment variables---specifically PATH and PYTHONPATH.</div>
<div><br></div><div>-Charlie</div></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br></div>