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

Author Topic: Debug and Release configurations with Visual Studio  (Read 1538 times)

0 Members and 1 Guest are viewing this topic.

Georges T.

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Debug and Release configurations with Visual Studio
« on: March 10, 2020, 03:54:22 pm »

Ladies, Gentlemen,
Please let me say you that with V.S. 2019 and Debug configuration, the small program with <SFML/Graphics.hpp> creating a small window with green circle, runs with file names sfml-graphics.lib; sfml-window.lib; sfml-system.lib in Dependencies, and files sfml-graphics-2.dll sfml-system-2.dll sfml-window-2.dll in project folder.
In tutorial SFML and Visual Studio (at https://www.sfml-dev.org/tutorials/2.5/start-vc.php) it is stated in red color "It is important to link to the libraries that match the configuration: "sfml-xxx-d.lib" for Debug, and "sfml-xxx.lib" for Release. A bad mix may result in crashes".
Regards.

 

anything