Installing opencv2.1 on ubuntu gives error
I have Uubuntu 11.10 on my machine and I want to install Opencv2.1. I downloaded cmake and in the release folder of Opencv2.1 I wrote "make" in the terminal window and up to 38% of opencv installed correctly. However 38% in cxcore it gave a lot of errors about the syntax of some hpp files and stopped installing. First error:
cxcore.hpp: 177: 13: error: 'ptrdiff_t' does not name the type
and the rest of the errors are similar. I really need version 2.1, so I would be glad if you could help.
source to share