problem compiling ros with standalone opencv 2.3.1
Hi:
I having trouble getting rosmake to compile with the new version of opencv. I keep getting "fatal error: opencv-2.3.1/opencv2/features2d/features2d.h: No such file or directory compilation terminated."
I don't remember personally installing opencv, it must have come up with something else, perhaps (ROS-Electric). But anyway, I have the *.so.2.3.1 libraries in the /usr/lib folder and the include directory in /usr/include/opencv-2.3.1/opencv2/.... I set the C_PATH_INCLUDE and CPLUS_PATH_INCLUDE variables to the 2.3.1 directory and yet it still can't find the .h files.
What else is required so my package can see it? I think Cmakelists.txt only has the Find_Package(OpenCv) which only finds the old opencv and not the 2.3.1 version. I need it to be this version so I can use the simple blob detection api. Any help is appreciated.
Thanks in advance.