I used to have MinGW 4.5.0(i think, it was whatever the lastest version is) as my codeblocks compiler. I remember i set it up without much trouble a few months ago. I also set up opengl using the levelbylevel tutorial with codeblocks and mingw. everything worked just fine until last week when i installed a java ide and all the stuff to go with it and i changed the path variable for that instead of just adding it to the one i already had in there.
i was in a bit of a hurry and i figured i could just fix it later. so I tried to fix it and put the C:\MinGW\bin in the path variable too but it didn't work. none of my c++ or opengl programs would compile. So after trying several different directories for the path it still didn't work and i decided to ask google for help. I found the MinGW-w64 and decided to give it a try. So now all my c++ programs work but my opengl ones still won't compile. I keep getting the error (ld.exe cannot find -lglut32). i googled again and found something that said MinGW-w64 is not compatible with opengl. So i want to switch back to the old version of MinGW but I still don't know what to use for my path variable. It worked before, I don't think I used C:\MinGW\bin for the path. Is there anyone who might have some advice about what else I could use. I'll keep googleing but I have homework due in less than two days for my opengl class so any help would be appreciated.