-
Notifications
You must be signed in to change notification settings - Fork 197
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
error:registration.registerVisualizationCallback(this->update_visualizer_); #35
Comments
Hello, You need to use my fork of pcl when compiling drl: Check documentation for more information: Have a nice day, |
env catkin build dynamic_robot_localization -j1 --verbose [ 97%] Built target drl_localization zjh@ubuntu18-coco:~/cocobot-six-dynamic-2$ catkin build --get-env dynamic_robot_localization typeset -x HDDL_INSTALL_DIR=/opt/intel/openvino_2021/deployment_tools/inference_engine/external/hddl env catkin build dynamic_robot_localization -j1 --verbose got [ 38%] Building CXX object CMakeFiles/drl_common.dir/src/common/registration_visualizer.cpp.o dynamic_robot_localization-1.2.0 catkin build dynamic_robot_localization -j1 --verbose [ 71%] Building CXX object CMakeFiles/drl_mesh_to_pcd.dir/src/tools/mesh_to_pcd.cpp.o dynamic_robot_localization-melodic-devel -- Checking for module 'libusb-1.0'
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:191 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:218 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:179 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:173 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:161 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:156 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:139 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:231 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:135 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:118 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:245 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:241 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:208 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:166 (add_library):
Some of these libraries may not be found correctly. CMake Warning at /home/zjh/cocobot-six-dynamic/src/dynamic_robot_localization-melodic-devel/CMakeLists.txt:213 (add_library):
Some of these libraries may not be found correctly. -- Generating done [ 36%] Building CXX object CMakeFiles/drl_common.dir/src/common/registration_visualizer.cpp.o Dear God, my life is such a failure. |
Hello, In the log it shows includes from the /usr/include/pcl-1.8 installed from apt (this mixing of includes from /usr and my fork is causing this problem). For compiling drl you need to compile my fork of pcl first. Check the install scripts:
Also, checkout to the last commit of the default branches of drl and my fork of pcl and do a Check also other issues discussing this problem:
Have a nice day :) |
I tried |
thanks
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年3月20日(星期一) 下午3:04
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [carlosmccosta/dynamic_robot_localization] error:registration.registerVisualizationCallback(this->update_visualizer_); (Issue #35)
Hello,
In the log it shows includes from the /usr/include/pcl-1.8 installed from apt (this mixing of includes from /usr and my fork is causing this problem).
For compiling drl you need to compile my fork of pcl first. After compiling and sourcing the catkin setup.bash (this step is very important to ensure cmake uses the includes from my fork of pcl), when you do roscd pcl, it should go to the source folder of my pcl fork. Then, after compiling and sourcing the setup.bash, you can compile drl.
Check the install scripts:
https://github.com/carlosmccosta/dynamic_robot_localization/blob/noetic-devel/install/e_build.bash
https://github.com/carlosmccosta/dynamic_robot_localization#installation-from-source
Also, checkout to the last commit of the default branches of drl and my fork of pcl and do a catkin clean before running my install scripts.
Check also other issues discussing this problem:
Localization failure | Generation of deb files #10 (comment)
build with ros-noetic #20
compile errors #30
Have a nice day :)
I tried
***@***.***:/cocobot-six-dynamic-2$ roscd pcl
***@***.***:/cocobot-six-dynamic-2/src/pcl-pcl-1.8.1-cc-master-all-pr$ ls
you can see it in my log ,sorry is't too many.
thank you for your help,I will try again
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
error: no matching function for call to ‘pcl::Registration<pcl::PointXYZRGBNormal, pcl::PointXYZRGBNormal, float>::registerVisualizationCallback(std::function<void(const pcl::PointCloudpcl::PointXYZRGBNormal&, const std::vector&, const pcl::PointCloudpcl::PointXYZRGBNormal&, const std::vector&)>&)’
registration.registerVisualizationCallback(this->update_visualizer_);
The text was updated successfully, but these errors were encountered: