Skip to content
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

No such file or directory #include <zed_interfaces/ObjectStamped.h> #9

Closed
saeedarabi92 opened this issue Mar 28, 2020 · 5 comments
Closed
Assignees

Comments

@saeedarabi92
Copy link

Hi,

When I tried to compile the zed-ros-examples with my Jetson TX2, received this error:

/home/nvidia/Aria/src/zed-ros-examples/tutorials/zed_obj_det_sub_tutorial/src/zed_obj_det_sub_tutorial.cpp:28:10: fatal error: zed_interfaces/ObjectStamped.h: No such file or directory #include <zed_interfaces/ObjectStamped.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.

What I am I missing?

Thanks

@Myzhar Myzhar self-assigned this Mar 28, 2020
@Myzhar
Copy link
Member

Myzhar commented Mar 28, 2020

Hi @saeedarabi92
You have surely updated the zed-ros-wrapper repository, but not the zed-ros-examples repository.
Try this:
roscd zed_examples
git pull
Then try to recompile

@saeedarabi92
Copy link
Author

This solved my problem. Thanks. Closing this.

@kuzhang
Copy link

kuzhang commented Jun 29, 2021

Hi Myzhar, I face the same issues. I have tried your suggestion, but it didn't work. Also, I cannot find the .h files inside the zed_interface packages. What did I miss? Thank you.

Hi @saeedarabi92
You have surely updated the zed-ros-wrapper repository, but not the zed-ros-examples repository.
Try this:
roscd zed_examples
git pull
Then try to recompile

@Myzhar
Copy link
Member

Myzhar commented Jun 29, 2021

@kuzhang before compiling try to delet the build and `devel folders in your catkin workspace to clean the CMake cache

@kuzhang
Copy link

kuzhang commented Jun 29, 2021

@kuzhang before compiling try to delet the build and `devel folders in your catkin workspace to clean the CMake cache

Thanks for the prompt reply. I had tried to clean the WS. It didn't work in my case. I found out it is the rosdep problem. Before I had run the

rosdep install --from-paths src --ignore-src -r -y

I feel like the rosdep will look at the wrong place.

So I reinstall the rosdep with

rosdep init

and skip the rosdep install , and execute the

catkin_make -DCMAKE_BUILD_TYPE=Release

and the compiling success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants