1 | initial version |
You should start by downloading the newest version which currently 2.4.9 from this link
Make sure to download it into a new directory preferably with the version number as a suffix. e.g: d:\opencv249
Define as system variable OPENCV_DIR249 = d:\opencv249 (my recomendation). Also see this explanation on how to do it.
Then all you have left to do is to learn to link your new versions libraries and dll's to your code in Visual Studio 2010 as explained here.
Good luck!