2017-01-02 10 views
0

mx_minimum_power.cpp은 다음 디렉토리에있는 파일을Eigen 라이브러리의 Eigenvalues ​​디렉토리에있는 .h 파일에서 많은 구문 오류가있는 것으로 보입니까?

D:\thesis library.Data\ALOS-PALSAR 12x2\San Francisco L 12x2 

14 헤더 파일은 다음 디렉토리에 있습니다

D:\thesis library.Data\ALOS-PALSAR 12x2\San Francisco L 12x2\Eigen\Eigenvalues 

그래서 상대 경로가 Eigen\Eigenvalues하고 내가 그들을 포함 시켰습니다 전처리 기는 다음과 같습니다.

이제 matlab 명령 창에 다음을 입력하십시오.

mex -g mx_minimum_power.cpp 

나는 다음과 같은 얻을 :

Building with 'Microsoft Visual C++ 2013 Professional'. 
Error using mex 
mx_minimum_power.cpp 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(20) : error C2143: syntax error : missing 
';' before '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(20) : error C2059: syntax error : '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(20) : error C2065: 'MatrixType' : 
undeclared identifier 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(20) : error C2923: 
'Eigen::internal::HessenbergDecompositionMatrixHReturnType' : 'MatrixType' is not a valid 
template type argument for parameter 'MatrixType' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(21) : error C2143: syntax error : missing 
';' before '{' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(21) : error C2447: '{' : missing function 
header (old-style formal list?) 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(74) : error C2146: syntax error : missing 
';' before identifier 'Index' 
     d:\thesis library.data\alos-palsar 12x2\san francisco l 
     12x2\eigen\eigenvalues\./HessenbergDecomposition.h(279) : see reference to class 
     template instantiation 'Eigen::HessenbergDecomposition<_MatrixType>' being compiled 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(74) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(74) : error C2868: 
'Eigen::HessenbergDecomposition<_MatrixType>::Index' : illegal syntax for using-declaration; 
expected qualified-name 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(82) : error C2143: syntax error : missing 
';' before '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(82) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(82) : error C2238: unexpected token(s) 
preceding ';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(85) : error C2143: syntax error : missing 
';' before '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(85) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(85) : error C2653: 'CoeffVectorType' : is 
not a class or namespace name 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(85) : error C2238: unexpected token(s) 
preceding ';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(119) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(119) : error C2143: syntax error : missing 
',' before '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(152) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(152) : error C2143: syntax error : missing 
',' before '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(179) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(179) : error C2143: syntax error : missing 
';' before '&' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(180) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(183) : warning C4183: 
'householderCoefficients': missing return type; assumed to be a member function returning 
'int' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(234) : error C2146: syntax error : missing 
';' before identifier 'matrixQ' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(234) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(235) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(240) : warning C4183: 'matrixQ': missing 
return type; assumed to be a member function returning 'int' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(270) : error C2059: syntax error : '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(270) : error C2238: unexpected token(s) 
preceding ';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(271) : error C2143: syntax error : missing 
';' before '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(271) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(271) : error C2238: unexpected token(s) 
preceding ';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(272) : error C2061: syntax error : 
identifier 'CoeffVectorType' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(276) : error C2146: syntax error : missing 
';' before identifier 'm_hCoeffs' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(276) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(277) : error C2146: syntax error : missing 
';' before identifier 'm_temp' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(277) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(294) : error C2061: syntax error : 
identifier 'CoeffVectorType' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(340) : error C2143: syntax error : missing 
',' before '<' 
     d:\thesis library.data\alos-palsar 12x2\san francisco l 
     12x2\eigen\eigenvalues\./HessenbergDecomposition.h(368) : see reference to class 
     template instantiation 
     'Eigen::internal::HessenbergDecompositionMatrixHReturnType<_MatrixType>' being 
     compiled 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(363) : error C2146: syntax error : missing 
