After doing some searching in how to getting started with opengl, i found that i probably missing some library. And so i downloaded this freeglut library from the official page, http://freeglut.sourceforge.net/index.php#download
After downloading, i use my cygwin and cd to the unzipped or untar-ed freeglut folder and run the ./configure command. and i received this error message:
configure: error: in `/cygdrive/c/users/owner/desktop/freeglut-2.8.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
I am current using window 8, and i didn't see any mingw shell in my mingw folder, so i can't use mingw... Currently using notron antivirus, not sure if this can also be the root of this problem...
Or I have to change the 'PATH' system variable? (my PATH value is set to c:\cygwin\bin)
Or it is also possible to use the codeblock itself to build this library?