-
Notifications
You must be signed in to change notification settings - Fork 173
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
Export header in devel/include #832
Comments
can you try
??? |
Hi @k-okada and thanks for your answer ! I tryied but it doesn't work. Did it worked on your side ? Best, |
no, could you share your package ? or an example package to reproduce your
problem? I do not want to create sample code from scratch...
…--
◉ Kei Okada
2021年10月5日(火) 18:59 ClementLeBihan ***@***.***>:
Hi @k-okada <https://github.com/k-okada> !
I tryied but it doesn't work. Did it worked on your side ?
Best,
Clément
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#832 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADYNXAYRI3ARR5VMVTJEEDUFLD3BANCNFSM5FJQIJYQ>
.
|
You don't necessary need to create a package, just execute this :
Then checkout in devel/include/jsk_rviz_plugins, you won't see bounding_box_display_common.h for example ... |
That’s expected and I believe there are CMake magic to handle that. So I’d
like to check your example.
2021年10月5日(火) 20:24 ClementLeBihan ***@***.***>:
You don't necessary need to create a package, just execute this :
cd catkin_ws/src/
git clone https://github.com/jsk-ros-pkg/jsk_visualization.git
cd ../
catkin_make```
Then checkout in devel/include/jsk_rviz_plugins, you won't see bounding_box_display_common.h for example ...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#832 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADYNXGONRKG4EV3VAWA5DLUFLN27ANCNFSM5FJQIJYQ>
.
--
--
◉ Kei Okada
|
Here is an example with a test package :
Use this hello world code :
and uncomment When catkin_make is executed, you'll have |
it seems How about building the workspace with install like $ ls /opt/ros/melodic/include/jsk_rviz_plugins/bounding_box_* -alF
-rw-r--r-- 1 root root 3480 10月 17 2020 /opt/ros/melodic/include/jsk_rviz_plugins/bounding_box_array_display.h
-rw-r--r-- 1 root root 3432 10月 17 2020 /opt/ros/melodic/include/jsk_rviz_plugins/bounding_box_display.h
-rw-r--r-- 1 root root 15849 10月 17 2020 /opt/ros/melodic/include/jsk_rviz_plugins/bounding_box_display_common.h Anyway, we should make |
Yes I know release package put the header in include directory, but I wanted to make it works by using source package in catkin workspace. Does'nt seems to work with |
sudo apt update
sudo apt install python-catkin-tools
mkdir test_ws/src -p
cd test_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_rviz_plugins.git
cd ../
catkin config --install
catkin build
# source not devel but install
source install/setup.bash it works for me. [knorth55][melodic-p50][/tmp/test_ws/install/include/jsk_rviz_plugins]
$ ls -alF bounding*
-rw-r--r-- 1 knorth55 knorth55 3480 10月 5 23:35 bounding_box_array_display.h
-rw-r--r-- 1 knorth55 knorth55 3432 10月 5 23:35 bounding_box_display.h
-rw-r--r-- 1 knorth55 knorth55 15849 10月 5 23:35 bounding_box_display_common.h |
@ClementLeBihan please check if #833 solves your problem.
please put error code when you have problem. Is it something like
???
or
on your CMakeLists.txt of your |
Yes it solves my problem :) Thank you for your quick support ! Best, |
oh, i just checked the header file in |
Hi,
I'm trying to use jsk_rviz_plugins objects in an other package, but headers are not found.
To reproduce the error, pull jsk_visualization repo in an empty catkin workspace, launch catkin_make and checkout in devel/include/jsk_rviz_plugins, there is no bounding_box_display_common.h for example.
If I want to use these header from an other package (#include <jsk_rviz_plugins/bounding_box_display_common.h>), what should I do in jsk_rviz_plugins CMakeLists to export headers ?
Thank you for your help,
Best,
Clément
The text was updated successfully, but these errors were encountered: