Removing console window for Glut/FreeGlut/GLFW?

后端 未结 8 677
醉话见心
醉话见心 2021-02-03 13:42

Under Visual C++, I have played around with Glut/FreeGlut/GLFW. It seems that everyone of these projects adds a CMD window by default. I tried removing it going under:

8条回答
  •  温柔的废话
    2021-02-03 14:18

    Most linkers support options that automatically remove the console startup code.

    I think on GCC it's called -mwindows

提交回复
热议问题