<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Denis<br>
<br>
Could it be your qgis executable does not use the libqgis_core.so
you compiled? If so, you may set the LD_LIBRARY_PATH to point to
the location of your qgis libs.<br>
<br>
Regards,<br>
Marco<br>
<br>
Am 27.06.2012 08:45, schrieb Denis Rouzaud:<br>
</div>
<blockquote cite="mid:4FEAAC0C.4000702@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi all,<br>
<br>
I am (almost) a complete newbie in c++. I am trying to get into
it, by adding a new edit type for vector layers. I am adding
something similar to valuerelation to have multi-attribute edit
type (using a join table and an attribute table).<br>
<br>
Basically, I reused almost exactly the same code as valuerelation,
at first. It won't give anything working, but it allows me to
learn.<br>
<br>
I can compile, but when I run qgis, I have this python error at
launch:<br>
<br>
<meta name="qrichtext" content="1">
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment--><span
style="font-family: 'Courier New,courier';">ImportError:
/home/denis/opt/builds2/share/qgis/python/qgis/core.so:
undefined symbol: _ZN10QgsProject21setTopologicalEditingEb<br>
</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
style="font-family: 'Courier New,courier';"><br>
</span>Then, when I opened the layer properties dialog and I try
to change the edit type, QGIS crashes and I have the following
output in the terminal:<br>
symbol lookup error: /home/denis/opt/builds2/bin/qgis: undefined
symbol: _ZN14QgsVectorLayer14multiAttributeEi<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
<!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>I found a similar error on the list
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a moz-do-not-send="true"
href="http://lists.osgeo.org/pipermail/qgis-developer/2012-May/020401.html">http://lists.osgeo.org/pipermail/qgis-developer/2012-May/020401.html</a>,
but uninstalling and deleting the share directory did nothing.<br>
<br>
Does someone has any idea on what could be going wrong?<br>
<br>
Thanks <br>
<br>
Denis<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a class="moz-txt-link-abbreviated" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a class="moz-txt-link-freetext" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee</pre>
</body>
</html>