Hi @maciek-slon and @dudekw,
following rapp-project/rapp-robot-nao#15 (comment), i get a build error on branch wut (missing namespaces)
The produced error is:
/home/nao/ws_rapp_api/src/rapp-robots-api/cpp/implementations/localization.cpp:81:16: error: prototype for 'const void rapp::robot::localization::euler_from_quaternion(const rapp::object::quaternion&, std::array<float, 3u>&)' does not match any in class 'rapp::robot::localization'
const void localization::euler_from_quaternion(const rapp::object::quaternion &rapp_quaternion, std::array<float,3> &euler){
^
In file included from /home/nao/ws_rapp_api/src/rapp-robots-api/cpp/implementations/localization.cpp:3:0:
/home/nao/ws_rapp_api/install/include/rapp-robots-api/localization/localization.hpp:54:24: error: candidate is: std::vector<float> rapp::robot::localization::euler_from_quaternion(rapp::object::quaternion&)
std::vector<float> euler_from_quaternion(rapp::object::quaternion &rapp_quaternion);
^
make[2]: *** [cpp/implementations/CMakeFiles/rapp_robot_localization.dir/localization.cpp.o] Error 1
make[1]: *** [cpp/implementations/CMakeFiles/rapp_robot_localization.dir/all] Error 2
make: *** [all] Error 2
[ 20%] Built target rapp_robot_communication
[ 40%] Built target rapp_robot_info
[ 60%] Building CXX object cpp/implementations/CMakeFiles/rapp_robot_localization.dir/localization.cpp.o
/home/nao/ws_rapp_api/src/rapp-robots-api/cpp/implementations/localization.cpp:81:16: error: prototype for 'const void rapp::robot::localization::euler_from_quaternion(const rapp::object::quaternion&, std::array<float, 3u>&)' does not match any in class 'rapp::robot::localization'
const void localization::euler_from_quaternion(const rapp::object::quaternion &rapp_quaternion, std::array<float,3> &euler){
^
In file included from /home/nao/ws_rapp_api/src/rapp-robots-api/cpp/implementations/localization.cpp:3:0:
/home/nao/ws_rapp_api/install/include/rapp-robots-api/localization/localization.hpp:54:24: error: candidate is: std::vector<float> rapp::robot::localization::euler_from_quaternion(rapp::object::quaternion&)
std::vector<float> euler_from_quaternion(rapp::object::quaternion &rapp_quaternion);
^
make[2]: *** [cpp/implementations/CMakeFiles/rapp_robot_localization.dir/localization.cpp.o] Error 1
make[1]: *** [cpp/implementations/CMakeFiles/rapp_robot_localization.dir/all] Error 2
make: *** [all] Error 2
Can you provide a fix for this?
Hi @maciek-slon and @dudekw,
following rapp-project/rapp-robot-nao#15 (comment), i get a build error on branch wut (missing namespaces)
The produced error is:
Can you provide a fix for this?