There is an error while compiling ABB driver version 0.0.7
#0 0.706 -- Build files have been written to: /root/jacobi/driver/build
#0 0.728 Scanning dependencies of target example-run
#0 0.735 [ 12%] Building CXX object CMakeFiles/example-run.dir/examples/run.cpp.o
#0 3.445 /root/jacobi/driver/examples/run.cpp: In function βint main(int, char**)β:
#0 3.445 /root/jacobi/driver/examples/run.cpp:37:87: error: no matching function for call to βjacobi::driver::ABBDriver::ABBDriver(<brace-enclosed initializer list>)β
#0 3.445 37 | ABBDriver driver {&planner, args["host"].as<std::string>(), args["port"].as<int>()};
#0 3.445 | ^
#0 3.445 In file included from /root/jacobi/driver/examples/run.cpp:7:
#0 3.445 /root/jacobi/driver/include/jacobi/driver/abb.hpp:46:14: note: candidate: βjacobi::driver::ABBDriver::ABBDriver(jacobi::Planner*, int)β
#0 3.445 46 | explicit ABBDriver(Planner* planner, int port);
#0 3.445 | ^~~~~~~~~
#0 3.445 /root/jacobi/driver/include/jacobi/driver/abb.hpp:46:14: note: candidate expects 2 arguments, 3 provided
#0 5.892 make[2]: *** [CMakeFiles/example-run.dir/build.make:63: CMakeFiles/example-run.dir/examples/run.cpp.o] Error 1
#0 5.892 make[1]: *** [CMakeFiles/Makefile2:82: CMakeFiles/example-run.dir/all] Error 2
#0 5.893 make: *** [Makefile:130: all] Error 2
1 year ago
11 months ago
1 year ago
This indeed somehow slipped through our CI, and should be fixed in v0.0.8 that I've released just now.
0 1 year ago Reply