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

Author Topic: Multi-Thread Error on Creation of a sf::Window  (Read 2310 times)

0 Members and 2 Guests are viewing this topic.

Kool Kid

  • Newbie
  • *
  • Posts: 3
    • View Profile
Multi-Thread Error on Creation of a sf::Window
« on: April 20, 2014, 11:36:12 pm »
Hi guys!
I have a interesting problem wich I werent able to solve.
Well on creation of any kind of a sf::Window (so sf::Window or sf::RenderWindow) I get an unhandled exception for a special section of the file "mlock.c".
A code to reproduce the error is simple:
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow;
}
Please ask for more information you might need, I don't know, this error is curious.

Thanks

Edit: Forgot to mention, there are no errors when i build it and run the .exe myself
« Last Edit: April 21, 2014, 02:15:37 pm by Kool Kid »

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: Multi-Thread Error on Creation of a sf::Window
« Reply #1 on: April 21, 2014, 12:00:23 am »
This sounds like a configuration/environment error, so we'll probably need information like this:

What compiler/IDE are you using?  What operating system?  Debug or release build?  Have you made sure you aren't mixing debug/release settings?  Exactly which SFML files did you download?  etc

Kool Kid

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Multi-Thread Error on Creation of a sf::Window
« Reply #2 on: April 21, 2014, 12:07:42 am »
Quote
What compiler/IDE are you using?
MCV++2012Express

Quote
What operating system?
Windows 7

Quote
Debug or release build?
Both

Quote
Have you made sure you aren't mixing debug/release settings?
yes. Some other guys looked at it. They told me it looks fine. -d suffix at debug, no suffix at release.
Says macros look fine aswell

Quote
Exactly which SFML files did you download?
Source
« Last Edit: April 21, 2014, 12:10:47 am by Kool Kid »

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog

Kool Kid

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Multi-Thread Error on Creation of a sf::Window
« Reply #4 on: April 22, 2014, 03:04:20 pm »
Thank you, but the link didn't help either. I just tried running it as administrator, and it worked  :D
Can't belive i didn't think of that before.