<div dir="ltr">Thanks Matt!<div>I am using all systems embedded.</div><div><br></div><div>Anka</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 16, 2014 at 5:39 PM, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Anka,<br>
<br>
Are you using a system HDF5?  The embedded one may work better.<br>
<br>
Thanks,<br>
Matt<br>
<div><div class="h5"><br>
On Wed, Apr 16, 2014 at 2:02 PM, Anka Kochanowska<br>
<<a href="mailto:anka@bic.mni.mcgill.ca">anka@bic.mni.mcgill.ca</a>> wrote:<br>
> Hi!<br>
> I am using Module_ITKIOMINC in my project. When I do not include<br>
> Module_ITKV3Compatibility everything works fine.<br>
> Unfortunately, some parts of my project are using functions from both<br>
> modules.<br>
><br>
> When I build the project with both modules, I am getting linker errors. It<br>
> seems that HDF5 is not linked in.<br>
><br>
> I use:<br>
> cmake 2.8.12.2<br>
> itk 4,.5.1<br>
> gcc 4.6.3<br>
> Ubuntu 12.04<br>
><br>
> Anka<br>
><br>
> The errors are:<br>
><br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(datatype.c.o): In<br>
> function `miget_data_type_size':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/datatype.c:41:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(grpattr.c.o): In<br>
> function `milist_attr_next':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/grpattr.c:188:<br>
> undefined reference to `H5Aiterate1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(grpattr.c.o): In<br>
> function `miget_attr_length':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/grpattr.c:522:<br>
> undefined reference to `H5Aopen_name'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(grpattr.c.o): In<br>
> function `miget_attr_type':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/grpattr.c:621:<br>
> undefined reference to `H5Aopen_name'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(grpattr.c.o): In<br>
> function `miget_attr_values':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/grpattr.c:804:<br>
> undefined reference to `H5Aopen_name'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(grpattr.c.o): In<br>
> function `miset_attr_values':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/grpattr.c:952:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/grpattr.c:963:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(hyper.c.o): In<br>
> function `mirw_hyperslab_raw':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/hyper.c:408:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(hyper.c.o): In<br>
> function `mirw_hyperslab_icv':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/hyper.c:621:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(hyper.c.o): In<br>
> function `mirw_hyperslab_normalized':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/hyper.c:1096:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(m2util.c.o):/export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:298:<br>
> more undefined references to `H5Dopen1' follow<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(m2util.c.o): In<br>
> function `miget_attribute':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:438:<br>
> undefined reference to `H5Aopen_name'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(m2util.c.o): In<br>
> function `minc_update_thumbnail':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:1668:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:1706:<br>
> undefined reference to `H5Dcreate1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:1710:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:1731:<br>
> undefined reference to `H5Dcreate1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:1736:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:1741:<br>
> undefined reference to `H5Dcreate1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:1746:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(m2util.c.o): In<br>
> function `create_dataset':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:1951:<br>
> undefined reference to `H5Dcreate1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(m2util.c.o): In<br>
> function `create_standard_dataset':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:1990:<br>
> undefined reference to `H5Dcreate1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(m2util.c.o): In<br>
> function `miget_scalar':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/m2util.c:2276:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(volprops.c.o): In<br>
> function `miselect_resolution':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volprops.c:267:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volprops.c:274:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volprops.c:280:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(volume.c.o): In<br>
> function `micreate_volume_image':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:292:<br>
> undefined reference to `H5Dcreate1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:346:<br>
> undefined reference to `H5Dcreate1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:346:<br>
> undefined reference to `H5Dcreate1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:360:<br>
> undefined reference to `H5Dcreate1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(volume.c.o): In<br>
> function `micreate_volume':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:664:<br>
> undefined reference to `H5Dcreate1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(volume.c.o):/export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:703:<br>
> more undefined references to `H5Dcreate1' follow<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(volume.c.o): In<br>
> function `miget_volume_voxel_count':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:976:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/itk4.5.1inst/lib/libitk_minc2.a(volume.c.o): In<br>
> function `miopen_volume':<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:1314:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:1348:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:1390:<br>
> undefined reference to `H5Dopen1'<br>
> /export01/anka/itk4.5.1/deb/Modules/ThirdParty/MINC/ITKMINC2_ExternalProject/libsrc2/volume.c:1391:<br>
> undefined reference to `H5Dopen1'<br>
> collect2: ld returned 1 exit status<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
><br>
</blockquote></div><br></div>