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 errors that occur with srrg2_slam_interfaces #5

Open
Kana-Na opened this issue Jul 25, 2023 · 0 comments
Open

Build errors that occur with srrg2_slam_interfaces #5

Kana-Na opened this issue Jul 25, 2023 · 0 comments

Comments

@Kana-Na
Copy link

Kana-Na commented Jul 25, 2023

Hello.

Thanks for sharing this slam.
I want to run this slam and have set up a build environment.
However, I get an error in srrg2_slam_interfaces and cannot build it.
I am using Ubuntu 18.04 and ROS is melodic.
Could you please tell me how to solve this problem?
This problem is the same as the following two

build error with srrg2_slam_interfaces · Issue #4 · srrg-sapienza/srrg2_proslam (github.com)

Build error and Localization mode · Issue #2 · srrg-sapienza/srrg2_slam_interfaces (github.com)

Error:
・In file included from /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/mapping/local_map.cpp:1:0:/home/k-nagao/slam/workspaces/srrg2/src/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;

・In file included from /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/instances.cpp:12:0:/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/system/multi_graph_slam_impl.cpp: In member function ‘void srrg2_slam_interfaces::MultiGraphSLAM_<LoopClosureType_>::compute()’: /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/system/multi_graph_slam_impl.cpp:101:12: error: reference to ‘_platform’ is ambiguous if (!_platform) {

・In file included from /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/instances.cpp:13:0:/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/trackers/multi_tracker.h: In instantiation of ‘class srrg2_slam_interfaces::MultiTrackerBase_<Eigen::Transform<float, 2, 1> >’: /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/instances.cpp:51:5: required from here /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/trackers/multi_tracker_impl.cpp:175:8: error: ‘void srrg2_slam_interfaces::MultiTrackerBase_::draw(srrg2_core::ViewerCanvasPtr) const [with EstimateType_ = Eigen::Transform<float, 2, 1>; srrg2_core::ViewerCanvasPtr = std::shared_ptr<srrg2_core::ViewerCanvas>]’ marked ‘override’, but does not override void MultiTrackerBase_<EstimateType_>::draw(srrg2_core::ViewerCanvasPtr canvas_) const {

・/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/initializers/initializer_camera.h:250:22: 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(image_message->image_rows.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