[vtkusers] Link error when building VTK with boost support in Visual Studio 2010

Jeff Baumes jeff.baumes at kitware.com
Fri Dec 10 11:19:57 EST 2010


Did you turn on VTK_USE_PARALLEL_BGL for processing graphs in parallel? That
is the only reason it should be looking for the serialization library. If
you turn off that flag it should be fine (in case you turned it on
accidentally).

Jeff

On Fri, Dec 10, 2010 at 10:37 AM, Hong Yi <hongyi at renci.org> wrote:

> Hello,
>
>
>
> I am trying to build VTK with boost support in Visual Studio 2010. I
> generated VTK solution/projects successfully using CMake, but when I build
> VTK solution in VS 2010, I got the following link error:
>
>
>
> fatal error LNK1104: cannot open file
> 'libboost_serialization-vc100-mt-gd-1_44.lib'
>
>
>
> I installed boost C++ library (version 1.44) using installer<http://www.boostpro.com/products/free>provided by BoostPro
> Computing <http://www.boostpro.com>. I selected all multi-threaded build
> variants when installing boost.
>
>
>
> I cannot find any useful suggestions by googling to solve this link error
> and hope to get some advice from the list.
>
>
>
> Thanks,
>
>
>
> Hong
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101210/e7200c92/attachment.htm>


More information about the vtkusers mailing list