Removing console window for Glut/FreeGlut/GLFW?

后端 未结 8 673
醉话见心
醉话见心 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:08

    Under the linker options, set your entry point to mainCRTStartup . This function does the necessary setup of the MS libc and then calls main.

提交回复
热议问题