SFML community forums

Help => General => Topic started by: flachead on March 03, 2013, 05:13:13 pm

Title: Linker warnings
Post by: flachead on March 03, 2013, 05:13:13 pm
Hi,

I've been trying to get this set up properly and just can't seem to get it. I followed the tutorial on here to the letter, and tried both static and dynamic configs.

When I use the window.draw function I get this warning first...

Quote
Warning   1   warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library   E:\Visual Studio 2010\Projects\flaccy second\flaccy second\LINK   flaccy second

then 37 of these for system, graphics, window and main (the only ones I linked to in the additional dependencies)  ...

Quote
Warning   2   warning LNK4099: PDB 'sfml-graphics-s-d.pdb' was not found with 'sfml-graphics-s-d.lib(Color.cpp.obj)' or at 'E:\Visual Studio 2010\Projects\flaccy second\Debug\sfml-graphics-s-d.pdb'; linking object as if no debug info   E:\Visual Studio 2010\Projects\flaccy second\flaccy second\sfml-graphics-s-d.lib(Color.cpp.obj)   flaccy second

Everything works and runs OK, just not sure what is conflicting.

I appreciate your time to answer! :)

EDIT: C++, Visual studio 2010, SFML 2.0 RC (latest one)
Title: Re: Linker warnings
Post by: Laurent on March 03, 2013, 06:11:09 pm
Don't worry.

The first one is not relevant and is even fixed in SFML 2.

The second one says that you don't have debugging files for SFML -- which is true because you didn't compile it yourself, and I don't distribute them in the releases.
Title: Re: Linker warnings
Post by: flachead on March 03, 2013, 06:15:32 pm
Ah ok, good to know everything is ok :)

Thanks for the reply!