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

Author Topic: Screen capture crash, and some linker warnings  (Read 3417 times)

0 Members and 1 Guest are viewing this topic.

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
Screen capture crash, and some linker warnings
« on: May 04, 2008, 12:16:53 am »
Hi, I'm new.

First, I'd like to say thank you for making this wonderful software!
I am pretty sure I will be ditching SDL for this.

I am at the "Using render windows" tutorial (http://www.sfml-dev.org/tutorials/graphics-window.php), and the screenshot part is giving me trouble.
That is, when I try to take one, the program crashes with an unhandled exception. I have narrowed it down to the App.Capture() method.

I am using Visual Studio 2005 standard on Windows XP pro.

Here is what I am linking against, compiling in debug mode:
sfml-system-d.lib
sfml-window-d.lib
sfml-graphics-d.lib
In that order.

I also get 64 linker warnings. Example:
Quote
sfml-system-d.lib(Platform.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 8\VC\lib\sfml-system-d.lib' or at 'c:\C++\Mine test\SFML test\debug\vc80.pdb'; linking object as if no debug info
The other 63 warnings are similar (all LNK4099).
When linking a release build against the non-debug .lib files, I get no warnings.

I hope someone can help. Thank you in advance!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Screen capture crash, and some linker warnings
« Reply #1 on: May 04, 2008, 08:16:00 am »
The capture crash has been fixed for the next release.

Don't care about the warnings, they just say you won't have the debug symbols for SFML libraries.
Laurent Gomila - SFML developer

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
Screen capture crash, and some linker warnings
« Reply #2 on: May 05, 2008, 12:20:46 am »
Cool, I will be looking forward to the next release then.
Thanks!