Can you describe a bit more?
When I installed codeblocks for the first time even opengl program worked fine but later even other programs didn't worked out fine. I have reinstalled CB but there was no change with opengl. I have made all perquisites required to configure opengl with CB. I think program is being compiled but isn't executing in output window because I don't get any error.
Do you use projects?
Yes
Do you have open multiple projects?
No
Have you activated the right project?
Yes