I suppose you have already figured out that the error message is coming from line 26 of the code you posted. Find out how _WIN32_WINNT is defined and then define it correctly yourself. (Right-click on the symbol and you will have the option to go to where its defined) Something has probably changed between verion 2005 and 2010. I don't have the ultimate edition, so I can't really help you.

Incase you wanted further information, I used a tutorial from here to try this method of lens correction out from here:
[url]http://www.aishack.in/2010/07/calibrating-undistorting-with-opencv-in-c-oh-yeah/[/url]
I seem to …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...