Help with vista and superbible 4th edition

Well I bought the superbible about a week ago and I’ve been reading on and off. When I tried to develop the same programs on vista, it would say some kind of error. The programs ran fine but when I exited them, the error popped up for every opengl program. I ran the projects that came with the source code to the book and they also had this problem, I also tried the prebuilt programs. Does anyone know how to fix this?

do the errors look anything like this:
[linker error] undefined reference to ‘gl…@16
I use vista too and maybe we have the same problem.