and have done everything except get the Microsoft Platform SDK, for which I will have to buy the DVD as my dialup modem (and I) would die of old age before downloading.
Is this missing SDK the cause of the compile error or is it something else (and maybe I can skip getting the Platform SDK)?
Thanks,
bsperlin

ZbuffeR

02-11-2010, 01:25 PM

I am pretty sure the Platform SDK is mandatory for doing anything useful with VC++.

If download size is a problem, you will probably have better luck trying with Code::Blocks + mingw, much smaller footprint.

ktamail

02-11-2010, 01:56 PM

try change the main function to:

int main(int argc, char** argv){
etc...
}

sorry this message to bsperlin.

bsperlin

02-11-2010, 02:43 PM

Hi ktamail,
That change worked as far as letting me get through the glutInit() function, but then glutKeyboardFunc causes a run time error:

i got problem when compile opengl project in codeblock.
every time i compile,the glut.h will come out and say there is 3 error in my code.
but i have try the code in other computer and can be compiled.Is it the problem of my laptop or the glut.h library i download has problem.please reply me.thanks.