[Paraview] compile error paraview 3.10 with libvtkhdf5

Eelco van Vliet eelcovv at gmail.com
Thu Feb 3 11:24:10 EST 2011


Unfortunately this does noet work, I got all kind of error message that it
can not find HDF include directory etc. Since I am not administrator I can
not install it in the default directories. I tried to compile the hdf lib
myself, but this didn't work as well. Beside, hdf is delivered by the
distribution right ?
Well, if there is any other suggesting ?  I am now trying with
VTK_USE_SYSTEM_HDF5 = 0 again

The error message I got now ]
  1%] Built target H5make_libsettings
Linking C shared library ../../../../bin/libvtkhdf5.so
CMakeFiles/vtkhdf5.dir/H5checksum.c.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
CMakeFiles/vtkhdf5.dir/H5.c.o:/usr/include/sys/sysmacros.h:43: first defined
here
CMakeFiles/vtkhdf5.dir/H5checksum.c.o: In function `gnu_dev_minor':
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'
CMakeFiles/vtkhdf5.dir/H5.c.o:/usr/include/sys/sysmacros.h:49: first defined
here
CMakeFiles/vtkhdf5.dir/H5checksum.c.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:55: multiple definition of `gnu_dev_makedev'
CMakeFiles/vtkhdf5.dir/H5.c.o:/usr/include/sys/sysmacros.h:55: first defined
here
CMakeFiles/vtkhdf5.dir/H5checksum.c.o: In function `stat':
 etc
CMakeFiles/vtkhdf5.dir/__/H5Tinit.c.o: In function `mknod':
/usr/include/sys/stat.h:465: multiple definition of `mknod'
CMakeFiles/vtkhdf5.dir/H5.c.o:/usr/include/sys/stat.h:465: first defined
here
collect2: ld returned 1 exit status
make[2]: *** [bin/libvtkhdf5.so.1.8.5] Error 1
make[1]: *** [VTK/Utilities/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/all] Error 2
make: *** [all] Error 2



Regards
Eelco


On Thu, Feb 3, 2011 at 4:28 PM, David Partyka <david.partyka at kitware.com>wrote:

> Sorry yes, libhdf5 is what you can try with VTK_USE_SYSTEM_HDF5.
>
>
> On Thu, Feb 3, 2011 at 10:07 AM, Eelco van Vliet <eelcovv at gmail.com>wrote:
>
>> Mmm,
>>
>> I can't find libvtkhdf, but only
>>
>> /usr/lib64/libhdf5.so.6.0.1
>>
>> Is this the same ?
>>
>>
>>
>> On Thu, Feb 3, 2011 at 4:04 PM, Eelco van Vliet <eelcovv at gmail.com>wrote:
>>
>>> Hi David,
>>>
>>> Distro: Scientific Linux SL release 5.2 (Boron) 64-bit version
>>> GCC: gcc (OpenFOAM) 4.3.3
>>>
>>> I don't know where I can find libvtkhdf. Should I build it myself. Where
>>> can I get it ?
>>>
>>> Regards,
>>>
>>> Eelco
>>>
>>>
>>> On Thu, Feb 3, 2011 at 2:53 PM, David Partyka <david.partyka at kitware.com
>>> > wrote:
>>>
>>>> That is strange, can you tell us what distro/gcc version you're using?
>>>> You can't turn hdf5 off but you could install your distros hdf5/build it
>>>> yourself and then turn on VTK_USE_SYSTEM_HDF5.
>>>>
>>>>  On Thu, Feb 3, 2011 at 8:41 AM, Eelco van Vliet <eelcovv at gmail.com>wrote:
>>>>
>>>>>  Dear all.
>>>>>
>>>>> I have been trying to compile the new 3.10 paraview source under my
>>>>> linux system, but got the following complaint:
>>>>>
>>>>> Linking C shared library ../../../../bin/libvtkhdf5.so
>>>>> CMakeFiles/vtkhdf5.dir/H5checksum.c.o: In function `gnu_dev_major':
>>>>>
>>>>> And from there many more errors related to the libvtkhdf5 library. Any
>>>>> other people who have experienced this error ? Do I need hdf5? Can I switch
>>>>> it off ?
>>>>> Any hints appreciated.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Eelco
>>>>>
>>>>> _______________________________________________
>>>>> Powered by www.kitware.com
>>>>>
>>>>> Visit other Kitware open-source projects at
>>>>> http://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
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110203/cf27d867/attachment-0001.htm>


More information about the ParaView mailing list