Tool/software: TI C/C++ Compiler
Hi experts,
I'm trying to implement application code that is using openCV
However, when I try to compile it, linking error occurs ( undefined reference error )
I checked header file declaration and it exists in proper directory
It seems that using <opnecv2/objdetect> has a problem.
Using <opencv2/imgproc> and <opencv2/core> works well...
Please help me..
application.cpp---------------------------------------------------------------------------------------------------------------------------------------
..
#include "DMS_Algo_Typedef.h"
...
void* openclDilationThreadFunc(void* args)
{
sDMS *DMS = new sDMS;
....
}
DMS_Algo_Typedef.h-------------------------------------------------------------------------------------------------------------------------------
typedef struct sFaceDetector
{
sParam_faceDetector param_init;
sParam_faceDetector param;
cv::Rect faceROI;
cv::Mat faceRoiImage;
cv::CascadeClassifier classifier;
cv::Rect face;
unsigned char fFaceDetect;
} sFaceDetector;
...
typedef struct sDMS
{
// Face detection
sFaceDetector faceDetector;
// Eye detection
sEyeDetector eyeDetector;
// Object management
sGlobalObject objects;
// Image
cv::Mat inputFrame;
cv::Size imgSize;
// State
unsigned char detectState;
} sDMS;