Hi Felipe, <div><br></div><div>Does cmake work when you don&#39;t set your LD_LIBRARY_PATH? Have you tried prepending your LD_LIBRARY_PATH instead? It is strange that cmake would break when you set LD_LIBRARY_PATH.<div><br>

</div><div>LD_LIBRARY_PATH=/usr/lib/paraview-3.8:$LD_LIBRARY_PATH<br><br><div class="gmail_quote">On Thu, Oct 7, 2010 at 12:53 PM, Felipe Bordeu <span dir="ltr">&lt;<a href="mailto:felipe.bordeu@ec-nantes.fr">felipe.bordeu@ec-nantes.fr</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have a problem too. Help please to see if I am doing something wrong.<br>
<br>
using (uname -a)<br>
Linux pc-lmm29 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux<br>
<br>
I installed the<br>
<br>
ParaView-Development-3.8.1-Linux-x86_64/bin/*    ----&gt; /usr/bin/.<br>
ParaView-Development-3.8.1-Linux-x86_64/include/paraview-3.8/* ----&gt; /usr/include/paraview-3.8/*<br>
ParaView-Development-3.8.1-Linux-x86_64/lib/paraview-3.8/*  ----&gt; /usr/lib/paraview-3.8/<br>
<br>
then I configure my plugging with<br>
<br>
FIND_PACKAGE(ParaView REQUIRED PATHS /usr/lib/paraview-3.8)<br>
<br>
and when do make ...<br>
&gt;make<br>
[  5%] Generating moc_PGDReader_Plugin.cxx<br>
[ 10%] Generating vtkPGDReaderClientServer.cxx<br>
[ 15%] Generating qrc_PGDReader.cxx<br>
[ 20%] Generating vtkSMXML_PGDReader.h<br>
/usr/bin/kwProcessXML: error while loading shared libraries: libvtkCommon.so.pv3.8: cannot open shared object file: No such file or directory<br>
make[2]: *** [vtkSMXML_PGDReader.h] Erreur 127<br>
make[1]: *** [CMakeFiles/PGDReader.dir/all] Erreur 2<br>
make: *** [all] Erreur 2<br>
<br>
if I do ldd /usr/bin/kwProcessXML I get :<br>
&gt;ldd /usr/bin/kwProcessXML<br>
        linux-vdso.so.1 =&gt;  (0x00007fffe55ff000)<br>
        libvtkCommon.so.pv3.8 =&gt; not found<br>
        libvtksys.so.pv3.8 =&gt; not found<br>
        libdl.so.2 =&gt; /lib/libdl.so.2 (0x00007f9a2d42a000)<br>
        libstdc++.so.6 =&gt; /usr/lib/libstdc++.so.6 (0x00007f9a2d116000)<br>
        libm.so.6 =&gt; /lib/libm.so.6 (0x00007f9a2ce93000)<br>
        libgcc_s.so.1 =&gt; /lib/libgcc_s.so.1 (0x00007f9a2cc7b000)<br>
        libc.so.6 =&gt; /lib/libc.so.6 (0x00007f9a2c8f8000)<br>
        /lib64/ld-linux-x86-64.so.2 (0x00007f9a2d655000)<br>
<br>
and if I do, export LD_LIBRARY_PATH=/usr/lib/paraview-3.8/<br>
<br>
then cmake is broken ... :(<br>
<br>
&gt;cmake<br>
/usr/bin/cmake: /usr/lib/paraview-3.8/libstdc++.so.6: version `GLIBCXX_3.4.11&#39; not found (required by /usr/bin/cmake)<br>
/usr/bin/cmake: /usr/lib/paraview-3.8/libstdc++.so.6: version `GLIBCXX_3.4.9&#39; not found (required by /usr/bin/cmake)<br>
<br>
Any idea.<br>
<br>
<br>
On 07/10/2010 18:02, Sven Buijssen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Alexey,<br>
<br>
The dependency is inherited. As stated in the wiki<br>
(<a href="http://www.paraview.org/Wiki/ParaView:Plugin_Deployment_with_Development_Installs" target="_blank">http://www.paraview.org/Wiki/ParaView:Plugin_Deployment_with_Development_Installs</a>)<br>
you&#39;ll need to provide your own installation of Qt 4.6.2 - but not necessarily<br>
using the path used at Kitware on their build hosts.<br>
<br>
I typically fix up the Makefiles *every time cmake has been rerun* as follows:<br>
<br>
* alter the installation path of qt (use something appropriate instead of<br>
   /path/to/qt/lib !)<br>
<br>
sed -i -e<br>
&#39;s,/home/kitware/.*ParaView-3-.*/Support/qt-4.6.2/bin/lib,/path/to/qt/lib,g&#39; \<br>
         CMakeFiles/*.dir/build.make \<br>
         CMakeFiles/*.dir/flags.make \<br>
         CMakeFiles/*.dir/link.txt<br>
<br>
* get rid of ffmpeg, hdf5, sz and python dependency (which my plugins do not<br>
depend on)<br>
<br>
sed -i -e &#39;/^lib.*.so: \/home\/kitware\/.*ParaView-3-.*\/Support\//d;&#39; \<br>
         CMakeFiles/*.dir/build.make<br>
sed -i -e &#39;s/ [^ ]*libhdf5.a//; s/ [^ ]*libsz.a//; s/-lpython2.5//;&#39; \<br>
         CMakeFiles/*.dir/link.txt<br>
<br>
Hope that helps<br>
Sven<br>
<br>
<br>
<br>
<br>
Alexey I. Baranov wrote, On 07.10.2010 17:14:<br>
   <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello All,<br>
<br>
am I the only one who has problems while building plugins with Development<br>
installation? I have downloaded fresh 3.8.1-Dev, unpacked, configured my<br>
plugin with CMake, generated makefile and get after typing make the following:<br>
<br>
make[2]: *** No rule to make target<br>
`/home/kitware/Kitware/ParaView-3.8.1/Support/qt-4.6.2/bin/lib/libQtUiTools.a&#39;,<br>
needed by `libGUIMyPlugin.so&#39;.  Stop.<br>
make[1]: *** [CMakeFiles/GUIMyPlugin.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
I have never specified explicit dependence of my plugin on<br>
`/home/kitware/Kitware/ParaView-3.8.1/Support/qt-4.6.2/bin/lib/libQtUiTools.<br>
<br>
Am I doing something wrong?<br>
<br>
Best regards,<br>
<br>
<br>
Dr. Alexey Baranov<br>
<br>
Max Planck Institute for Chemical Physics of Solids<br>
Noethnitzer Str. 40<br>
01187 Dresden, Germany<br>
<br>
Tel.:  +49-(0)351-4646-4320<br>
Fax:  +49-(0)351-4646-3002<br>
_______________________________________________<br>
Powered <a href="http://bywww.kitware.com" target="_blank">bywww.kitware.com</a><br>
<br>
Visit other Kitware open-source projects athttp://<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at:<a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
     <br>
</blockquote>
_______________________________________________<br>
Powered <a href="http://bywww.kitware.com" target="_blank">bywww.kitware.com</a><br>
<br>
Visit other Kitware open-source projects athttp://<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at:<a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
   <br>
</blockquote>
<br>
-- <br>
<br>
Felipe Bordeu Weldt<br>
Ingénieur de Recherche<br>
-------------------------------------<br>
Tél. : 33 (0)2 40 37 16 57<br>
Fax. : 33 (0)2 40 74 74 06<br>
<a href="mailto:Felipe.Bordeu@ec-nantes.fr" target="_blank">Felipe.Bordeu@ec-nantes.fr</a><br>
Intitut GeM - UMR CNRS 6183<br>
École Centrale de Nantes<br>
1 Rue de La Noë, 44321 Nantes, FRANCE<br>
-------------------------------------<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div></div>