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

Author Topic: got lots of warnings, (although it works)  (Read 5525 times)

0 Members and 1 Guest are viewing this topic.

Sonic-blue-knight

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://sonic-blue-knight.deviantart.com
got lots of warnings, (although it works)
« on: April 04, 2009, 01:24:50 pm »
Well, I gotta say that some months ago I was still trying to run SFML correctly, I was still getting lots of errors, and the only thing I could get from a tutorial is a black window (when it was suppoused to be red) and a window caption with those strange letters many ppl have posted on the forum (ìììììSFML). So the solution was re-building the libraries and use -s-d libs (I had to read topic per topic till I found it x_x)

 
Finally...

But then.. when compiling...


65 errors about objects lost

Code: [Select]
1>Linking...
1>sfml-window-s-d.lib(Joystick.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración
1>sfml-window-s-d.lib(VideoModeSupport.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración
1>sfml-window-s-d.lib(WindowImplWin32.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración
1>sfml-window-s-d.lib(Context.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración
1>sfml-window-s-d.lib(Input.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración
1>sfml-window-s-d.lib(VideoMode.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración
1>sfml-window-s-d.lib(Window.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración
1>sfml-window-s-d.lib(WindowImpl.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración
1>sfml-graphics-s-d.lib(adler32.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración
1>sfml-graphics-s-d.lib(compress.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración
1>sfml-graphics-s-d.lib(crc32.obj) : warning LNK4099: no se encontró PDB 'vc90.pdb' con 'C:\Archivos de programa\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' o en 'C:\Documents and Settings\Miguel\Escritorio\jhfytf\Debug\vc90.pdb'; se vinculará el objeto sin tener en cuenta información de depuración

And more..



Translating it would be like: couldn't find PDB the object will be linked without taking debugging information.

Although I can have my application, I'm afraid of those warnings.
Any idea?
yeah, I'm Spanish >:3

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
got lots of warnings, (although it works)
« Reply #1 on: April 04, 2009, 08:22:55 pm »
Quote
Well, I gotta say that some months ago I was still trying to run SFML correctly, I was still getting lots of errors, and the only thing I could get from a tutorial is a black window (when it was suppoused to be red) and a window caption with those strange letters many ppl have posted on the forum (ìììììSFML). So the solution was re-building the libraries and use -s-d libs (I had to read topic per topic till I found it x_x)

Well, this is not really about SFML, it's more about properly using a library, and especially not mixing debug and release configurations ;)
And this is explained in the tutorial, by the way.

Quote
65 errors about objects lost

These are not errors but warnings. The linker is telling you that it couldn't find debug informations about your application, and thus won't be able to run the debugger properly. This is just a matter of setting up yuor project, and it won't do any harm anyway ;)
Laurent Gomila - SFML developer

Sonic-blue-knight

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://sonic-blue-knight.deviantart.com
got lots of warnings, (although it works)
« Reply #2 on: April 05, 2009, 01:49:06 am »
.... I just can't believe this..
So.. All this time it hasn't been working to me, it's just because I had a stupid USB joystick connected? *DIES*
OH well, at least now I'm happy it wasn't my fault, Now I can release the application without warns and errors :D
yeah, I'm Spanish >:3

Laguna

  • Newbie
  • *
  • Posts: 11
    • View Profile
got lots of warnings, (although it works)
« Reply #3 on: April 16, 2009, 10:37:03 pm »
I suppose they do harm. If I try running the debug version on another computer, it tells me something like "This application couldn't be startet, because the applicationconfiguration is not correct. Please try reinstall...blabla" (or is that another problem? and if, how can i avoid it ?)


How exactly do I have to set up my project ? (using vs 2008)
Do i have to change the projectdatabase folder or somehow tell vs where to find the debug information (the point is: where can ->I<- found this information) or how can i create it ?

Thx alot for help.


Laguna

Sonic-blue-knight

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://sonic-blue-knight.deviantart.com
got lots of warnings, (although it works)
« Reply #4 on: April 16, 2009, 11:21:16 pm »
Have you installed C++ Redistributable yet?

The way to setup projects are specified on the tutorials, it is easy to do, for debugging is the same as releasing but just changing that option and the libraries if you are using specific libs.
yeah, I'm Spanish >:3

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
got lots of warnings, (although it works)
« Reply #5 on: April 17, 2009, 01:13:21 am »
Quote from: "Sonic-blue-knight"
Have you installed C++ Redistributable yet?
You mean MSVC++ redistributable?

If you don't want to install the redist, you have to deliver the required DLLs and the manifest file to make the application work. I think the problem already occured sometimes in the past; you'll probably find something if you search - for example this thread.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Sonic-blue-knight

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://sonic-blue-knight.deviantart.com
got lots of warnings, (although it works)
« Reply #6 on: April 17, 2009, 01:16:48 am »
Quote from: "Nexus"
Quote from: "Sonic-blue-knight"
Have you installed C++ Redistributable yet?
You mean MSVC++ redistributable?



Yeah XD I'm not uset to writting the whole name, sorry.

That was one of the things which made my friends not able to open the app.
If it was just because of SFML dlls, it would tell you it didn't find those.
yeah, I'm Spanish >:3

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
got lots of warnings, (although it works)
« Reply #7 on: April 17, 2009, 01:39:24 am »
If you link dynamically to SFML, you have to deliver them, too. Otherwise link statically.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laguna

  • Newbie
  • *
  • Posts: 11
    • View Profile
got lots of warnings, (although it works)
« Reply #8 on: April 17, 2009, 08:54:21 am »
This means I'm no longer portable in debug mode?

I did link statically, that's the point which confuses me.

I'll try fixing it when I come home