[vtkusers] VTK 6.1 RC1 and .PDB files
David E DeMarle
dave.demarle at kitware.com
Mon Jan 20 15:10:00 EST 2014
Can you try adding a /Z7 to VTK's compiler flags and see if this is OK for
your use?
See: http://msdn.microsoft.com/en-us/library/958x11bc.aspx
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Jan 16, 2014 at 4:49 AM, ianl <ilindsay at insigniamedical.co.uk>wrote:
> Hello all,
>
> I have an issue with the Visual Studio 2012 (VS11) build of VTK 6.1 RC1. We
> are doing both 32 and 64 bit builds, with BUILD_SHARED_LIBS turned off
> (i.e.
> set to build static libraries).
>
> It would appear that the INSTALL project does not copy the Visual Studio
> Program Database (.PDB) files for the debug builds (32 bit and 64 bit).
> This
> results in a large number of build warnings when building projects using
> VTK. I believe this has been the case for some time (there is even a call
> open on Mantis - 12005 from a while ago, but this was never addressed). In
> the past, I have been able to get away with just copying the .PDB files
> into
> the install directory alongside the .lib files. This no longer seems to
> work
> for me as I get a large number of warnings relating to vc110.pdb:
>
> 1>vtkCommonCore-6.1.lib(vtkAbstractArray.obj) : warning LNK4099: PDB
> 'vc110.pdb' was not found with
> 'vtkCommonCore-6.1.lib(vtkAbstractArray.obj)'; linking object as if no
> debug
> info
> 1>vtkCommonCore-6.1.lib(vtkArrayCoordinates.obj) : warning LNK4099: PDB
> 'vc110.pdb' was not found with
> 'vtkCommonCore-6.1.lib(vtkArrayCoordinates.obj)'; linking object as if no
> debug info
>
> ...etc. for several pages.
>
> I have tried not copying the .PDB files at all - interestingly, this
> results
> in no warnings for ITK which we also use, but quite a large number of
> warnings for VTK (as you would probably expect as it is a debug build). I
> also tried finding the vc110.pdb file manually, but it is actually in
> several sub directories under the build and each version is different with
> the same file name, so I gave up on that avenue of investigation.
>
> I have not yet tried this with the RC2 version which has just come out, but
> there does not seem to be any mention of a fix for this specific issue.
>
> Any help would be very much appreciated as a large number of warnings can
> hide potentially more important issues. I am reluctant to just turn the
> warning off as this seems like hiding the issue and may hide things that we
> should be fixing at our end.
>
> Thanks
> Ian Lindsay
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/VTK-6-1-RC1-and-PDB-files-tp5725438.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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/20140120/eb72e93b/attachment.html>
More information about the vtkusers
mailing list