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

Author Topic: Program crashing on launch  (Read 1050 times)

0 Members and 1 Guest are viewing this topic.

Technius

  • Newbie
  • *
  • Posts: 2
    • View Profile
Program crashing on launch
« on: January 31, 2013, 06:07:35 pm »
Basically, my program crashes on start up.  It's something simple that looks like this:

#include <iostream>
#include <SFML/System.hpp>

using namespace std;

int main()
{
    cout << "Test";
    sf::Clock Clock;
}
 

It crashes on the Clock line.  I'm using the latest nightly build and GCC 4.6.2.  My IDE is eclipse with the CDT plugin.  I've googled around and tried multiple things, but to no avail.  Can you guys help?
« Last Edit: January 31, 2013, 06:10:53 pm by Technius »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10901
    • View Profile
    • development blog
    • Email
Re: Program crashing on launch
« Reply #1 on: January 31, 2013, 06:11:11 pm »
I'm using the latest nightly build and G++ 4.6.2.
My nightly builds are made for either GCC 4.7.1 TDM or GCC 4.7.2, you can't use it with your compiler.

Btw whenever you get a crash, you should provide more information on the crash and run it in gdb to retrieve the call stack etc. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Technius

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Program crashing on launch
« Reply #2 on: January 31, 2013, 07:07:07 pm »
I'm using the latest nightly build and G++ 4.6.2.
My nightly builds are made for either GCC 4.7.1 TDM or GCC 4.7.2, you can't use it with your compiler.

Btw whenever you get a crash, you should provide more information on the crash and run it in gdb to retrieve the call stack etc. ;)
I switched to Code::Blocks and it worked perfectly.  Thanks anyways.