<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>
>One more thing, is there anyway to fix this permanently?<br>
<br>
Either set CMAKE_INSTALL_PREFIX to /usr (but that's bad in case
you have a parallel installation from package). Or set the library
path into your bash configuration (.bashrc)<br>
<br>
Regards,<br>
Marco<br>
<br>
Am 27.06.2012 09:16, schrieb Denis Rouzaud:<br>
</div>
<blockquote cite="mid:4FEAB334.8090502@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi again,<br>
<br>
I did export LD_LIBRARY_PATH=/home/denis/opt/builds2/lib/ before
running QGIS and it worked.<br>
<br>
Thanks a lot!!!<br>
<br>
One more thing, is there anyway to fix this permanently?<br>
Is there anything I can change in make?<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/27/2012 09:07 AM, Marco
Hugentobler wrote:<br>
</div>
<blockquote cite="mid:4FEAB147.2050608@sourcepole.ch" type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
<div>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">
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>
<p><span>ImportError:
/home/denis/opt/builds2/share/qgis/python/qgis/core.so:
undefined symbol: _ZN10QgsProject21setTopologicalEditingEb<br>
</span></p>
<p><span><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><br>
</p>
I found a similar error on the list <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>
<br>
<pre>_______________________________________________
Qgis-developer mailing list
<a moz-do-not-send="true" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<br>
<br>
<pre>--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a moz-do-not-send="true" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a moz-do-not-send="true" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-developer mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a moz-do-not-send="true" 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>
</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>