<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I uninstalled HDF5 and it builds.<br>
<br>
Thanks for the help.<br>
<br>
Michael.<br>
--<br>
<br>
On 12/10/12 9:02 AM, Pat Marion wrote:<br>
</div>
<blockquote
cite="mid:CAMetC=Ru-B2jpDfHb4iMVhHC04YgGZgsBYj6j8zMRxUGUvGy=Q@mail.gmail.com"
type="cite">I think this is exactly the same problem that I've
seen on all mac platforms where HDF5 is installed from macports.
You can either uninstall hdf5 from macports, or you need to feed
even more detailed information to paraview. You can edit the
CMakeCache.txt file in the paraview build directory and put this:<br>
<br>
VTK_USE_SYSTEM_HDF5:BOOL=ON<br>
HDF5_INCLUDE_DIR=/opt/local/include<br>
HDF5_INCLUDE_DIRS=/opt/local/include<br>
HDF5_LIBRARIES=/opt/local/lib/libhdf5.dylib;/opt/local/lib/libhdf5_cpp.dylib<br>
<br>
<br>
Mike, I think that the problem is that with
VTK_USE_SYSTEM_HDF5=OFF, vtk will build its own hdf5, but some
conflicting hdf5 headers from the system install under
/opt/local/include sneak in, and cause link errors.<br>
<br>
Pat<br>
<br>
<div class="gmail_quote">On Thu, Oct 11, 2012 at 9:00 PM, Michael
Jackson <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">do a "make
VERBOSE=1" and you can see exactly what the compiler is being
sent as far as -I include directories. I would say that
something is missing either in your HDF5 installation, or an
HDF5 include path is not being found.<br>
<br>
Doesn't VTK come with HDF5 at this point? Why not just let VTK
build its own.<br>
___________________________________________________________<br>
Mike Jackson Principal Software Engineer<br>
BlueQuartz Software Dayton, Ohio<br>
<a moz-do-not-send="true"
href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>
<a moz-do-not-send="true"
href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
<div class="HOEnZb">
<div class="h5"><br>
On Oct 11, 2012, at 7:50 PM, Brickle Macho wrote:<br>
<br>
> Thanks to both for your quick response.<br>
><br>
> From a clean/new build directory I tried your
suggestion of -DVTK_USE_SYSTEM_HDF5=ON I received a
different error (fragment below), which looks like it not
finding some HDF5 headers.<br>
><br>
> I will keep investigating. Obviously something
strange about my setup or use of Macports.<br>
><br>
> Thanks again.<br>
><br>
> Michael.<br>
><br>
><br>
> ------------ new error<br>
> Linking CXX executable ../../../../bin/ChartsCxxTests<br>
> [ 34%] Built target ChartsCxxTests<br>
> Scanning dependencies of target Xdmf<br>
> [ 34%] Building CXX object
Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.cxx.o<br>
> In file included from
/Users/michael/PhD/ExistingSoftware/ParaView-3.14.1-Source/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:29,<br>
> from
/Users/michael/PhD/ExistingSoftware/ParaView-3.14.1-Source/Utilities/Xdmf2/libsrc/XdmfArray.h:28,<br>
> from
/Users/michael/PhD/ExistingSoftware/ParaView-3.14.1-Source/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25:<br>
>
/Users/michael/PhD/ExistingSoftware/ParaView-3.14.1-Source/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:30:22:
error: H5public.h: No such file or directory<br>
>
/Users/michael/PhD/ExistingSoftware/ParaView-3.14.1-Source/Utilities/Xdmf2/libsrc/XdmfHDFSupport.h:36:18:
error: hdf5.h: No such file or directory<br>
><br>
><br>
> On 12/10/12 4:03 AM, Pat Marion wrote:<br>
>> Oops, I meant to say you should set
VTK_USE_SYSTEM_HDF5 to ON.<br>
>><br>
>> Pat<br>
>><br>
>> On Thu, Oct 11, 2012 at 4:02 PM, Pat Marion <<a
moz-do-not-send="true"
href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>>
wrote:<br>
>> 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>
>><br>
>> On Thu, Oct 11, 2012 at 3:46 PM, Brickle Macho
<<a moz-do-not-send="true"
href="mailto:bricklemacho@gmail.com">bricklemacho@gmail.com</a>>
wrote:<br>
>> 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/QtGui.framework/Versions/4/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/ParaViewCoreVTKExtensionsPrintSelf<br>
>> Undefined symbols for architecture x86_64:<br>
>> "_H5check_version", referenced from:<br>
>> vtkEnzoReaderInternal::GetAttributeNames()
in libvtkPVVTKExtensions.a(vtkEnzoReader.cxx.o)<br>
>> vtkEnzoReader::LoadAttribute(char const*,
int)in libvtkPVVTKExtensions.a(vtkEnzoReader.cxx.o)<br>
>> vtkEnzoReader::GetParticles(int,
vtkPolyData*, int, int)in
libvtkPVVTKExtensions.a(vtkEnzoReader.cxx.o)<br>
>> vtkFlashReaderInternal::ReadMetaData()
in libvtkPVVTKExtensions.a(vtkFlashReader.cxx.o)<br>
>> vtkFlashReaderInternal::GetTime() in
libvtkPVVTKExtensions.a(vtkFlashReader.cxx.o)<br>
>> vtkFlashReaderInternal::GetCycle() in
libvtkPVVTKExtensions.a(vtkFlashReader.cxx.o)<br>
>> (maybe you meant: _vtk__H5check_version)<br>
>> _______________________________________________<br>
>> Powered by <a moz-do-not-send="true"
href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at <a
moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
>><br>
><br>
> _______________________________________________<br>
> Powered by <a moz-do-not-send="true"
href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a
moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>