It looks the compiler included system HDF5 headers even though VTK_USE_SYSTEM_HDF5 is disabled. Then, at link time it doesn't link the system HDF5 libraries because VTK_USE_SYSTEM_HDF5 if off. You could try running cmake in the build dir and setting VTK_USE_SYSTEM_HDF5 to OFF.<br>
<br>I think this might be caused by a tricky a bug in VTK's cmake scripts. I guess CMake would need to add -IVTK/Utilities/vtkhdf5 before -I/opt/local/include when system hdf5 is off.<br><br>Pat<br><br><div class="gmail_quote">
On Thu, Oct 11, 2012 at 3:46 PM, Brickle Macho <span dir="ltr"><<a href="mailto:bricklemacho@gmail.com" target="_blank">bricklemacho@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am trying to build ParaView on my MacBook and I am getting a list of undefined symbols. Below is the first of about 35+ similar errors. For info all of the required supporting packages were installed by Macports. I downloaded ParaView-3.14.1-Source from the website and created a separate build directory. I received a that I was running Qt 4.8.3 whereas the officially supported version is Qt 4.6.<br>
<br>
In case it is related, I had an earlier problem where during compiling the generated makefile was expecting some Qt file under files in /opt/local/lib/Resources/... whereas they were in /opt/local/Library/Frameworks/<u></u>QtGui.framework/Versions/4/<u></u>Resources/... I resolved this by creating a symbolic link in /opt/local/lib<br>
<br>
Not sure where to start to solve the problem. Any help appreciated.<br>
<br>
Regards,<br>
<br>
Michael.<br>
--<br>
<br>
------- Linking problem below ---------------<br>
<br>
[ 75%] Built target vtkPVVTKExtensionsCS<br>
Linking CXX executable ../../../bin/<u></u>ParaViewCoreVTKExtensionsPrint<u></u>Self<br>
Undefined symbols for architecture x86_64:<br>
"_H5check_version", referenced from:<br>
vtkEnzoReaderInternal::<u></u>GetAttributeNames() in libvtkPVVTKExtensions.a(<u></u>vtkEnzoReader.cxx.o)<br>
vtkEnzoReader::LoadAttribute(<u></u>char const*, int)in libvtkPVVTKExtensions.a(<u></u>vtkEnzoReader.cxx.o)<br>
vtkEnzoReader::GetParticles(<u></u>int, vtkPolyData*, int, int)in libvtkPVVTKExtensions.a(<u></u>vtkEnzoReader.cxx.o)<br>
vtkFlashReaderInternal::<u></u>ReadMetaData() in libvtkPVVTKExtensions.a(<u></u>vtkFlashReader.cxx.o)<br>
vtkFlashReaderInternal::<u></u>GetTime() in libvtkPVVTKExtensions.a(<u></u>vtkFlashReader.cxx.o)<br>
vtkFlashReaderInternal::<u></u>GetCycle() in libvtkPVVTKExtensions.a(<u></u>vtkFlashReader.cxx.o)<br>
(maybe you meant: _vtk__H5check_version)<br>
______________________________<u></u>_________________<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/<u></u>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/<u></u>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/<u></u>mailman/listinfo/paraview</a><br>
</blockquote></div><br>