[Paraview] ParaView 3.8.1 Available for download
Sven Buijssen
sven.buijssen at tu-dortmund.de
Thu Oct 7 13:11:05 EDT 2010
Hi Felipe,
According to http://www.paraview.org/Wiki/ParaView_Binaries ParaView 3.8.1 64bit
has been built on Debian Etch 4.0r8 using GCC 4.1.2. Your Ubuntu 10.04 64bit
ships with GCC 4.4.3. You should avoid using a newer GCC release for your plugin
or the plugin will most likely not work with PV 3.8.1 on older distributions.
Try to install the lucid packages gcc-4.1 and g++-4.1 and add the following
options to the cmake command line
-DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc-4.1 \
-DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-4.1
Set LD_LIBRARY_PATH as you did, too.
Or - but that's a lot more work and probably overkill - set up a virtual machine
and install Debian Etch 4.0r8 in it in case you want to be really sure that your
plugin works on any host where PV 3.8.1 x86_64 runs and you plan to pass it to
others.
Sven
Felipe Bordeu wrote, On 07.10.2010 18:53:
> I have a problem too. Help please to see if I am doing something wrong.
>
> using (uname -a)
> Linux pc-lmm29 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010
> x86_64 GNU/Linux
>
> I installed the
>
> ParaView-Development-3.8.1-Linux-x86_64/bin/* ----> /usr/bin/.
> ParaView-Development-3.8.1-Linux-x86_64/include/paraview-3.8/* ---->
> /usr/include/paraview-3.8/*
> ParaView-Development-3.8.1-Linux-x86_64/lib/paraview-3.8/* ---->
> /usr/lib/paraview-3.8/
>
> then I configure my plugging with
>
> FIND_PACKAGE(ParaView REQUIRED PATHS /usr/lib/paraview-3.8)
>
> and when do make ...
>>make
> [ 5%] Generating moc_PGDReader_Plugin.cxx
> [ 10%] Generating vtkPGDReaderClientServer.cxx
> [ 15%] Generating qrc_PGDReader.cxx
> [ 20%] Generating vtkSMXML_PGDReader.h
> /usr/bin/kwProcessXML: error while loading shared libraries:
> libvtkCommon.so.pv3.8: cannot open shared object file: No such file or directory
> make[2]: *** [vtkSMXML_PGDReader.h] Erreur 127
> make[1]: *** [CMakeFiles/PGDReader.dir/all] Erreur 2
> make: *** [all] Erreur 2
>
> if I do ldd /usr/bin/kwProcessXML I get :
>>ldd /usr/bin/kwProcessXML
> linux-vdso.so.1 => (0x00007fffe55ff000)
> libvtkCommon.so.pv3.8 => not found
> libvtksys.so.pv3.8 => not found
> libdl.so.2 => /lib/libdl.so.2 (0x00007f9a2d42a000)
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f9a2d116000)
> libm.so.6 => /lib/libm.so.6 (0x00007f9a2ce93000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f9a2cc7b000)
> libc.so.6 => /lib/libc.so.6 (0x00007f9a2c8f8000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f9a2d655000)
>
> and if I do, export LD_LIBRARY_PATH=/usr/lib/paraview-3.8/
>
> then cmake is broken ... :(
>
>>cmake
> /usr/bin/cmake: /usr/lib/paraview-3.8/libstdc++.so.6: version `GLIBCXX_3.4.11'
> not found (required by /usr/bin/cmake)
> /usr/bin/cmake: /usr/lib/paraview-3.8/libstdc++.so.6: version `GLIBCXX_3.4.9'
> not found (required by /usr/bin/cmake)
>
> Any idea.
>
>
> On 07/10/2010 18:02, Sven Buijssen wrote:
>> Hi Alexey,
>>
>> The dependency is inherited. As stated in the wiki
>> (http://www.paraview.org/Wiki/ParaView:Plugin_Deployment_with_Development_Installs)
>>
>> you'll need to provide your own installation of Qt 4.6.2 - but not necessarily
>> using the path used at Kitware on their build hosts.
>>
>> I typically fix up the Makefiles *every time cmake has been rerun* as follows:
>>
>> * alter the installation path of qt (use something appropriate instead of
>> /path/to/qt/lib !)
>>
>> sed -i -e
>> 's,/home/kitware/.*ParaView-3-.*/Support/qt-4.6.2/bin/lib,/path/to/qt/lib,g' \
>> CMakeFiles/*.dir/build.make \
>> CMakeFiles/*.dir/flags.make \
>> CMakeFiles/*.dir/link.txt
>>
>> * get rid of ffmpeg, hdf5, sz and python dependency (which my plugins do not
>> depend on)
>>
>> sed -i -e '/^lib.*.so: \/home\/kitware\/.*ParaView-3-.*\/Support\//d;' \
>> CMakeFiles/*.dir/build.make
>> sed -i -e 's/ [^ ]*libhdf5.a//; s/ [^ ]*libsz.a//; s/-lpython2.5//;' \
>> CMakeFiles/*.dir/link.txt
>>
>> Hope that helps
>> Sven
>>
>>
>>
>>
>> Alexey I. Baranov wrote, On 07.10.2010 17:14:
>>
>>> Hello All,
>>>
>>> am I the only one who has problems while building plugins with Development
>>> installation? I have downloaded fresh 3.8.1-Dev, unpacked, configured my
>>> plugin with CMake, generated makefile and get after typing make the following:
>>>
>>> make[2]: *** No rule to make target
>>> `/home/kitware/Kitware/ParaView-3.8.1/Support/qt-4.6.2/bin/lib/libQtUiTools.a',
>>> needed by `libGUIMyPlugin.so'. Stop.
>>> make[1]: *** [CMakeFiles/GUIMyPlugin.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>> I have never specified explicit dependence of my plugin on
>>> `/home/kitware/Kitware/ParaView-3.8.1/Support/qt-4.6.2/bin/lib/libQtUiTools.
>>>
>>> Am I doing something wrong?
>>>
>>> Best regards,
>>>
>>>
>>> Dr. Alexey Baranov
>>>
>>> Max Planck Institute for Chemical Physics of Solids
>>> Noethnitzer Str. 40
>>> 01187 Dresden, Germany
>>>
>>> Tel.: +49-(0)351-4646-4320
>>> Fax: +49-(0)351-4646-3002
>>> _______________________________________________
>>> Powered bywww.kitware.com
>>>
>>> Visit other Kitware open-source projects
>>> athttp://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki
>>> at:http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>> _______________________________________________
>> Powered bywww.kitware.com
>>
>> Visit other Kitware open-source projects
>> athttp://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki
>> at:http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
More information about the ParaView
mailing list