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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Announcements

  • Forum Statistics

    • Total Topics
      628326
    • Total Posts
      2982086
  • Similar Content

    • By GameDevCoder
      I have to learn DirectX for a course I am studying. This book https://www.amazon.co.uk/Introduction-3D-Game-Programming-Directx/dp/1936420228 I felt would be great for me to learn from.
      The trouble is the examples which are all offered here http://www.d3dcoder.net/d3d11.htm . They do not work for me. This is a known issue as there is a link on the examples page saying how to fix it. I'm having difficulty with doing this though. This is the page with the solution http://www.d3dcoder.net/Data/Book4/d3d11Win10.htm.
      The reason why this problem is happening, the book was released before Windows 10 was released. Now when the examples are run they need slight fixes in order for them to even work. I just can't get these examples working at all.
      Would anyone be able to help me get the examples working please. I am running Windows 10 also just to make this clear, so this is why the examples are experiencing the not so desired behaviour. I just wish they would work straight away but there seems to be issues with the examples from this book mainly because of it trying to run from a Windows 10 OS.
      On top of this, if anyone has any suggestions with how I can learn DirectX 11 i would be most grateful. Thanks very much. I really would like to get them examples working to though from the book I mentioned.
      Look forward to reading any replies this thread receives.
       
      GameDevCoder.


      PS - If anyone has noticed. I asked this about 1 year ago also but this was when I was dabbling in it. Now I am actually needing to produce some stuff with DirectX so I have to get my head round this now. I felt at the time that I sort of understood what was being written to me in response to my thread back then. I had always been a little unsure though of being absolutely sure of what was happening with these troublesome examples. So I am really just trying to get to the bottom of this now. If anyone can help me work these examples out so I can see them working then hopefully I can learn DirectX 11 from them.
       
      *SOLUTION* - I was able to get the examples running thanks to the gamedev.net community. Great work guys. I'm so please now that I can learn from this book now I have the examples running.
      https://www.gamedev.net/forums/topic/693437-i-need-to-learn-directx-the-examples-for-introduction-to-3d-programming-with-directx-11-by-frank-d-luna-does-not-work-can-anyone-help-me/?do=findComment&comment=5363013
    • By Sam Mason
      Hi all,
      I have written a nice(ish) looking game of solitaire in Windows Forms, using VB.NET and Visual Studio 2015. It allows the player to play the game, and if their score is in the top 10, it saves the username and score o a leaderboard (saved in a text file so it is non-volatile). My next goal is to let the user know if the hand they are dealt is playable, but I'm not sure on the most efficient way of achieving this. I'm working on time complexity over space complexity! It's a simple game to code, but not an easy one to find the solution.
      Do you know of any algorithms that may achieve this goal that I would be able to look at?
    • By AxeGuywithanAxe
      I wanted to get some advice on what everyone thinks of this debugger, I've been getting some strange results from testing my code and I wanted to see if anyone else had an issues.
      For instance, I added three "ClearRenderTargetView" calls and three "Draw full screen quad" calls and my reported fps became a fifth of what it usually was. Thank you.
    • By RandomStuff in life
      So im about to jump into UI development tutorials and class. Now I'm interested on creating a very simple text editor. I've already got a design. you can see it here: https://www.pinterest.com/pin/489062840776586727/ 
      I'm just wondering if this exact UI design is achievable in windows? what specific language do I need to use? or this is not possible and it will just follow the standard windows 10 header and border design?
    • By test opty
      Hello all,
      I set up Visual Studio 2017 for OpenGL and ran this and this codes successfully.
      I get these linker errors when compiling the following code:
      #include <iostream> using namespace std; #include "vgl.h" #include "LoadShaders.h" enum VAO_IDs { Triangles, NumVAOs }; enum Buffer_IDs { ArrayBuffer, NumBuffers }; enum Attrib_IDs { vPosition = 0 }; GLuint VAOs[NumVAOs]; GLuint Buffers[NumBuffers]; const GLuint NumVertices = 6; //-------------------------------------------------------------------- // // init // void init(void) {     static const GLfloat vertices[NumVertices][2] =     {         { -0.90, -0.90 }, // Triangle 1         { 0.85, -0.90 },         { -0.90, 0.85 },         { 0.90, -0.85 }, // Triangle 2         { 0.90, 0.90 },         { -0.85, 0.90 }     };     glCreateBuffers(NumBuffers, Buffers);     glNamedBufferStorage(Buffers[ArrayBuffer], sizeof(vertices),         vertices, 0);     ShaderInfo shaders[] = {         { GL_VERTEX_SHADER, "triangles.vert" },         { GL_FRAGMENT_SHADER, "triangles.frag" },         { GL_NONE, NULL }     };     GLuint program = LoadShaders(shaders);     glUseProgram(program);     glGenVertexArrays(NumVAOs, VAOs);     glBindVertexArray(VAOs[Triangles]);     glBindBuffer(GL_ARRAY_BUFFER, Buffers[ArrayBuffer]);     glVertexAttribPointer(vPosition, 2, GL_FLOAT,         GL_FALSE, 0, BUFFER_OFFSET(0));     glEnableVertexAttribArray(vPosition); } //-------------------------------------------------------------------- // // display // void display(void) {     static const float black[] = { 0.0f, 0.0f, 0.0f, 0.0f };     glClearBufferfv(GL_COLOR, 0, black);     glBindVertexArray(VAOs[Triangles]);     glDrawArrays(GL_TRIANGLES, 0, NumVertices); } //-------------------------------------------------------------------- // // main // int main(int argc, char** argv) {     glfwInit();     GLFWwindow* window = glfwCreateWindow(640, 480, "Triangles", NULL,         NULL);     glfwMakeContextCurrent(window);     gl3wInit();     init();     while (!glfwWindowShouldClose(window))     {         display();         glfwSwapBuffers(window);         glfwPollEvents();     }     glfwDestroyWindow(window);     glfwTerminate(); }  
      Is there any way to solve this issue?
       
       
       
       
  • Popular Now