SFML community forums

Help => General => Topic started by: MakaiKing0 on May 23, 2015, 08:47:01 pm

Title: Linking Error: LNK4099: PDB
Post by: MakaiKing0 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 =

 - Switched to Release Mode (x64)
 - Linker > Input > Additional Dependencies =

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!
Title: Re: Linking Error: LNK4099: PDB
Post by: eXpl0it3r 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.
Title: Re: Linking Error: LNK4099: PDB
Post by: MakaiKing0 on May 25, 2015, 01:39:07 am
Ah, actually I'm using VS2012.... but I see....