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.
在移植opencv的时候,程序中有类似有以下这中代码的时候,编译会出现
>> Compilation failure
src/cvaux/subdir_rules.mk:296: recipe for target 'src/cvaux/cvoneway.obj' failed
>> ../src/cvaux/cvoneway.cpp, line 850: INTERNAL ERROR: Decomposition error
This may be a serious problem. Please contact customer support with a
description of this problem and a sample of the source files that caused this
INTERNAL ERROR message to appear.
Cannot continue compilation - ABORTING!
代码:
cvWriteInt( fs, "nactive_vars", (int)cvSum(active_var_mask).val[0] ); CV_ASSERT((int)cvSum(counts).val[0] == nsamples); CV_CALL( cvConvertScale( &expo, _probs, 1./cvSum( &expo ).val[0] )); doubleSum=cvSum(cvGetSubRect(pImgFG,&mat,r)).val[0]/255.0; total = cvRound(cvSum(npoints).val[0]); aver = cvSum(cvGetSubRect(pFG,&mat,r)).val[0] / area; vol = cvSum(&mat).val[0]; sum = cvSum( &mat ).val[0]; average_diag += cvTrace( U[j] ).val[0]; float sum = (float)cvSum(patch_8u).val[0];
试试升级一下compiler版本。
http://software-dl.ti.com/codegen/non-esd/downloads/download.htm#C6000