[Paraview] MacOSX Linking problems

Pat Marion pat.marion at kitware.com
Thu Oct 11 16:02:57 EDT 2012


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.

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.

Pat

On Thu, Oct 11, 2012 at 3:46 PM, Brickle Macho <bricklemacho at gmail.com>wrote:

> Hi,
>
> 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.
>
> 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
>
> Not sure where to start to solve the problem. Any help appreciated.
>
> Regards,
>
> Michael.
> --
>
> ------- Linking problem below ---------------
>
> [ 75%] Built target vtkPVVTKExtensionsCS
> Linking CXX executable ../../../bin/**ParaViewCoreVTKExtensionsPrint**Self
> Undefined symbols for architecture x86_64:
>   "_H5check_version", referenced from:
>       vtkEnzoReaderInternal::**GetAttributeNames()       in
> libvtkPVVTKExtensions.a(**vtkEnzoReader.cxx.o)
>       vtkEnzoReader::LoadAttribute(**char const*, int)in
> libvtkPVVTKExtensions.a(**vtkEnzoReader.cxx.o)
>       vtkEnzoReader::GetParticles(**int, vtkPolyData*, int, int)in
> libvtkPVVTKExtensions.a(**vtkEnzoReader.cxx.o)
>       vtkFlashReaderInternal::**ReadMetaData()       in
> libvtkPVVTKExtensions.a(**vtkFlashReader.cxx.o)
>       vtkFlashReaderInternal::**GetTime()      in libvtkPVVTKExtensions.a(
> **vtkFlashReader.cxx.o)
>       vtkFlashReaderInternal::**GetCycle()      in
> libvtkPVVTKExtensions.a(**vtkFlashReader.cxx.o)
>      (maybe you meant: _vtk__H5check_version)
> ______________________________**_________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/**ParaView <http://paraview.org/Wiki/ParaView>
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/**mailman/listinfo/paraview<http://www.paraview.org/mailman/listinfo/paraview>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121011/c01e6d13/attachment.htm>


More information about the ParaView mailing list