Hello all,
I recently started playing around with opengl after taking an intro to c++ class. I’m getting the hang of things, but have run into a problem when trying to build a release. I am using a console application for the below problem.
The debug builds work flawlessly. I use the command line parameters /SUBSYSTEM:WINDOWS & /ENTRY:mainCRTStartup during debugging, which stops the lnk2001 error. But when I go to build a release, I get a lnk2001 error saying that it basically cannot locate the winmain entry point (well duh!).
So I tried telling the linker to point to mainCRTStartup, but it still wants to point to winmain. I have browsed the web, and all the answers are basically “make sure you are using the right subsystem” or “use /entry [function]”. Perhap I am using the /entry function in the wrong place?
If someone could be so kind to tell me how to build my project for release? I am using gl and glut, I’m using MSVS 8.0 and winxp. If that helps, lol
Thank you,
SexyElf