After cloning the source, I followed the instructions on the website to the letter, but on compiling any of the programs that worked fine with OpenCV 2.4.5, I receive this:
g++: error: rt: No such file or directory
g++: error: pthread: No such file or directory
g++: error: m: No such file or directory
g++: error: dl: No such file or directory
Please help, I'm a beginner here and I really need the intersection and chi^2 kernels for SVMS that aren't in the previous version. If there's any way to use those in the older version, I'd be grateful. Thanks!