<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>
      &nbsp;<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.&nbsp;
      You can either uninstall hdf5 from macports, or you need to feed
      even more detailed information to paraview.&nbsp; 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">&lt;<a moz-do-not-send="true"
            href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>&gt;</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 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Principal Software Engineer<br>
          BlueQuartz Software &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dayton, Ohio<br>
          <a moz-do-not-send="true"
            href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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>
              &gt; Thanks to both for your quick response.<br>
              &gt;<br>
              &gt; From a clean/new build directory I tried your
              suggestion of -DVTK_USE_SYSTEM_HDF5=ON &nbsp; I received a
              different error (fragment below), which looks like it not
              finding some HDF5 headers.<br>
              &gt;<br>
              &gt; I will keep investigating. &nbsp;Obviously something
              strange about my setup or use of Macports.<br>
              &gt;<br>
              &gt; Thanks again.<br>
              &gt;<br>
              &gt; Michael.<br>
              &gt;<br>
              &gt;<br>
              &gt; ------------ new error<br>
              &gt; Linking CXX executable ../../../../bin/ChartsCxxTests<br>
              &gt; [ 34%] Built target ChartsCxxTests<br>
              &gt; Scanning dependencies of target Xdmf<br>
              &gt; [ 34%] Building CXX object
              Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.cxx.o<br>
              &gt; In file included from
/Users/michael/PhD/ExistingSoftware/ParaView-3.14.1-Source/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:29,<br>
              &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from
/Users/michael/PhD/ExistingSoftware/ParaView-3.14.1-Source/Utilities/Xdmf2/libsrc/XdmfArray.h:28,<br>
              &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from
/Users/michael/PhD/ExistingSoftware/ParaView-3.14.1-Source/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25:<br>
              &gt;
              /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>
              &gt;
              /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>
              &gt;<br>
              &gt;<br>
              &gt; On 12/10/12 4:03 AM, Pat Marion wrote:<br>
              &gt;&gt; Oops, I meant to say you should set
              VTK_USE_SYSTEM_HDF5 to ON.<br>
              &gt;&gt;<br>
              &gt;&gt; Pat<br>
              &gt;&gt;<br>
              &gt;&gt; On Thu, Oct 11, 2012 at 4:02 PM, Pat Marion &lt;<a
                moz-do-not-send="true"
                href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>&gt;
              wrote:<br>
              &gt;&gt; It looks the compiler included system HDF5
              headers even though VTK_USE_SYSTEM_HDF5 is disabled.
              &nbsp;Then, at link time it doesn't link the system HDF5
              libraries because VTK_USE_SYSTEM_HDF5 if off. &nbsp;You could
              try running cmake in the build dir and setting
              VTK_USE_SYSTEM_HDF5 to OFF.<br>
              &gt;&gt;<br>
              &gt;&gt; I think this might be caused by a tricky a bug in
              VTK's cmake scripts. &nbsp;I guess CMake would need to add
              -IVTK/Utilities/vtkhdf5 before -I/opt/local/include when
              system hdf5 is off.<br>
              &gt;&gt;<br>
              &gt;&gt; Pat<br>
              &gt;&gt;<br>
              &gt;&gt;<br>
              &gt;&gt; On Thu, Oct 11, 2012 at 3:46 PM, Brickle Macho
              &lt;<a moz-do-not-send="true"
                href="mailto:bricklemacho@gmail.com">bricklemacho@gmail.com</a>&gt;
              wrote:<br>
              &gt;&gt; Hi,<br>
              &gt;&gt;<br>
              &gt;&gt; I am trying to build ParaView on my MacBook and I
              am getting a list of undefined symbols. &nbsp;Below is the
              first of about 35+ similar errors. &nbsp;For info all of the
              required supporting packages were installed by Macports. &nbsp;
              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>
              &gt;&gt;<br>
              &gt;&gt; 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>
              &gt;&gt;<br>
              &gt;&gt; Not sure where to start to solve the problem. Any
              help appreciated.<br>
              &gt;&gt;<br>
              &gt;&gt; Regards,<br>
              &gt;&gt;<br>
              &gt;&gt; Michael.<br>
              &gt;&gt; --<br>
              &gt;&gt;<br>
              &gt;&gt; ------- Linking problem below ---------------<br>
              &gt;&gt;<br>
              &gt;&gt; [ 75%] Built target vtkPVVTKExtensionsCS<br>
              &gt;&gt; Linking CXX executable
              ../../../bin/ParaViewCoreVTKExtensionsPrintSelf<br>
              &gt;&gt; Undefined symbols for architecture x86_64:<br>
              &gt;&gt; &nbsp; "_H5check_version", referenced from:<br>
              &gt;&gt; &nbsp; &nbsp; &nbsp; vtkEnzoReaderInternal::GetAttributeNames()
              &nbsp; &nbsp; &nbsp; in libvtkPVVTKExtensions.a(vtkEnzoReader.cxx.o)<br>
              &gt;&gt; &nbsp; &nbsp; &nbsp; vtkEnzoReader::LoadAttribute(char const*,
              int)in libvtkPVVTKExtensions.a(vtkEnzoReader.cxx.o)<br>
              &gt;&gt; &nbsp; &nbsp; &nbsp; vtkEnzoReader::GetParticles(int,
              vtkPolyData*, int, int)in
              libvtkPVVTKExtensions.a(vtkEnzoReader.cxx.o)<br>
              &gt;&gt; &nbsp; &nbsp; &nbsp; vtkFlashReaderInternal::ReadMetaData() &nbsp; &nbsp;
              &nbsp; in libvtkPVVTKExtensions.a(vtkFlashReader.cxx.o)<br>
              &gt;&gt; &nbsp; &nbsp; &nbsp; vtkFlashReaderInternal::GetTime() &nbsp; &nbsp; &nbsp;in
              libvtkPVVTKExtensions.a(vtkFlashReader.cxx.o)<br>
              &gt;&gt; &nbsp; &nbsp; &nbsp; vtkFlashReaderInternal::GetCycle() &nbsp; &nbsp; &nbsp;in
              libvtkPVVTKExtensions.a(vtkFlashReader.cxx.o)<br>
              &gt;&gt; &nbsp; &nbsp; &nbsp;(maybe you meant: _vtk__H5check_version)<br>
              &gt;&gt; _______________________________________________<br>
              &gt;&gt; Powered by <a moz-do-not-send="true"
                href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
              &gt;&gt;<br>
              &gt;&gt; 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>
              &gt;&gt;<br>
              &gt;&gt; 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>
              &gt;&gt;<br>
              &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
              &gt;&gt; <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>
              &gt;&gt;<br>
              &gt;&gt;<br>
              &gt;<br>
              &gt; _______________________________________________<br>
              &gt; Powered by <a moz-do-not-send="true"
                href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
              &gt;<br>
              &gt; 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>
              &gt;<br>
              &gt; 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>
              &gt;<br>
              &gt; Follow this link to subscribe/unsubscribe:<br>
              &gt; <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>