[vtk-developers] vtkInfovis and Boost linker error

Nasztanovics Ferenc naszta at naszta.hu
Tue Oct 19 05:36:06 EDT 2010


Hi,

I tried to compile ParaView 3.8.1 with Boost 1.44.  I think the following changes are needed in VTK source:

The following line is needed in the vtkInfovis library's CMakeLists.txt file:

IF(VTK_USE_BOOST)
...
  SET(KIT_LIBS ${KIT_LIBS} ${Boost_LIBRARIES})
...
ENDIF(VTK_USE_BOOST)

and the following lines are needed in VTK root CMakeLists.txt file:

...
  else (VTK_USE_PARALLEL_BGL)
    SET(Boost_ADDITIONAL_VERSIONS "1.44" "1.44.0" "1.40" "1.40.0" "1.39" "1.39.0")
    FIND_PACKAGE(Boost 1.39.0 REQUIRED
                  COMPONENTS serialization)
  endif (VTK_USE_PARALLEL_BGL)
...

Unfortunately FindBoost should modify in CMake, because the beginning of boost library file names are changed.

Cheers,

Naszta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20101019/efb6a263/attachment.html>


More information about the vtk-developers mailing list