<div>
Hi,
</div><div><br></div><div>1. libvtkhdf5.dylib compiles without errors nor warnings.</div><div><br></div><div>2. VTK_USE_SYSTEM_HDF5 is Off in my config.</div><div><br></div><div>3. Same result: linking error of libvtkPVVTKExtensions.dylib</div><div><br></div><div>4. I already had HDF5 installed via Macports (version 1.8.8). Turning</div><div>VTK_USE_SYSTEM_HDF5 On with the Macports HDF5 library</div><div>configures ok (cmake finds the include dirs and the libs) but it fails</div><div>to compile with the following error:</div>
<div><div><br></div><div><div>[ 30%] Building CXX object Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.cxx.o</div><div>In file included from /usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:29,</div><div> from /usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.h:28,</div><div> from /usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25:</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:30:22: error: H5public.h: No such file or directory</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:36:18: error: hdf5.h: No such file or directory</div><div>In file included from /usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:29,</div><div> from /usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.h:28,</div><div> from /usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25:</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:42: error: 'hid_t' does not name a type</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:43: warning: 'HDF5TypeToXdmfType' initialized and declared 'extern'</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:43: error: 'hid_t' was not declared in this scope</div><div>In file included from /usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.h:28,</div><div> from /usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25:</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:93: error: 'hid_t' has not been declared</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:94: error: 'hid_t' has not been declared</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:163: error: 'hid_t' does not name a type</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:165: error: 'hid_t' does not name a type</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:218: error: 'hid_t' does not name a type</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:219: error: 'hid_t' does not name a type</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:234: error: 'hssize_t' does not name a type</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:236: error: 'hsize_t' does not name a type</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:237: error: 'hsize_t' does not name a type</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h: In member function 'XdmfInt32 XdmfDataDesc::CopyType(XdmfDataDesc*)':</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:89: error: 'class XdmfDataDesc' has no member named 'GetDataType'</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h: In member function 'XdmfInt64 XdmfDataDesc::GetStart(XdmfInt64)':</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:151: error: 'class XdmfDataDesc' has no member named 'Start'</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h: In member function 'XdmfInt64 XdmfDataDesc::GetStride(XdmfInt64)':</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:153: error: 'class XdmfDataDesc' has no member named 'Stride'</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h: In member function 'XdmfInt64 XdmfDataDesc::GetCount(XdmfInt64)':</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:155: error: 'class XdmfDataDesc' has no member named 'Count'</div><div>In file included from /usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25:</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.h: At global scope:</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.h:90: error: 'hid_t' has not been declared</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:384: error: 'XdmfInt32 XdmfArray::CopyShape' is not a static member of 'class XdmfArray'</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:384: error: 'hid_t' was not declared in this scope</div><div>/usr/local/src/ParaView-3.12.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:384: error: expected ',' or ';' before '{' token</div><div>make[2]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.cxx.o] Error 1</div><div>make[1]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/all] Error 2</div><div>make: *** [all] Error 2</div></div><div><br></div><div>5. Bug reported: <a href="http://paraview.org/Bug/view.php?id=12982">http://paraview.org/Bug/view.php?id=12982</a></div><div><br></div><div>Thanks for your quick response.</div><div><br></div><div>Regards,</div><div>Antonio</div><div><br></div><span style="font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: verdana, sans-serif; font-weight: bold; color: rgb(51, 51, 51); font-size: small; "><span style="font-size: xx-small; ">——<br><br></span><span style="color: rgb(102, 102, 102); ">Antonio LaTorre</span></span><br style="color: rgb(0, 0, 0); font-size: 10px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: verdana, sans-serif; "><span style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-size: small; ">CeSViMa - Universidad Politécnica de Madrid</span><br style="color: rgb(0, 0, 0); font-size: 10px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: arial, sans-serif; "><br style="color: rgb(0, 0, 0); font-size: 10px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-family: arial, sans-serif; "><span style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-size: small; "><span style="color: rgb(242, 101, 34); font-family: Arial, Helvetica, Geneva, sans-serif; ">Phone</span><span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica, Geneva, sans-serif; ">: +34 91 452 49 00 ext. 1762</span><br><span style="color: rgb(242, 101, 34); font-family: Arial, Helvetica, Geneva, sans-serif; ">Fax</span><span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica, Geneva, sans-serif; ">: +34 91 336 73 73</span><br><span style="color: rgb(242, 101, 34); font-family: Arial, Helvetica, Geneva, sans-serif; ">e-mail</span><span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica, Geneva, sans-serif; ">: <a href="mailto:atorre@fi.upm.es" target="_blank">atorre@fi.upm.es</a></span></span><span style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-size: xx-small; "><br><span style="font-size: small; "><a href="http://laurel.datsi.fi.upm.es/~atorre" target="_blank" style="text-decoration: underline; "><span style="color: rgb(242, 101, 34); ">http://laurel.datsi.fi.upm.es/~atorre</span></a></span><br><br><span style="font-size: small; ">CeSViMa - Parque Tecnológico UPM</span><br><span style="font-size: small; ">Campus de Montegancedo</span><br><span style="font-size: small; ">28223, Pozuelo de Alarcón, Madrid</span><br><span style="font-size: small; ">España</span></span><div><br></div></div>
<p style="color: #A0A0A8;">On Thursday, March 8, 2012 at 2:55 PM, David E DeMarle wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>It's likely that turning on VTK_USE_BOOST brings in code (like the Enzo and Flash readers) that need features from hdf5 that we don't compile.<div><br></div><div>This is likely a bug. Can you help us resolve it by:</div>
<div><br><div>1) Were there any hdf5 related compilation errors or warnings for you?</div><div>2) What is your setting of VTK_USE_SYSTEM_HDF5?</div><div>3) Try recompiling with VTK_USE_BOOST off.</div><div>4) Try turning VTK_USE_SYSTEM_HDF5 on and point it to a recent HDF5.</div>
<div><br></div><div>5) File a bug report.</div><div><br></div><div><br></div><div>thanks,</div><div><br></div><div><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>
Phone: 518-881-4909<br>
<br><br><div>On Wed, Mar 7, 2012 at 11:22 AM, Antonio LaTorre <span dir="ltr"><<a href="mailto:atorre@fi.upm.es">atorre@fi.upm.es</a>></span> wrote:<br><blockquote type="cite"><div><blockquote type="cite"><div><span><div><div><div><br></div><div><div>I'm completely new to Paraview, but it seems that it is not finding the symbols related to HDF5</div>
<div>when it tries to link the lib. Should I configure something on the CMakeCache to make it find the</div><div>lib with those symbols? Is it a bug of the compilation process?</div><div><br></div><div>FYI, I only changed a couple of vars in CMake: BUILD_SHARED_LIBS = ON and VTK_USE_BOOST = ON.</div>
<div><br></div><div>I'm on MacOS X 10.7 and use Apple's Clang distributed with the latest version of Xcode.</div><div><br></div><div>Regards and thanks in advance for your help.</div></div>
</div></div></span>
</div></blockquote><div>
<br>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a 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 href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></div></blockquote></div><br></div></div></div>
</div></div></span>
</blockquote>
<div>
<br>
</div>