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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TekTech

Pages: [1]
1
Hello,

I'm simply trying to get anything working with SFML. I've got all of the libraries included. When I compile, I don't get any errors or warnings. However, when I run the my code it says:

<terminated> gamename.exe [C/C++ Application] C:\....exe

I copied the tutorial verbatim. Basically I narrowed my problem down to this:

If I use anything in the SFML libraries, it terminates as soon as I start it.

Here is an example of what I mean by anything...

int main(){
sf::Time time;
while(true)
{
cout << "nothing\n";
}
return(0);
}

This will be terminated... but if I comment out sf::Time time; it will run fine.

Any input? I couldn't find anyone having this same problem anywhere, so I wonder if it's just a configuration issue in Eclipse.

Thanks for your time and comments.

Pages: [1]
anything