I would just like to make this suggestion. Instead of saying to set the appropriate system variables you can simply start the visual studio 2008 Command Prompt, which sets up the environmental variables, and type this in. Useful if you have just installed MSVC and want to permanently set environmental vars.

 

setx path “%path%”

setx lib “%lib%”

setx include “%include%”

 

This adds the path, lib, and include variables permanently to the environmental variables. In my case, it used the user variables not the system variables. And since the visual studio 2008 does not overwrite any values already set in the environmental variables, it should be safe.