';' before identifier 'rows' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(363) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(363) : warning C4183: 'rows': missing 
return type; assumed to be a member function returning 'int' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(364) : error C2146: syntax error : missing 
';' before identifier 'cols' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(364) : error C4430: missing type specifier 
- int assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./HessenbergDecomposition.h(364) : warning C4183: 'cols': missing 
return type; assumed to be a member function returning 'int' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(65) : error C2143: syntax error : missing ';' before 
'<' 
     d:\thesis library.data\alos-palsar 12x2\san francisco l 
     12x2\eigen\eigenvalues\./ComplexSchur.h(260) : see reference to class template 
     instantiation 'Eigen::ComplexSchur<_MatrixType>' being compiled 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(65) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(65) : error C2238: unexpected token(s) preceding ';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(66) : error C2146: syntax error : missing ';' before 
identifier 'Index' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(66) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(66) : error C2868: 
'Eigen::ComplexSchur<_MatrixType>::Index' : illegal syntax for using-declaration; expected 
qualified-name 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(74) : error C2065: 'RealScalar' : undeclared 
identifier 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(74) : error C2923: 'std::complex' : 'RealScalar' is 
not a valid template type argument for parameter '_Ty' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(81) : error C2143: syntax error : missing ';' before 
'<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(81) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(81) : error C2238: unexpected token(s) preceding ';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(113) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(113) : error C2143: syntax error : missing ',' before 
'<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(138) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(138) : error C2143: syntax error : missing ';' before 
'&' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(139) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(143) : warning C4183: 'matrixU': missing return type; 
assumed to be a member function returning 'int' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(162) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(162) : error C2143: syntax error : missing ';' before 
'&' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(162) : error C2086: 'const int 
Eigen::ComplexSchur<_MatrixType>::ComplexMatrixType' : redefinition 
     d:\thesis library.data\alos-palsar 12x2\san francisco l 
     12x2\eigen\eigenvalues\./ComplexSchur.h(138) : see declaration of 
     'Eigen::ComplexSchur<_MatrixType>::ComplexMatrixType' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(163) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(166) : warning C4183: 'matrixT': missing return type; 
assumed to be a member function returning 'int' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(191) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(191) : error C2143: syntax error : missing ',' before 
'<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(217) : error C2146: syntax error : missing ';' before 
identifier 'info' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(217) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(218) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(221) : warning C4183: 'info': missing return type; 
assumed to be a member function returning 'int' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(248) : error C2146: syntax error : missing ';' before 
identifier 'm_matT' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(248) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(248) : error C2143: syntax error : missing ';' before 
',' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(248) : error C2238: unexpected token(s) preceding ';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(250) : error C2146: syntax error : missing ';' before 
identifier 'm_info' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(250) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(259) : error C2947: expecting '>' to terminate 
template-argument-list, found '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(259) : error C2993: 
'Eigen::ComplexSchur<_MatrixType>::NumTraits' : illegal type for non-type template parameter 
'IsComplex' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(259) : error C2990: 
'Eigen::internal::complex_schur_reduce_to_hessenberg' : non-class template has already been 
declared as a class template 
     d:\thesis library.data\alos-palsar 12x2\san francisco l 
     12x2\eigen\eigenvalues\./ComplexSchur.h(20) : see declaration of 
     'Eigen::internal::complex_schur_reduce_to_hessenberg' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(259) : error C2079: 'Eigen::Scalar' uses undefined 
struct 'Eigen::internal::complex_schur_reduce_to_hessenberg' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(259) : error C2433: 'Eigen::Scalar' : 'friend' not 
permitted on data declarations 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(259) : error C2059: syntax error : '>' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(259) : error C2143: syntax error : missing ';' before 
'>' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(259) : error C2238: unexpected token(s) preceding ';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(319) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\eigen\eigenvalues\./ComplexSchur.h(319) : error C2143: syntax error : missing ',' before 
'<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(62) : error C2143: syntax error : missing ';' 
before '<' 
     d:\thesis library.data\alos-palsar 12x2\san francisco l 
     12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(255) : see reference to class template 
     instantiation 'Eigen::ComplexEigenSolver<_MatrixType>' being compiled 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(62) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(62) : error C2238: unexpected token(s) preceding 
