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

Author Topic: remove the console window mingw  (Read 1498 times)

0 Members and 2 Guests are viewing this topic.

OUTSEET

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
remove the console window mingw
« on: September 22, 2022, 04:46:15 pm »
hi i am trying to remove the console window from my game I am using MinGW and vscode I tried to put
-lsfml-main in the makefile but it's not working

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: remove the console window mingw
« Reply #1 on: September 22, 2022, 11:53:36 pm »
You need to add -mwindows and then -lsfml-main or -lsfml-main-d :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

OUTSEET

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: remove the console window mingw
« Reply #2 on: September 27, 2022, 02:35:43 pm »
thanks

 

anything