Jump to content
  • Advertisement
Sign in to follow this  
Josheir

SFML How are Symbols Loaded?

Recommended Posts

I am getting the message : <information not available, no symbols loaded for  sfml-graphics-d-2.dll> when hovering over the sf::Text object name for Visual C++ using Visual Studio (SFML).  I am wondering how do I load the symbols so I can view the text object's text for example? 

 

Thank you,

Josheir

Share this post


Link to post
Share on other sites
Advertisement
Just now, h8CplusplusGuru said:

if you compiled it yourself, locate the .pdb and copy to your working dir.

Well I am using someone else's library and dll (SFML's,) so I don't know if this applies to me.  I did look for evidence for what you said and located the following pdbs that were created by the IDE upon my build.  They are :  textbox.pdb and vc141.db.  These are for my textbox project and they seem to already be in the correct debug library with the executable and the dlls.

 

When I put the pdb called sfml-graphics-d.lib into this directory there is a change in the sf:text's  'readout in the IDE when debugging.'  No more pesky "symbols haven't been loaded,"  However there is still no readable display of the length or actual text.

 

The dll is numbered 2 and the pdb I am using is apparently for the first dll.  So, is there a solution?,  I have had to display to the screen in a separate rendering window to see the values and debug things.  I have found no specific pdbs/downloads for the library I am mentioning.

 

Sincerely and thankfully,

Josheir

 

 

Edited by Josheir

Share this post


Link to post
Share on other sites
On 10/7/2017 at 4:23 PM, Josheir said:

Well I am using someone else's library and dll (SFML's,) so I don't know if this applies to me. 

It does. You need the .pdb files for the SFML binaries you are using. You either need to get them from the same place you got the binaries, or you need to recompile SFML yourself in order to generate them.

On 10/7/2017 at 4:23 PM, Josheir said:

I did look for evidence for what you said and located the following pdbs that were created by the IDE upon my build.  They are :  textbox.pdb and vc141.db.  These are for my textbox project and they seem to already be in the correct debug library with the executable and the dlls.

Those sound like the .pdbs generated for your code. They will not help you with SFML.

On 10/7/2017 at 4:23 PM, Josheir said:

When I put the pdb called sfml-graphics-d.lib

A PDB file should have a .pdb extension. That doesn't look like it's actually a PDB file. It also has to match the binary of the SFML library; you can't neccessarily just grab some other random SFML .pdb, say, from a game that uses SFML and shipped it for some reason, and drop it in to your project. They won't match.

Get the PDBs from the source you got the SFML library from. If they aren't supplied, build the library yourself.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!