<div dir="ltr">Can you try adding a <font face="arial, sans-serif">/Z7 to VTK's compiler flags and see if this is OK for your use?</font><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">See: </font><a href="http://msdn.microsoft.com/en-us/library/958x11bc.aspx">http://msdn.microsoft.com/en-us/library/958x11bc.aspx</a></div>

<div><br></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Thu, Jan 16, 2014 at 4:49 AM, ianl <span dir="ltr"><<a href="mailto:ilindsay@insigniamedical.co.uk" target="_blank">ilindsay@insigniamedical.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello all,<br>
<br>
I have an issue with the Visual Studio 2012 (VS11) build of VTK 6.1 RC1. We<br>
are doing both 32 and 64 bit builds, with BUILD_SHARED_LIBS turned off (i.e.<br>
set to build static libraries).<br>
<br>
It would appear that the INSTALL project does not copy the Visual Studio<br>
Program Database (.PDB) files for the debug builds (32 bit and 64 bit). This<br>
results in a large number of build warnings when building projects using<br>
VTK. I believe this has been the case for some time (there is even a call<br>
open on Mantis - 12005 from a while ago, but this was never addressed). In<br>
the past, I have been able to get away with just copying the .PDB files into<br>
the install directory alongside the .lib files. This no longer seems to work<br>
for me as I get a large number of warnings relating to vc110.pdb:<br>
<br>
1>vtkCommonCore-6.1.lib(vtkAbstractArray.obj) : warning LNK4099: PDB<br>
'vc110.pdb' was not found with<br>
'vtkCommonCore-6.1.lib(vtkAbstractArray.obj)'; linking object as if no debug<br>
info<br>
1>vtkCommonCore-6.1.lib(vtkArrayCoordinates.obj) : warning LNK4099: PDB<br>
'vc110.pdb' was not found with<br>
'vtkCommonCore-6.1.lib(vtkArrayCoordinates.obj)'; linking object as if no<br>
debug info<br>
<br>
...etc. for several pages.<br>
<br>
I have tried not copying the .PDB files at all - interestingly, this results<br>
in no warnings for ITK which we also use, but quite a large number of<br>
warnings for VTK (as you would probably expect as it is a debug build). I<br>
also tried finding the vc110.pdb file manually, but it is actually in<br>
several sub directories under the build and each version is different with<br>
the same file name, so I gave up on that avenue of investigation.<br>
<br>
I have not yet tried this with the RC2 version which has just come out, but<br>
there does not seem to be any mention of a fix for this specific issue.<br>
<br>
Any help would be very much appreciated as a large number of warnings can<br>
hide potentially more important issues. I am reluctant to just turn the<br>
warning off as this seems like hiding the issue and may hide things that we<br>
should be fixing at our end.<br>
<br>
Thanks<br>
Ian Lindsay<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-6-1-RC1-and-PDB-files-tp5725438.html" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-6-1-RC1-and-PDB-files-tp5725438.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>