<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Does cmake work when you don't set your LD_LIBRARY_PATH? yes<br>
Have you tried prepending your LD_LIBRARY_PATH instead? ther is no
LD_LIBRARY_PATH variable in my env<br>
<br>
finally a erase the /usr/lib/paraview-3.8/libstdc++.so.6 (Alexey idea) <br>
<br>
Thanks<br>
<br>
<br>
On 07/10/2010 19:08, Dave Partyka wrote:
<blockquote
cite="mid:AANLkTika=NUfQz_M90ADdsthp4FSbd56-UieDA-DrPTU@mail.gmail.com"
type="cite">Hi Felipe,
<div><br>
</div>
<div>Does cmake work when you don'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"><<a moz-do-not-send="true"
href="mailto:felipe.bordeu@ec-nantes.fr">felipe.bordeu@ec-nantes.fr</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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/* ----> /usr/bin/.<br>
ParaView-Development-3.8.1-Linux-x86_64/include/paraview-3.8/* ---->
/usr/include/paraview-3.8/*<br>
ParaView-Development-3.8.1-Linux-x86_64/lib/paraview-3.8/* ---->
/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>
>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>
>ldd /usr/bin/kwProcessXML<br>
linux-vdso.so.1 => (0x00007fffe55ff000)<br>
libvtkCommon.so.pv3.8 => not found<br>
libvtksys.so.pv3.8 => not found<br>
libdl.so.2 => /lib/libdl.so.2 (0x00007f9a2d42a000)<br>
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f9a2d116000)<br>
libm.so.6 => /lib/libm.so.6 (0x00007f9a2ce93000)<br>
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f9a2cc7b000)<br>
libc.so.6 => /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>
>cmake<br>
/usr/bin/cmake: /usr/lib/paraview-3.8/libstdc++.so.6: version
`GLIBCXX_3.4.11' not found (required by /usr/bin/cmake)<br>
/usr/bin/cmake: /usr/lib/paraview-3.8/libstdc++.so.6: version
`GLIBCXX_3.4.9' 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Alexey,<br>
<br>
The dependency is inherited. As stated in the wiki<br>
(<a moz-do-not-send="true"
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'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>
's,/home/kitware/.*ParaView-3-.*/Support/qt-4.6.2/bin/lib,/path/to/qt/lib,g'
\<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 '/^lib.*.so: \/home\/kitware\/.*ParaView-3-.*\/Support\//d;' \<br>
CMakeFiles/*.dir/build.make<br>
sed -i -e 's/ [^ ]*libhdf5.a//; s/ [^ ]*libsz.a//; s/-lpython2.5//;' \<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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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',<br>
needed by `libGUIMyPlugin.so'. 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 moz-do-not-send="true" href="http://bywww.kitware.com"
target="_blank">bywww.kitware.com</a><br>
<br>
Visit other Kitware open-source projects athttp://<a
moz-do-not-send="true"
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
moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
_______________________________________________<br>
Powered <a moz-do-not-send="true" href="http://bywww.kitware.com"
target="_blank">bywww.kitware.com</a><br>
<br>
Visit other Kitware open-source projects athttp://<a
moz-do-not-send="true"
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
moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
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 moz-do-not-send="true" 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 moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
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
moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
<a class="moz-txt-link-abbreviated" href="mailto:Felipe.Bordeu@ec-nantes.fr">Felipe.Bordeu@ec-nantes.fr</a>
Intitut GeM - UMR CNRS 6183
École Centrale de Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------</pre>
</body>
</html>