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

Author Topic: Error running Particle System for SFML 2 from Sources Codes section  (Read 1110 times)

0 Members and 1 Guest are viewing this topic.

gnerpo

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Hi all,
this is the error i get when i try to run the example. The only modification i made is to load different font because i havent the one in the source.

terminate called after throwing an instance of 'std::runtime_error'
  what():  random_device::random_device(const std::string&)

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Process returned 255 (0xFF)   execution time : 26.612 s
Press any key to continue.

G.

  • Hero Member
  • *****
  • Posts: 1592
    • View Profile
Re: Error running Particle System for SFML 2 from Sources Codes section
« Reply #1 on: December 05, 2014, 01:25:16 am »
Googling "random_device::random_device(const std::string&)" yields results you know, it says it's (or used to be) a bug in the MinGW compiler.
BTW, you could have linked your source code so that people don't have to search for what you're talking about. ;)
« Last Edit: December 05, 2014, 01:27:09 am by G. »

gnerpo

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Error running Particle System for SFML 2 from Sources Codes section
« Reply #2 on: December 05, 2014, 02:04:46 am »
Thanks for the reply,
the source code is a cut and paste of the example source code found in SFML website >> wiki.

 

anything