Try to reattach the open gl library to your program.
I had this problem before, and I solve by this way. Look at your environment variables and check if the directories that are listed there, contains the header files.
The problem with the reattach seems like a bug to me, but...
Regards,
Gustavo