Hi (Laurent!)
I have been chasing mem leaks in my program, and in doing so I want to fix this message I get when compiling my app:
defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
This is caused by having different run-time library types in one or more parts of my program (
http://msdn.microsoft.com/en-us/library/Aa267384).
I checked all libraries in use, and they all compile with /MTd for a debug build, and /MT for release.
When you follow those instructions on that MSDN page, you get this:
1>sfml-audio-s-d.lib(AudioDevice.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>libcpmtd.lib(syserror.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>libcpmtd.lib(locale0.obj) : error LNK2019: unresolved external symbol ___security_cookie referenced in function __ehhandler$?_Facet_Register@facet@locale@std@@CAXPAV123@@Z
1>libcpmtd.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>sfml-audio-s-d.lib(SoundBuffer.obj) : error LNK2001: unresolved external symbol ___security_cookie
1>sfml-audio-s-d.lib(SoundSource.obj) : error LNK2001: unresolved external symbol ___security_cookie
For every object file in every SFML library.
Any ideas??