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

nlohmann/json.hpp #12

Open
Oyefusi-Samuel opened this issue Jan 13, 2025 · 1 comment
Open

nlohmann/json.hpp #12

Oyefusi-Samuel opened this issue Jan 13, 2025 · 1 comment

Comments

@Oyefusi-Samuel
Copy link

Buidl error due to missing dependencies,
/home/sko/ros2_ws/src/ros2_astra_camera/astra_camera/src/ob_camera_info.cpp:14:10: fatal error: nlohmann/json.hpp: No such file or directory
14 | #include <nlohmann/json.hpp>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/astra_camera.dir/build.make:115: CMakeFiles/astra_camera.dir/src/ob_camera_info.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:138: CMakeFiles/astra_camera.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Failed <<< astra_camera [1min 7s, exited with code 2]

Summary: 1 package finished [1min 41s]
1 package failed: astra_camera
1 package had stderr output: astra_camera
sko@ubuntu:~/ros2_ws$

@Oyefusi-Samuel
Copy link
Author

Fixed using
sudo apt install nlohmann-json3-dev

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

No branches or pull requests

1 participant