Hi i'm trying to write some opencv class code reusable on different platform. I followed this guide and actually managed to get my project work.
BUT Now I am to trying to integrate other classes from an external projects and I'm full of these kinds of errors.
cv::remap(src,dst,_mapx,_mapy,CV_INTER_LINEAR); return;
Use of undeclared identifier 'CV_INTER_LINEAR'; did you mean 'cv::INTER_LINEAR'?
OR
if(var < 1.0e-10)vec_ = cvScalar(0); else vec_ /= sqrt(var);
Use of undeclared identifier 'cvScalar'
if I "translate" the whole class with cv :: Scalar or cv::INTER_LINEAR everything continues to run. But these are classes and projects that are compiled into other systems.
Do not want to re-translate everything.
Where am I doing wrong in this integration? I'm working in iOS environment.
thanks in advance