+86-18555129021
contact@oakchina.cn

【36】error: ‘1’ was not declared in this scope

【36】error: ‘1’ was not declared in this scope

报错提示:

设备oak-d-pro ,用的depthai-ros 2.5.3,编译标定工具kalibr的时候一直编译不过。

error: '1' was not declared in this scope

return boost::python::make_function(boost::bind(&BiFunction::getBi, BiFunction(bs->getBiVector(t)),_1)

解决方法:

加个using namespace std