';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(63) : error C2146: syntax error : missing ';' 
before identifier 'Index' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(63) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(63) : error C2868: 
'Eigen::ComplexEigenSolver<_MatrixType>::Index' : illegal syntax for using-declaration; 
expected qualified-name 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(71) : error C2065: 'RealScalar' : undeclared 
identifier 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(71) : error C2923: 'std::complex' : 'RealScalar' 
is not a valid template type argument for parameter '_Ty' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(78) : error C2143: syntax error : missing ';' 
before '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(78) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(78) : error C2238: unexpected token(s) preceding 
';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(85) : error C2059: syntax error : '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(85) : error C2238: unexpected token(s) preceding 
';' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(126) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(126) : error C2143: syntax error : missing ',' 
before '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(157) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(157) : error C2143: syntax error : missing ';' 
before '&' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(158) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(162) : warning C4183: 'eigenvectors': missing 
return type; assumed to be a member function returning 'int' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(182) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(182) : error C2143: syntax error : missing ';' 
before '&' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(183) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(186) : warning C4183: 'eigenvalues': missing 
return type; assumed to be a member function returning 'int' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(213) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(213) : error C2143: syntax error : missing ',' 
before '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(219) : error C2146: syntax error : missing ';' 
before identifier 'info' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(219) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(220) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(223) : warning C4183: 'info': missing return 
type; assumed to be a member function returning 'int' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(245) : error C2146: syntax error : missing ';' 
before identifier 'm_eivec' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(245) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(246) : error C2146: syntax error : missing ';' 
before identifier 'm_eivalues' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(246) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(250) : error C2146: syntax error : missing ';' 
before identifier 'm_matX' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(250) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(253) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(253) : error C2143: syntax error : missing ',' 
before '&' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(261) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(261) : error C2143: syntax error : missing ',' 
before '<' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(287) : error C4430: missing type specifier - int 
assumed. Note: C++ does not support default-int 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexEigenSolver.h(287) : error C2143: syntax error : missing ',' 
before '&' 
d:\thesis library.data\alos-palsar 12x2\san francisco l 
12x2\Eigen\Eigenvalues\ComplexSchur_LAPACKE.h(84) : error C2065: 'Matrix' : undeclared 
identifier 

이 사실인가요 ??? 구문 오류로 가득 찬 Eigen? (여기 200 오류) !!!

+0

프로젝트에서 Eigen includes를 완전히 제거하면 어떻게됩니까? 그것은 컴파일합니까? – jpo38

+0

@ jpo38 네, 맞습니다. 내가 14 개의 헤더 파일을 모두 포함하는 줄과'namespace eigen'을 사용하는 줄을 모두 변환하면 – sepideh

+0

은 "/"를 "/"로 대체합니다. – YSC

답변

1

은 당신이 아니라 직접 Eigen/src/... 파일을 포함하는데,하지만하지 않습니다는 다음과 같습니다

#include <Eigen/Eigenvalues> 

이 문서 page를 참조하십시오.

+0

그 경우에는 오류가 발생하지 않습니다. 그런 파일이나 디렉토리는 없습니다. . [여기] (http://stackoverflow.com/questions/41430558/how-to-add-header-files-path-relative-to-the-current-file) 그것은 – sepideh

+0

아마도 내가 명백한 상태일지도 모른다. 포함 경로에 고유 위치를 정의하는 데 문제가 있습니까? 파일이나 폴더가 실제로 존재하지 않거나 포함 경로에 올바르게 정의되지 않았기 때문에 해당 파일이나 폴더가 존재하지 않는다고 불평하는 경우. –