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

Author Topic: How To Get Rid Of CMD?  (Read 2392 times)

0 Members and 1 Guest are viewing this topic.

xwolf910

  • Newbie
  • *
  • Posts: 1
    • View Profile
How To Get Rid Of CMD?
« on: January 04, 2013, 04:21:58 am »
When I run my SFML programs I want to get rid of that cmd prompt that lingers behind the render window. Is there any way to do that?

thePyro_13

  • Full Member
  • ***
  • Posts: 156
    • View Profile
Re: How To Get Rid Of CMD?
« Reply #1 on: January 04, 2013, 04:53:39 am »
Presuming you're on Windows. Set your projects Subsystem from 'Console' to 'Windows'. You'll also need to link against SFML main if you do this.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: How To Get Rid Of CMD?
« Reply #2 on: January 04, 2013, 06:08:49 pm »
It's also nicely explained in the FAQs.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/