SFML community forums

General => General discussions => Topic started by: mahmutkuran on April 17, 2010, 04:39:13 pm

Title: Application is crashing
Post by: mahmutkuran 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?
Title: Application is crashing
Post by: Laurent on April 17, 2010, 06:09:05 pm
Did you recompile SFML?
Title: Application is crashing
Post by: mahmutkuran 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.
Title: Application is crashing
Post by: Laurent 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.
Title: Application is crashing
Post by: mahmutkuran on April 17, 2010, 06:35:55 pm
I compiled with vc++ 2010 and now it works perfect.

Thank you very much.