Skip to content

Hi I can't build : #2

@NEAR07

Description

@NEAR07

Errors << botello_aruco_gridboard:make /home/nizhar/botello/botello_ws/logs/botello_aruco_gridboard/build.make.000.log
/home/nizhar/botello/botello_ws/src/botello_aruco_gridboard/src/botello_aruco_gridboard_node.cpp: In member function ‘double botello_aruco_gridboard::BotelloArucoGridboardNode::standardDeviation(std::vector<double, std::allocator >&)’:
/home/nizhar/botello/botello_ws/src/botello_aruco_gridboard/src/botello_aruco_gridboard_node.cpp:338:24: error: ‘accumulate’ is not a member of ‘std’
double mean = std::accumulate(v.begin(), v.end(), 0.0) / v.size();
^~~~~~~~~~
/home/nizhar/botello/botello_ws/src/botello_aruco_gridboard/src/botello_aruco_gridboard_node.cpp:338:24: note: suggested alternative:
In file included from /usr/local/include/opencv4/opencv2/imgproc/imgproc.hpp:48:0,
from /opt/ros/melodic/include/cv_bridge/cv_bridge.h:44,
from /home/nizhar/botello/botello_ws/src/botello_aruco_gridboard/include/botello_aruco_gridboard_node.hpp:8,
from /home/nizhar/botello/botello_ws/src/botello_aruco_gridboard/src/botello_aruco_gridboard_node.cpp:1:
/usr/local/include/opencv4/opencv2/imgproc.hpp:2860:19: note: ‘cv::accumulate’
CV_EXPORTS_W void accumulate( InputArray src, InputOutputArray dst,
^~~~~~~~~~
/home/nizhar/botello/botello_ws/src/botello_aruco_gridboard/src/botello_aruco_gridboard_node.cpp:342:26: error: ‘inner_product’ is not a member of ‘std’
double sq_sum = std::inner_product(diff.begin(), diff.end(), diff.begin(), 0.0);
^~~~~~~~~~~~~
make[2]: *** [CMakeFiles/botello_aruco_gridboard_node.dir/src/botello_aruco_gridboard_node.cpp.o] Error 1
make[1]: *** [CMakeFiles/botello_aruco_gridboard_node.dir/all] Error 2
make: *** [all] Error 2
cd /home/nizhar/botello/botello_ws/build/botello_aruco_gridboard; catkin build --get-env botello_aruco_gridboard | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed << botello_aruco_gridboard:make [ Exited with code 2 ]
Failed <<< botello_aruco_gridboard [ 5.0 seconds ]


Errors << botello_aruco:make /home/nizhar/botello/botello_ws/logs/botello_aruco/build.make.000.log
/home/nizhar/botello/botello_ws/src/botello_aruco/src/botello_aruco_node.cpp: In member function ‘double botello_aruco::BotelloArucoNode::standardDeviation(std::vector&)’:
/home/nizhar/botello/botello_ws/src/botello_aruco/src/botello_aruco_node.cpp:407:24: error: ‘accumulate’ is not a member of ‘std’
double mean = std::accumulate(v.begin(), v.end(), 0.0) / v.size();
^~~~~~~~~~
/home/nizhar/botello/botello_ws/src/botello_aruco/src/botello_aruco_node.cpp:407:24: note: suggested alternative:
In file included from /home/nizhar/botello/botello_ws/src/botello_aruco/include/botello_aruco_node.hpp:9:0,
from /home/nizhar/botello/botello_ws/src/botello_aruco/src/botello_aruco_node.cpp:1:
/usr/local/include/opencv4/opencv2/imgproc.hpp:2860:19: note: ‘cv::accumulate’
CV_EXPORTS_W void accumulate( InputArray src, InputOutputArray dst,
^~~~~~~~~~
/home/nizhar/botello/botello_ws/src/botello_aruco/src/botello_aruco_node.cpp:411:26: error: ‘inner_product’ is not a member of ‘std’
double sq_sum = std::inner_product(diff.begin(), diff.end(), diff.begin(), 0.0);
^~~~~~~~~~~~~
make[2]: *** [CMakeFiles/botello_aruco_node.dir/src/botello_aruco_node.cpp.o] Error 1
make[1]: *** [CMakeFiles/botello_aruco_node.dir/all] Error 2
make: *** [all] Error 2
cd /home/nizhar/botello/botello_ws/build/botello_aruco; catkin build --get-env botello_aruco | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions