The application failed to initialize properly (0xc0150002)

后端 未结 5 1176
醉梦人生
醉梦人生 2020-12-11 09:09

I\'m trying to compile an SFML program I\'ve writting in Visual C++ 2010. It compiles fine, but when I run the executable I get this error:

The application          


        
5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-11 10:09

    I fixed it by changing project properties runtime configuration: /MT for release and /MTd for debug (project properties > C/C++ > Code generation > Runtime library)

提交回复
热议问题