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

Hong Yi hongyi at renci.org
Fri Dec 10 12:08:58 EST 2010


I did not find VTK_USE_PARALLEL_BGL flag, only find VTK_USE_PARALLEL flag which is turned off. Two relevant flags, VTK_USE_BOOST and VTK_USE_TEXT_ANALYSIS flags, are turned on with VTK_USE_PARALLEL flag off. I am using CMake 2.8.3 and VTK 5.6. Is there an exact flag called VTK_USE_PARALLEL_BGL? I checked a couple of times but could not find it, for some reason...

Many thanks for the info,

Hong

From: Jeff Baumes [mailto:jeff.baumes at kitware.com]
Sent: Friday, December 10, 2010 11:20 AM
To: Hong Yi
Cc: VTK Users
Subject: Re: [vtkusers] Link error when building VTK with boost support in Visual Studio 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<mailto: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<http://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/209fd1af/attachment.htm>


More information about the vtkusers mailing list