Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error with srrg2_slam_interfaces #4

Open
gitmaxtseng opened this issue Sep 8, 2021 · 0 comments
Open

build error with srrg2_slam_interfaces #4

gitmaxtseng opened this issue Sep 8, 2021 · 0 comments

Comments

@gitmaxtseng
Copy link

Hi,
Thanks for sharing slam work. But I build error with srrg2_slam_interfaces.
Could you help me to solve it?
Thanks!
The issue is the same as followings:
rvp-group/srrg2_slam_interfaces#2

Error:

srrg2_slam_interfaces/src/srrg2_slam_interfaces/mapping/local_map.h:16:10: error: ‘void srrg2_slam_interfaces::DynamicPropertyContainerOwner::draw(srrg2_core::ViewerCanvasPtr) const’ marked ‘override’, but does not override
void draw(srrg2_core::ViewerCanvasPtr canvas) const override;

srrg2_slam_interfaces/src/srrg2_slam_interfaces/system/multi_graph_slam.h:121:7: error: reference to ‘setPlatform’ is ambiguous
BaseType::setPlatform(platform_);

srrg2_slam_interfaces/registration/aligners/multi_aligner_impl.cpp:298:8: error: ‘void srrg2_slam_interfaces::MultiAlignerBase_<VariableType_>::draw(srrg2_core::ViewerCanvasPtr) const [with VariableType_ = srrg2_solver::VariableSE2AD_<srrg2_solver::VariableSE2_<(srrg2_solver::VariableSE2Base::PerturbationSide)2> >; srrg2_core::ViewerCanvasPtr = std::shared_ptr<srrg2_core::ViewerCanvas>]’ marked ‘override’, but does not override
void MultiAlignerBase_<VariableType_>::draw(srrg2_core::ViewerCanvasPtr canvas_) const {

/srrg2_slam_interfaces/initializers/initializer_camera.h:246:20: error: ‘using element_type = class srrg2_core::CameraMatrixOwner_<3> {aka class srrg2_core::CameraMatrixOwner_<3>}’ has no member named ‘param_canvas_rows’; did you mean ‘_canvas_rows’?
cmowner->param_canvas_rows.setValue(camera_info_msg->rows.value());

srrg2_slam_interfaces/src/srrg2_slam_interfaces/initializers/initializer_camera.h:247:20: error: ‘using element_type = class srrg2_core::CameraMatrixOwner_<3> {aka class srrg2_core::CameraMatrixOwner_<3>}’ has no member named ‘param_canvas_cols’; did you mean ‘_canvas_cols’?
cmowner->param_canvas_cols.setValue(camera_info_msg->cols.value());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant