[vtk-developers] HDF5-related link error with VTK 5.10
Sean McBride
sean at rogue-research.com
Tue May 15 20:50:06 EDT 2012
On Tue, 15 May 2012 20:42:05 -0400, David E DeMarle said:
>Which symbols specifically?
Lots. All related to NetCDF. Here's the first few:
Undefined symbols for architecture x86_64:
"_vtk__H5Adelete", referenced from:
_NC4_rename_att in libvtkNetCDF.a(nc4attr.c.o)
_NC4_del_att in libvtkNetCDF.a(nc4attr.c.o)
_put_att_grpa in libvtkNetCDF.a(nc4hdf.c.o)
"_vtk__H5check_version", referenced from:
_nc4_create_file in libvtkNetCDF.a(nc4file.c.o)
_nc4_open_file in libvtkNetCDF.a(nc4file.c.o)
>see:
>OPTION(NETCDF_ENABLE_NETCDF4 "Build netcdf version 4 API" ON)
That's what I was looking for, thanks! I think it'll fix my issue.
>> Looking at vtk_libhdf5_mangle.h I see that this line is commented out:
>>
>> //#define H5libhdf5_settings vtk__H5libhdf5_settings
>
>Not I, but it's been that way since at least 2010-12-08, or before 5.8.0.
That explains why if I go back to using 5.8 but add in libvtkhdf5 I get the same link error.
It must be a mistake that that's commented. I'll try uncommenting it...
Thanks!
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtk-developers
mailing list