Project

General

Profile

Actions

Pull request #420

closed

add missing headers to compile successfully on Ubuntu 24.04 LTS (GNU/Linux 6.8.0-1010-raspi aarch64)

Added by Youssef Aboudorra 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Repository URL:
Repository branch:

Description

Hello @Anthony Mallet,

I had to make the following changes to install the component on Ubuntu 24.04 LTS (GNU/Linux 6.8.0-1010-raspi aarch64).
g++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0

diff --git a/codels/job.cc b/codels/job.cc
index 20872e8..1b5b62b 100644
--- a/codels/job.cc
+++ b/codels/job.cc
@@ -26,7 +26,7 @@
 #include <err.h>

 #include "codels.hh" 
-
+#include <stdexcept>

 /* --- camera_job::~camera_job --------------------------------------------- */

diff --git a/codels/slot.cc b/codels/slot.cc
index 5219df7..fe0e818 100644
--- a/codels/slot.cc
+++ b/codels/slot.cc
@@ -29,6 +29,7 @@
 #include <vector>

 #include "codels.hh" 
+#include <stdexcept>

 std::unordered_map<std::string, camera_slot> camera_slot::byname;

Regards,
Youssef

Actions

Also available in: Atom PDF