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

Author Topic: Can't Use sf::Strings.  (Read 9006 times)

0 Members and 1 Guest are viewing this topic.

Mikea

  • Newbie
  • *
  • Posts: 28
    • View Profile
Can't Use sf::Strings.
« on: July 04, 2009, 02:09:48 am »
Hello.

I'm making a game and to do so, I've made a Menu class, with MenuItems and stuff, but I had some "Unhandled exception", so I narrowed the debug at the simple fact that I cannot declare a single sf::String on my program... even the Copy/pasted code from the tutorials doesn't work.

I still get the Unhandled Exception at (blahblah) memory adress.

Do you have the same problem or a solution for that?
Check out my sfml games here

Sirt

  • Newbie
  • *
  • Posts: 27
    • View Profile
Can't Use sf::Strings.
« Reply #1 on: July 04, 2009, 05:47:54 am »
Maybe this is the sfml sf::String bug.

If it is have you tried explicitly assigning a font to the string,
like...


Code: [Select]

sf::Font font;
font.LoadFromFile( "fonts directory" );

sf::String s("", font);



I think thats right anyway.

If your program is crashing during runtime and not on exit though,
chances are it's a programming error.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Can't Use sf::Strings.
« Reply #2 on: July 04, 2009, 09:51:54 am »
What OS? Which version of SFML?
Laurent Gomila - SFML developer

Mikea

  • Newbie
  • *
  • Posts: 28
    • View Profile
Can't Use sf::Strings.
« Reply #3 on: July 04, 2009, 12:02:43 pm »
Well I tried the code that is on tutorial.

Its a runtime error, but only when I leave the program. On my game, right now I have two screens, I enter the first automaticaly, if I exit then, nothing happens, if I enter the second screen which is where I start the menu and load fonts, then if I leave the screen and exit the program, when I exit the program I get the exception.

I'm running Win 7 and using SFML 1.5 ( VC++ 2008 )
Check out my sfml games here

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Can't Use sf::Strings.
« Reply #4 on: July 04, 2009, 05:12:42 pm »
So this is the well know bug ;)
Laurent Gomila - SFML developer

Mikea

  • Newbie
  • *
  • Posts: 28
    • View Profile
Can't Use sf::Strings.
« Reply #5 on: July 04, 2009, 07:01:19 pm »
ok then... So its known and not fixed because you can't find the cause?

damn... I'm stuck then... I guess I'll have to use Images...

Let me know if there is a fix :) or a workaround
Check out my sfml games here

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Can't Use sf::Strings.
« Reply #6 on: July 04, 2009, 07:50:33 pm »
It's fixed in the sfml2 branch. It's not fixed in SFML 1.x because it requires a rewrite of the OpenGL context handling.

There are two very simple workarounds:
- link to the static versions of the SFML libraries
- always provide your own sf::Font when instanciating a sf::String
Laurent Gomila - SFML developer

Mikea

  • Newbie
  • *
  • Posts: 28
    • View Profile
Can't Use sf::Strings.
« Reply #7 on: July 05, 2009, 01:59:11 am »
okay then, how do I link to the static dlls?

edit: nevermind i know
Check out my sfml games here

Mikea

  • Newbie
  • *
  • Posts: 28
    • View Profile
Can't Use sf::Strings.
« Reply #8 on: July 09, 2009, 05:42:31 am »
ok, this bug also happens on Vista now?... I get the same thing..

And statically, I get 71 warnings...
Check out my sfml games here

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Can't Use sf::Strings.
« Reply #9 on: July 09, 2009, 08:01:55 am »
Quote
ok, this bug also happens on Vista now?

Why not? ;)

Quote
And statically, I get 71 warnings...

What do they say?
Laurent Gomila - SFML developer

Mikea

  • Newbie
  • *
  • Posts: 28
    • View Profile
Can't Use sf::Strings.
« Reply #10 on: July 09, 2009, 05:38:28 pm »
ok xD I thought it didn't on Vista... xD lol...

well, its says...
Code: [Select]
sfml-system-s-d.lib(Platform.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-system-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Clock.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-system-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Sleep.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-system-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-system-s-d.lib(Unicode.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-system-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(Joystick.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(VideoModeSupport.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(WindowImplWin32.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(Context.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(Input.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(VideoMode.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(Window.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-window-s-d.lib(WindowImpl.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(adler32.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(compress.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(crc32.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(deflate.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(inffast.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(inflate.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(inftrees.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(trees.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(zutil.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(png.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(pngerror.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(pngmem.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(pngset.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(pngtrans.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(pngwio.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(pngwrite.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(pngwtran.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(pngwutil.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(image_DXT.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(SOIL.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(stb_image_aug.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcapimin.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcapistd.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jccoefct.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jccolor.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcdctmgr.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jchuff.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcinit.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcmainct.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcmarker.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcmaster.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcomapi.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcparam.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcphuff.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcprepct.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jcsample.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jdatadst.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jerror.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jfdctflt.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jfdctfst.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jfdctint.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jmemmgr.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jmemnobs.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(jutils.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(glew.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Color.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Drawable.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Font.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(FontLoader.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(GraphicsContext.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Image.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(ImageLoader.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Matrix3.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(RenderTarget.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(RenderWindow.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(Sprite.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(String.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
1>sfml-graphics-s-d.lib(View.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'c:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-graphics-s-d.lib' or at 'C:\Users\Michael\Documents\Visual Studio 2008\Projects\SFML\Blokies\Debug\vc90.pdb'; linking object as if no debug info
Check out my sfml games here

Mikea

  • Newbie
  • *
  • Posts: 28
    • View Profile
Can't Use sf::Strings.
« Reply #11 on: July 10, 2009, 02:20:22 pm »
anyone?
Check out my sfml games here

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Can't Use sf::Strings.
« Reply #12 on: July 10, 2009, 02:23:27 pm »
These are just warning about missing debug informations, you can ignore it. Do you have other problems?
Laurent Gomila - SFML developer

Mikea

  • Newbie
  • *
  • Posts: 28
    • View Profile
Can't Use sf::Strings.
« Reply #13 on: July 10, 2009, 02:28:19 pm »
Not right now.. :) Thank you for your support :D
Check out my sfml games here

racumin

  • Newbie
  • *
  • Posts: 16
    • View Profile
Can't Use sf::Strings.
« Reply #14 on: October 13, 2009, 01:37:57 pm »
Quote from: "Laurent"
It's fixed in the sfml2 branch. It's not fixed in SFML 1.x because it requires a rewrite of the OpenGL context handling.

There are two very simple workarounds:
- link to the static versions of the SFML libraries
- always provide your own sf::Font when instanciating a sf::String


How do I provide my own sf::Font when instanciating a String? Also in Visual C++ I do not know how to link the static versions. It says unresolved symbol. Thanks!

 

anything