kfoynt Δημοσ. 18 Ιουλίου 2010 Δημοσ. 18 Ιουλίου 2010 Καλησπέρα Προσπαθώ να κάνω compile σε κάποιο αρχείο που περιέχει κάποια engine calls αλλα....δεν... In file included from ../../../matlab/extern/include/engine.h:45, from exampleMtxFree.c:27: ../../../matlab/extern/include/matrix.h:303:22: error: tmwtypes.h: No such file or directory In file included from ../../../matlab/extern/include/engine.h:45, from exampleMtxFree.c:27: ../../../matlab/extern/include/matrix.h:318: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxLogical’ ../../../matlab/extern/include/matrix.h:330: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char16_t’ ../../../matlab/extern/include/matrix.h:337: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxChar’ In file included from ../../../matlab/extern/include/engine.h:45, from exampleMtxFree.c:27: ../../../matlab/extern/include/matrix.h:504: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsNumeric’ ../../../matlab/extern/include/matrix.h:510: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsCell’ ../../../matlab/extern/include/matrix.h:516: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsLogical’ ../../../matlab/extern/include/matrix.h:522: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsChar’ ../../../matlab/extern/include/matrix.h:528: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsStruct’ ../../../matlab/extern/include/matrix.h:534: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsOpaque’ ../../../matlab/extern/include/matrix.h:540: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsFunctionHandle’ ../../../matlab/extern/include/matrix.h:548: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsObject’ ../../../matlab/extern/include/matrix.h:578: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsComplex’ ../../../matlab/extern/include/matrix.h:584: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsSparse’ ../../../matlab/extern/include/matrix.h:591: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsDouble’ ../../../matlab/extern/include/matrix.h:598: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsSingle’ ../../../matlab/extern/include/matrix.h:605: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsInt8’ ../../../matlab/extern/include/matrix.h:612: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsUint8’ ../../../matlab/extern/include/matrix.h:619: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsInt16’ ../../../matlab/extern/include/matrix.h:626: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsUint16’ ../../../matlab/extern/include/matrix.h:633: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsInt32’ ../../../matlab/extern/include/matrix.h:640: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsUint32’ ../../../matlab/extern/include/matrix.h:647: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsInt64’ ../../../matlab/extern/include/matrix.h:654: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsUint64’ ../../../matlab/extern/include/matrix.h:660: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxGetNumberOfDimensions’ ../../../matlab/extern/include/matrix.h:672: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ../../../matlab/extern/include/matrix.h:730: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ../../../matlab/extern/include/matrix.h:779: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsFromGlobalWS’ ../../../matlab/extern/include/matrix.h:785: error: expected declaration specifiers or ‘...’ before ‘bool’ ../../../matlab/extern/include/matrix.h:797: error: expected declaration specifiers or ‘...’ before ‘mwSize’ ../../../matlab/extern/include/matrix.h:809: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsEmpty’ ../../../matlab/extern/include/matrix.h:817: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ../../../matlab/extern/include/matrix.h:823: error: expected declaration specifiers or ‘...’ before ‘mwIndex’ ../../../matlab/extern/include/matrix.h:829: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ../../../matlab/extern/include/matrix.h:835: error: expected declaration specifiers or ‘...’ before ‘mwIndex’ ../../../matlab/extern/include/matrix.h:841: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxGetNzmax’ ../../../matlab/extern/include/matrix.h:847: error: expected declaration specifiers or ‘...’ before ‘mwSize’ ../../../matlab/extern/include/matrix.h:860: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxCalcSingleSubscript’ ../../../matlab/extern/include/matrix.h:874: error: expected declaration specifiers or ‘...’ before ‘mwIndex’ ../../../matlab/extern/include/matrix.h:880: error: expected declaration specifiers or ‘...’ before ‘mwIndex’ ../../../matlab/extern/include/matrix.h:899: error: expected declaration specifiers or ‘...’ before ‘mwIndex’ ../../../matlab/extern/include/matrix.h:905: error: expected declaration specifiers or ‘...’ before ‘mwIndex’ ../../../matlab/extern/include/matrix.h:913: error: expected declaration specifiers or ‘...’ before ‘mwIndex’ ../../../matlab/extern/include/matrix.h:920: error: expected declaration specifiers or ‘...’ before ‘mwIndex’ ../../../matlab/extern/include/matrix.h:930: error: expected declaration specifiers or ‘...’ before ‘mwIndex’ ../../../matlab/extern/include/matrix.h:938: error: expected declaration specifiers or ‘...’ before ‘mwIndex’ ../../../matlab/extern/include/matrix.h:950: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsClass’ ../../../matlab/extern/include/matrix.h:962: error: expected ‘)’ before ‘m’ ../../../matlab/extern/include/matrix.h:971: error: expected declaration specifiers or ‘...’ before ‘mwSize’ ../../../matlab/extern/include/matrix.h:978: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token ../../../matlab/extern/include/matrix.h:993: error: expected ‘)’ before ‘ndim’ ../../../matlab/extern/include/matrix.h:1000: error: expected ‘)’ before ‘ndim’ ../../../matlab/extern/include/matrix.h:1007: error: expected ‘)’ before ‘m’ ../../../matlab/extern/include/matrix.h:1013: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ../../../matlab/extern/include/matrix.h:1019: error: expected ‘)’ before ‘ndim’ ../../../matlab/extern/include/matrix.h:1029: error: expected ‘)’ before ‘m’ ../../../matlab/extern/include/matrix.h:1038: error: expected ‘)’ before ‘value’ ../../../matlab/extern/include/matrix.h:1044: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsLogicalScalar’ ../../../matlab/extern/include/matrix.h:1050: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsLogicalScalarTrue’ ../../../matlab/extern/include/matrix.h:1066: error: expected ‘)’ before ‘m’ ../../../matlab/extern/include/matrix.h:1072: error: expected ‘)’ before ‘m’ ../../../matlab/extern/include/matrix.h:1080: error: expected declaration specifiers or ‘...’ before ‘mwSize’ ../../../matlab/extern/include/matrix.h:1091: error: expected declaration specifiers or ‘...’ before ‘mwSize’ ../../../matlab/extern/include/matrix.h:1107: error: expected declaration specifiers or ‘...’ before ‘mwSize’ ../../../matlab/extern/include/matrix.h:1120: error: expected ‘)’ before ‘m’ ../../../matlab/extern/include/matrix.h:1127: error: expected ‘)’ before ‘m’ ../../../matlab/extern/include/matrix.h:1134: error: expected ‘)’ before ‘ndim’ ../../../matlab/extern/include/matrix.h:1148: error: expected ‘)’ before ‘ndim’ ../../../matlab/extern/include/matrix.h:1212: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsFinite’ ../../../matlab/extern/include/matrix.h:1220: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsInf’ ../../../matlab/extern/include/matrix.h:1228: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxIsNaN’ In file included from exampleMtxFree.c:27: ../../../matlab/extern/include/engine.h:76: error: expected declaration specifiers or ‘...’ before ‘bool’ ../../../matlab/extern/include/engine.h:85: error: expected declaration specifiers or ‘...’ before ‘bool’ έχω τσεκάρει τα errors, πχ, για το tmwtypes.h όντως υπάρχει στο directory!! γνωρίζει μήπως κάποιος????
Προτεινόμενες αναρτήσεις
Αρχειοθετημένο
Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.