[vtkusers] error compiling vtk with boost support

David Doria daviddoria+vtk at gmail.com
Fri Apr 9 08:06:45 EDT 2010


On Fri, Apr 9, 2010 at 7:31 AM, Luca Penasa <luca.penasa at email.it> wrote:
> hi everybody,
> i cannot compile vtk with boost support, make said:
>
> Infovis/CMakeFiles/vtkInfovis.dir/vtkBoostBreadthFirstSearch.cxx.o
> /var/tmp/portage/sci-libs/vtk-5.4.2-r1/work/VTK/Infovis/vtkBoostBreadthFirstSearch.cxx:50:41:
> error: boost/vector_property_map.hpp: No such file or directory
> /var/tmp/portage/sci-libs/vtk-5.4.2-r1/work/VTK/Infovis/vtkBoostBiconnectedComponents.cxx:35:41:
> error: boost/vector_property_map.hpp: No such file or directory
> make[2]: ***
> [Infovis/CMakeFiles/vtkInfovis.dir/vtkBoostBreadthFirstSearch.cxx.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: ***
> [Infovis/CMakeFiles/vtkInfovis.dir/vtkBoostBiconnectedComponents.cxx.o]
> Error 1
> /var/tmp/portage/sci-libs/vtk-5.4.2-r1/work/VTK/Infovis/vtkBoostBrandesCentrality.cxx:39:41:
> error: boost/vector_property_map.hpp: No such file or directory
> make[2]: ***
> [Infovis/CMakeFiles/vtkInfovis.dir/vtkBoostBrandesCentrality.cxx.o] Error 1
> make[1]: *** [Infovis/CMakeFiles/vtkInfovis.dir/all] Error 2
> make: *** [all] Error 2
>
>
> i have boost 1.42 installed
>
> the same problem if i try to compile paraview with boost support
>
> anybody had the same problem??

I think some operating systems make you install boost packages a
little bit separately. Can you try

sudo yum install boost*

or something like that to see if you can get all the parts of boost installed.

If that doesn't work,

sudo find / -name vector_property_map.hpp

If you really don't have this file, then you need to check with the
Boost folks or your OS folks to see how to get it installed properly.
You could always build it from source and tell VTK where to find it.

Thanks,

David



More information about the vtkusers mailing list