[Paraview] Buggy development package?

Michael Wild themiwi at gmail.com
Wed Jul 7 02:43:16 EDT 2010


Hi all

I wanted to give the new development package (ParaView-Development-3.8.0-Darwin-x86_64.tar.gz) a try and use it to compile a plugin on my Mac. However, it seems that lib/paraview-3.8/CMake/ParaViewLibraryDepends.cmake contains XXX_LIB_DEPENDS variables referencing libraries from the custom Qt installation used to build the package (/Users/partyd/Dashboards/Support/qt-4.6.2-MacOSX10.5). Of course, none of those Qt libraries can be found...

As a hack I just unset the offending pqComponents_LIB_DEPENDS and vtkPVServerManager_LIB_DEPENDS variables after including PARAVIEW_USE_FILE. But I suspect this might fail on some operating systems.

Currently I have no idea how this could be fixed in a good way, since these entries are auto-created by CMake. Perhaps one way would be wrapping TARGET_LINK_LIBRARIES in a custom function that explicitly sets the LINK_INTERFACE_LIBRARIES property, replacing Qt libraries by "\${QT_LIBRARIES}", suitably escaped such that it ends up as ${QT_LIBRARIES} in the ParaViewLibraryDepends.cmake file, expanding to the users installation of Qt when it is included.

Michael


More information about the ParaView mailing list