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

Author Topic: Test program crashes at sf::Clock instantiation  (Read 4140 times)

0 Members and 2 Guests are viewing this topic.

Viktory

  • Newbie
  • *
  • Posts: 4
    • View Profile
Test program crashes at sf::Clock instantiation
« on: August 01, 2012, 04:57:02 am »
I have been attempting to compile and run the test program on Code::Blocks using the dynamic libraries, but the program seems to crash whenever I create in instance of sf::Clock.  The program compiles and links fine, but the resulting program crashes on a call to sf::Clock.  I am using the dynamic libraries, and have copied the dll's to the executable's directory, but the program crashes regardless.

Any help appreciated.
i don't live up to my name :P

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Test program crashes at sf::Clock instantiation
« Reply #1 on: August 01, 2012, 08:00:10 am »
Which version of SFML? Which version of gcc? Which SFML package did you download from the website (there are two different for Windows/gcc)?
Laurent Gomila - SFML developer

Viktory

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Test program crashes at sf::Clock instantiation
« Reply #2 on: August 01, 2012, 09:47:34 am »
SFML full SDK 1.6, with the GCC 4.7.0
i don't live up to my name :P

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Test program crashes at sf::Clock instantiation
« Reply #3 on: August 01, 2012, 09:48:11 am »
You must recompile SFML.
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Test program crashes at sf::Clock instantiation
« Reply #4 on: August 01, 2012, 11:31:52 am »
SFML full SDK 1.6, with the GCC 4.7.0
It's also strongly adviced to switch to SFML 2, since IMHO is more stable than SFML 1.6 (no ATI bug and way cleaner API). ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Aleksandros

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Test program crashes at sf::Clock instantiation
« Reply #5 on: September 11, 2012, 08:50:08 pm »
I have the same problem with SFML 2.0 and Mingw(GCC 4.7.0) . Program is compiling and link successfully but after running i get crash.

I suspect that I need to recompile the SFML, but how I can do this without sources?

[attachment deleted by admin]
« Last Edit: September 11, 2012, 08:52:43 pm by Aleksandros »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Test program crashes at sf::Clock instantiation
« Reply #6 on: September 11, 2012, 09:38:11 pm »
Quote
I suspect that I need to recompile the SFML
Yep.

Quote
but how I can do this without sources?
You obviously need SFML sources... :P
Laurent Gomila - SFML developer

 

anything