yiakwy / SEMANTIC_VISUAL_SUPPORTED_ODEMETRY

semantic visual slam for monocular and stereo camera devices
Apache License 2.0
247 stars 55 forks source link

'predict' was not declared in this scope #15

Open guozj583 opened 3 years ago

guozj583 commented 3 years ago

hi yiakwy:

I configure the environment in ubuntu18.04 system as you say in README, all is well, and I encounter a error when I make build the project, the error log is as follow:

~/SEMANTIC_VISUAL_SUPPORTED_ODEMETRY/modules/models/linear/line.cpp: In member function 'void svso::models::linear::LinearModel::fit (const MatrixXd&, const VectorXd&)': ~/SEMANTIC_VISUAL_SUPPORTED_ODEMETRY/modules/models/linear/line.cpp:41:5: error: 'predict' was not declared in this scope predict(X, fittedVals); ^~~ ~/SEMANTIC_VISUAL_SUPPORTED_ODEMETRY/modules/models/linear/line.cpp:41:5: note: suggested alternative: 'pselect' predict(X, fittedVals); ^~~ pselect

Is this syntax error ? thanks.