Just to eliminate some linker warnings, it would be fantastic if the pdbs were included as well for the mt/md .lib builds in Newton.
Thanks!
Moderators: Sascha Willems, walaber
thedmd wrote:I do not know a method of merging PDB files. Maybe there is such tool in Visual Studio, but I do not know it.
Each time it creates an OBJ file, the C/C++ compiler merges debug information into VCx0.PDB. The inserted information includes type information but does not include symbol information such as function definitions. So, even if every source file includes common header files such as <windows.h>, the typedefs from those headers are stored only once, rather than being in every OBJ file.
3>Linking...
3>LINK : Win32/newton/debug_2009_dll\newton_d.dll not found or not built by the last incremental link; performing full link
3> Creating library Win32/newton/debug_2009_dll/newton_d.lib and object Win32/newton/debug_2009_dll/newton_d.exp
3>physics.lib(dgBallConstraint.obj) : warning LNK4204: 'c:\newton_200\3dlib\tools\newton\project_vs2008\win32\newton\debug_2009_dll\newton_d.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>physics.lib(dgBilateralConstraint.obj) : warning LNK4204: 'c:\newton_200\3dlib\tools\newton\project_vs2008\win32\newton\debug_2009_dll\newton_d.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>physics.lib(dgConstraint.obj) : warning LNK4204: 'c:\newton_200\3dlib\tools\newton\project_vs2008\win32\newton\debug_2009_dll\newton_d.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>physics.lib(dgContact.obj) : warning LNK4204: 'c:\newton_200\3dlib\tools\newton\project_vs2008\win32\newton\debug_2009_dll\newton_d.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>physics.lib(dgCorkscrewConstraint.obj) : warning LNK4204: 'c:\newton_200\3dlib\tools\newton\project_vs2008\win32\newton\debug_2009_dll\newton_d.pdb' is missing debugging information for referencing module; linking object as if no debug info
...
...
Linker Tools Warning LNK4204
Visual Studio 2010 Other Versions Visual Studio 2008 Visual Studio 2005 Visual Studio .NET 2003
'filename' is missing debugging information for referencing module; linking object as if no debug info
The .pdb file has an erroneous signature. The linker will continue to link the object without debug information. You may want to recompile the object file using the /Zi option.
LNK4204 can occur if some of the objects in the library refer to a file that no longer exists. This could happen when rebuilding the solution, for example; an object file might be deleted and not rebuilt because of a compilation error. In this case, either compile with /Z7, or /Fd, to update the objects to refer to a single file per-library (that is not the default .pdb file name). For more information, see /Fd (Program Database File Name). Ensure that the .pdb is saved with the library every time it is updated in the source control system.
Users browsing this forum: No registered users and 1 guest