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:
When I've gotten an error like that I was able to fix it by entering that following text in the linker, section Advance, option Entry Point the following: