From: Muhammad on 28 May 2010 05:23 Dear all, I am new in Matlab, I download a source code from a website that contain lap.cpp file, and it asked to compile that file via mex, when I compile the file, occurs some error as follow: Error lap.cpp: 115 undeclared identifier `new' Error lap.cpp: 115 operands of = have illegal types `pointer to int' and `int' Warning lap.cpp: 115 possible usage of new before definition Error lap.cpp: 115 syntax error; found `row' expecting `;' Error lap.cpp: 115 illegal use of type name `row' Error lap.cpp: 115 type error: pointer expected Warning lap.cpp: 115 Statement has no effect Error lap.cpp: 116 operands of = have illegal types `pointer to int' and `int' Error lap.cpp: 116 syntax error; found `col' expecting `;' Error lap.cpp: 116 illegal use of type name `col' Error lap.cpp: 116 type error: pointer expected Warning lap.cpp: 116 Statement has no effect Error lap.cpp: 117 operands of = have illegal types `pointer to int' and `int' Error lap.cpp: 117 syntax error; found `col' expecting `;' Error lap.cpp: 117 illegal use of type name `col' Error lap.cpp: 117 type error: pointer expected Warning lap.cpp: 117 Statement has no effect Error lap.cpp: 118 operands of = have illegal types `pointer to int' and `int' Error lap.cpp: 118 syntax error; found `cost' expecting `;' Error lap.cpp: 118 illegal use of type name `cost' Error lap.cpp: 118 type error: pointer expected Warning lap.cpp: 118 Statement has no effect Error lap.cpp: 119 operands of = have illegal types `pointer to int' and `int' Error lap.cpp: 119 syntax error; found `row' expecting `;' Error lap.cpp: 119 illegal use of type name `row' Error lap.cpp: 119 too many errors could somebody help me to overcome this problem, Thank you very much for your help and I am very appreciate it. Best regards
|
Pages: 1 Prev: plot point on image Next: fmincon with an integer parameter |