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

Author Topic: Linking Error: LNK4099: PDB  (Read 2710 times)

0 Members and 1 Guest are viewing this topic.

MakaiKing0

  • Newbie
  • *
  • Posts: 9
    • View Profile
Linking Error: LNK4099: PDB
« on: May 23, 2015, 08:47:01 pm »
Ok so I've recently started using SFML 2.3, it's working fine but I get 47 warnings all are LNK4099: PDB warnings....

I'm using the Static versions of the libraries, and have set things up as follows:
 - I created a copy of the SFML 2.3 folder and it's sub-items in my project folder for easier access and to ensure I don't accidentally move or delete it.

In my project: (Note: I am using the 64-bit version)
 - I set to All Modes (x64)
 - C/C++ > General > Additional Include Directories = "C:\Users\Josh\Documents\Visual Studio 2012\Projects\TestECSModelBeta\SFML-2.3\include"
 - C/C++ > Preprocessor > Preprocessor Definitions = SFML_STATIC
 - Linker > General > Additional Library Directories = "C:\Users\Josh\Documents\Visual Studio 2012\Projects\TestECSModelBeta\SFML-2.3\lib"

 - Switched to Debug Mode (x64)
 - Linker > Input > Additional Dependencies =
  • sfml-graphics-s-d.lib
  • freetype.lib
  • jpeg.lib
  • sfml-window-s-d.lib
  • opengl32.lib
  • gdi32.lib
  • sfml-system-s-d.lib
  • winmm.lib

 - Switched to Release Mode (x64)
 - Linker > Input > Additional Dependencies =
  • sfml-graphics-s.lib
  • freetype.lib
  • jpeg.lib
  • sfml-window-s.lib
  • opengl32.lib
  • gdi32.lib
  • sfml-system-s.lib
  • winmm.lib

I get the following warnings:
(click to show/hide)

It's not been an issue, everything seems to work fine, but it would be nice to get rid of these warnings so I can focus on the important ones....  I'm pretty sure I set something up wrong just not certain what....

Anyone had this issue and know how to fix it?

Thanks!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Linking Error: LNK4099: PDB
« Reply #1 on: May 23, 2015, 10:41:00 pm »
As you noticed yourself, these are just warnings and can be (safely) ignored.

"Fixing" it involves some work, because you need to change the CMake script (somehow) to name the PDB files properly and then build SFML yourself.

At some point in the future we'll probably provide PDB files as a separate download.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

MakaiKing0

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Linking Error: LNK4099: PDB
« Reply #2 on: May 25, 2015, 01:39:07 am »
Ah, actually I'm using VS2012.... but I see....

 

anything