I statically bind SFML2.3to my application. When you communicate in debug mode, I get a huge wall of warnings, and they are all like this:
1>sfml-graphics-s-d.lib(View.obj) : warning LNK4204: 'D:\DATA\Libraries\Programming\SFML Projects\SimpleAdventure\Debug\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
But for different objects in different SFML modules.
I compiled SFML, in the folder lib/debugthere is pdb for each of lib. I also tried to copy them to the project exit path, but the result is the same. I can not find information on how to process it correctly. I do not want to compile my project without debugging information, as suggested somewhere, but I do not need these libraries.
Disabling an alert using /ignore:4204does not work either due to the fact that for some reason not ignored alerts are for any reason.
Any insight would be appreciated!
EDIT I ended up recompiling all the libraries marked with warnings with Z7 how to embed debugging information in the libraries themselves. This eliminated all warnings. But I still don't understand why individual pdb was a problem all of a sudden.
source
share