mdrwiega / qr_detector Goto Github PK
View Code? Open in Web Editor NEWQR codes detector for ROS
License: Other
QR codes detector for ROS
License: Other
Hi, do i need to install anything else to use your package? During the catkin_make this happen:
/home/carlos/catkin_ws/src/qr_detector/include/qr_detector/detector.h:14:18: fatal error: zbar.h: Arquivo ou diretório não encontrado compilation terminated. qr_detector/CMakeFiles/qr_detector_nodelet.dir/build.make:86: recipe for target 'qr_detector/CMakeFiles/qr_detector_nodelet.dir/src/detector.cpp.o' failed make[2]: *** [qr_detector/CMakeFiles/qr_detector_nodelet.dir/src/detector.cpp.o] Error 1 make[2]: ** Esperando que outros processos terminem. In file included from /home/carlos/catkin_ws/src/qr_detector/include/qr_detector/qr_detector_nodelet.h:14:0, from /home/carlos/catkin_ws/src/qr_detector/src/qr_detector_nodelet.cpp:8: /home/carlos/catkin_ws/src/qr_detector/include/qr_detector/detector.h:14:18: fatal error: zbar.h: Arquivo ou diretório não encontrado compilation terminated. qr_detector/CMakeFiles/qr_detector_nodelet.dir/build.make:62: recipe for target 'qr_detector/CMakeFiles/qr_detector_nodelet.dir/src/qr_detector_nodelet.cpp.o' failed make[2]: *** [qr_detector/CMakeFiles/qr_detector_nodelet.dir/src/qr_detector_nodelet.cpp.o] Error 1 CMakeFiles/Makefile2:3819: recipe for target 'qr_detector/CMakeFiles/qr_detector_nodelet.dir/all' failed make[1]: *** [qr_detector/CMakeFiles/qr_detector_nodelet.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j8 -l8" failed
Thank you!
hi,
I tried to catkin_make but it gave me these errors:
[ 86%] Built target hmi_node_generate_messages
In file included from /opt/ros/melodic/include/ros/serialization.h:37:0,
from /opt/ros/melodic/include/ros/publisher.h:34,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/prostrain/catkin_ws/src/qr_detector/include/qr_detector/qr_detector_nodelet.h:3,
from /home/prostrain/catkin_ws/src/qr_detector/src/qr_detector_nodelet.cpp:1:
/opt/ros/melodic/include/ros/message_traits.h: In instantiation of ‘static const char* ros::message_traits::MD5Sum::value(const M&) [with M = std::__cxx11::basic_string]’:
/opt/ros/melodic/include/ros/message_traits.h:254:102: required from ‘const char* ros::message_traits::md5sum(const M&) [with M = std::__cxx11::basic_string]’
/opt/ros/melodic/include/ros/publisher.h:116:38: required from ‘void ros::Publisher::publish(const M&) const [with M = std::__cxx11::basic_string]’
/home/prostrain/catkin_ws/src/qr_detector/src/qr_detector_nodelet.cpp:64:40: required from here
/opt/ros/melodic/include/ros/message_traits.h:125:14: error: ‘const class std::__cxx11::basic_string’ has no member named ‘__getMD5Sum’
return m.__getMD5Sum().c_str();
~~^~~~~~~~~~~
/opt/ros/melodic/include/ros/message_traits.h: In instantiation of ‘static const char* ros::message_traits::DataType::value(const M&) [with M = std::__cxx11::basic_string]’:
/opt/ros/melodic/include/ros/message_traits.h:263:104: required from ‘const char* ros::message_traits::datatype(const M&) [with M = std::__cxx11::basic_string]’
/opt/ros/melodic/include/ros/publisher.h:118:11: required from ‘void ros::Publisher::publish(const M&) const [with M = std::__cxx11::basic_string]’
/home/prostrain/catkin_ws/src/qr_detector/src/qr_detector_nodelet.cpp:64:40: required from here
/opt/ros/melodic/include/ros/message_traits.h:142:14: error: ‘const class std::__cxx11::basic_string’ has no member named ‘__getDataType’
return m.__getDataType().c_str();
~~^~~~~~~~~~~~~
qr_detector/CMakeFiles/qr_detector_nodelet.dir/build.make:62: recipe for target 'qr_detector/CMakeFiles/qr_detector_nodelet.dir/src/qr_detector_nodelet.cpp.o' failed
make[2]: *** [qr_detector/CMakeFiles/qr_detector_nodelet.dir/src/qr_detector_nodelet.cpp.o] Error 1
CMakeFiles/Makefile2:1477: recipe for target 'qr_detector/CMakeFiles/qr_detector_nodelet.dir/all' failed
make[1]: *** [qr_detector/CMakeFiles/qr_detector_nodelet.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
[ 86%] Built target hmi_node_generate_messages
In file included from /opt/ros/melodic/include/ros/serialization.h:37:0,
from /opt/ros/melodic/include/ros/publisher.h:34,
from /opt/ros/melodic/include/ros/node_handle.h:32,
from /opt/ros/melodic/include/ros/ros.h:45,
from /home/prostrain/catkin_ws/src/qr_detector/include/qr_detector/qr_detector_nodelet.h:3,
from /home/prostrain/catkin_ws/src/qr_detector/src/qr_detector_nodelet.cpp:1:
/opt/ros/melodic/include/ros/message_traits.h: In instantiation of ‘static const char* ros::message_traits::MD5Sum::value(const M&) [with M = std::__cxx11::basic_string]’:
/opt/ros/melodic/include/ros/message_traits.h:254:102: required from ‘const char* ros::message_traits::md5sum(const M&) [with M = std::__cxx11::basic_string]’
/opt/ros/melodic/include/ros/publisher.h:116:38: required from ‘void ros::Publisher::publish(const M&) const [with M = std::__cxx11::basic_string]’
/home/prostrain/catkin_ws/src/qr_detector/src/qr_detector_nodelet.cpp:64:40: required from here
/opt/ros/melodic/include/ros/message_traits.h:125:14: error: ‘const class std::__cxx11::basic_string’ has no member named ‘__getMD5Sum’
return m.__getMD5Sum().c_str();
~~^~~~~~~~~~~
/opt/ros/melodic/include/ros/message_traits.h: In instantiation of ‘static const char* ros::message_traits::DataType::value(const M&) [with M = std::__cxx11::basic_string]’:
/opt/ros/melodic/include/ros/message_traits.h:263:104: required from ‘const char* ros::message_traits::datatype(const M&) [with M = std::__cxx11::basic_string]’
/opt/ros/melodic/include/ros/publisher.h:118:11: required from ‘void ros::Publisher::publish(const M&) const [with M = std::__cxx11::basic_string]’
/home/prostrain/catkin_ws/src/qr_detector/src/qr_detector_nodelet.cpp:64:40: required from here
/opt/ros/melodic/include/ros/message_traits.h:142:14: error: ‘const class std::__cxx11::basic_string’ has no member named ‘__getDataType’
return m.__getDataType().c_str();
~~^~~~~~~~~~~~~
qr_detector/CMakeFiles/qr_detector_nodelet.dir/build.make:62: recipe for target 'qr_detector/CMakeFiles/qr_detector_nodelet.dir/src/qr_detector_nodelet.cpp.o' failed
make[2]: *** [qr_detector/CMakeFiles/qr_detector_nodelet.dir/src/qr_detector_nodelet.cpp.o] Error 1
CMakeFiles/Makefile2:1477: recipe for target 'qr_detector/CMakeFiles/qr_detector_nodelet.dir/all' failed
make[1]: *** [qr_detector/CMakeFiles/qr_detector_nodelet.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
Do you have any ideas about it? I am a newbie on this ros application. Thank you in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.