answered 2013-08-25 20:04:29 -0600
You can set the path in IDE. Read the section 'The local method' in this article.
http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to