-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tooling: Fix building v4l2_camera on Iron
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
oasis_tooling/config/ros2_v4l2_camera/0001-Fix-include-path.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From 7524a550d726a39609346e56acf91646f1d6d728 Mon Sep 17 00:00:00 2001 | ||
From: Garrett Brown <[email protected]> | ||
Date: Fri, 1 Dec 2023 20:48:15 -0800 | ||
Subject: [PATCH] Fix include path | ||
|
||
Error was: | ||
|
||
v4l2_camera.cpp:17:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory | ||
17 | #include <cv_bridge/cv_bridge.h> | ||
| ^~~~~~~~~~~~~~~~~~~~~~~ | ||
--- | ||
src/v4l2_camera.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/v4l2_camera.cpp b/src/v4l2_camera.cpp | ||
index a09767d..e507c39 100644 | ||
--- a/src/v4l2_camera.cpp | ||
+++ b/src/v4l2_camera.cpp | ||
@@ -14,7 +14,7 @@ | ||
|
||
#include "v4l2_camera/v4l2_camera.hpp" | ||
|
||
-#include <cv_bridge/cv_bridge.h> | ||
+#include <cv_bridge/cv_bridge.hpp> | ||
|
||
#include <algorithm> | ||
#include <memory> | ||
-- | ||
2.34.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters