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

Author Topic: Console doesn't open.  (Read 1233 times)

0 Members and 1 Guest are viewing this topic.

magyarosipeter

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Console doesn't open.
« on: June 18, 2018, 10:25:02 pm »
This is my first time making anything in SFML, and I'm still new to C++. I started doing this Space Invaders project, and I'm still very early in it. When I started, I did a few tests, and it ran well, but just now I wrote a chunk of code and the console doesn't seem to open anymore. I even put that part of the code into comments, but the console still didn't show up. I restarted my PC, and wrote the code into a fresh project but still, nothing. If needed, I'll link the code.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Console doesn't open.
« Reply #1 on: June 19, 2018, 08:16:23 am »
Did you set the subsystem to windows and link sfml-main?

Does tge SFML window open?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

magyarosipeter

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Console doesn't open.
« Reply #2 on: June 19, 2018, 11:05:09 am »
Well, I really don't know what to say. The SFML window always opened, but now I removed the font I used in the app from its folder, and so when I tried to compile, the console opened with an error message saying that it couldn't be located. I put the font back in and it worked... weird. Thanks anyways!

 

anything