Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Linker warnings  (Read 1497 times)

0 Members and 1 Guest are viewing this topic.

flachead

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
Linker warnings
« 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)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Linker warnings
« Reply #1 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.
Laurent Gomila - SFML developer

flachead

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
Re: Linker warnings
« Reply #2 on: March 03, 2013, 06:15:32 pm »
Ah ok, good to know everything is ok :)

Thanks for the reply!

 

anything