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

Author Topic: Application is crashing  (Read 3037 times)

0 Members and 1 Guest are viewing this topic.

mahmutkuran

  • Newbie
  • *
  • Posts: 3
    • View Profile
Application is crashing
« on: April 17, 2010, 04:39:13 pm »
Hi,

I want to use sfml but when i compile and execute an application it crashes with this error:

The application was unable to start correctly (0xc0150002). Click OK to close application.

I use Microsoft Visual C++ 2010 Express Edition and my operating system is Windows 7 Pro 32bit. What is the problem do you think?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Application is crashing
« Reply #1 on: April 17, 2010, 06:09:05 pm »
Did you recompile SFML?
Laurent Gomila - SFML developer

mahmutkuran

  • Newbie
  • *
  • Posts: 3
    • View Profile
Application is crashing
« Reply #2 on: April 17, 2010, 06:15:37 pm »
No. I use precompiled libraries.

sfml-graphics-d.lib
sfml-window-d.lib
sfml-system-d.lib

I add these additional dependencies in project properties and add .dll files to debug folder of my project.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Application is crashing
« Reply #3 on: April 17, 2010, 06:16:32 pm »
Usually, libraries compiled with a version of VC++ are not compatible with other versions of VC++. That's why you should recompile SFML with VC++ 2010.
Laurent Gomila - SFML developer

mahmutkuran

  • Newbie
  • *
  • Posts: 3
    • View Profile
Application is crashing
« Reply #4 on: April 17, 2010, 06:35:55 pm »
I compiled with vc++ 2010 and now it works perfect.

Thank you very much.