This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于8168dsp上跑opencv库的问题



在ccs上将算法库编译成lib文件 然后放在rdk里面打包

发现连接的时候报错 ,是不是hpp文件的问题?8268工程不支持c++的这种文件类型?

错误如下:

md

 undefined                                                                                                                                                                                                                                                  first referenced                                                                                                                                    symbol                                                                                                                                                                                                                                                        in file                                                                                                                                        ---------                                                                                                                                                                                                                                                  ----------------                                                                                                                                   CvSepFilter::init_deriv(int, int, int, int, int, int, int)                                                                                                                                                                                                 /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<cvderiv.obj>   CvSepFilter::CvSepFilter()                                                                                                                                                                                                                                 /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<cvderiv.obj>   CvSepFilter::~CvSepFilter()                                                                                                                                                                                                                                /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<cvderiv.obj>   cv::bitwise_or(const cv::_InputArray &, const cv::_InputArray &, const cv::_OutputArray &, const cv::_InputArray &)                                                                                                                                        /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<matop.obj>     cv::cvarrToMat(const void *, bool, bool, int)                                                                                                                                                                                                              /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<mathfuncs.obj>  cv::_InputArray::_InputArray(const cv::Mat &)                                                                                                                                                                                                              /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<PBAS.obj>      cv::_InputArray::_InputArray(const double &)                                                                                                                                                                                                               /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<matop.obj>     cv::addWeighted(const cv::_InputArray &, double, const cv::_InputArray &, double, double, const cv::_OutputArray &, int)                                                                                                                                   /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<matop.obj>     cv::bitwise_and(const cv::_InputArray &, const cv::_InputArray &, const cv::_OutputArray &, const cv::_InputArray &)                                                                                                                                       /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<matop.obj>     cv::bitwise_not(const cv::_InputArray &, const cv::_OutputArray &, const cv::_InputArray &)                                                                                                                                                                /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<matop.obj>     cv::bitwise_xor(const cv::_InputArray &, const cv::_InputArray &, const cv::_OutputArray &, const cv::_InputArray &)                                                                                                                                       /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<matop.obj>     cv::setIdentity(const cv::_OutputArray &, const cv::Scalar_<double> &)                                                                                                                                                                                     /home/etah/project/8800n/DVRRDK_04.01.00.02_8800N/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/destLib.ae674<matop.obj>     cv::_OutputArray::_OutputArray(cv::Mat &)       

 

 

 

相关符号的定义 在cv.hpp里面 关键代码如下:

class CV_EXPORTS CvSepFilter : public CvBaseImageFilter {

public:     CvSepFilter();    

 CvSepFilter(

int _max_width,

int _src_type, int _dst_type,                 

 const CvMat* _kx, const CvMat* _ky,                 

CvPoint _anchor=cvPoint(-1,-1),                 

 int _border_mode=IPL_BORDER_REPLICATE,                 

CvScalar _border_value=cvScalarAll(0) );    

virtual ~CvSepFilter();

。。。。。。