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

Ubuntu 24.04 Compatibility #76

Open
JoLichtenfeld opened this issue May 8, 2024 · 3 comments · May be fixed by #85
Open

Ubuntu 24.04 Compatibility #76

JoLichtenfeld opened this issue May 8, 2024 · 3 comments · May be fixed by #85

Comments

@JoLichtenfeld
Copy link

Hello,

is this SDK compatible with Ubuntu 24.04 / do you have plans to port it?

Thanks!

@porizou
Copy link

porizou commented Jun 22, 2024

Hi

I am using the LIVOX MID360 with Ubuntu 24.04 LTS and ROS2 Jazzy.
By adding <cstdint> to define.h and file_manager.h, I was able to build and use the Livox-SDK2 on Ubuntu 24.04.

diff --git a/sdk_core/comm/define.h b/sdk_core/comm/define.h
index 66996bf..fa4ce9f 100644
--- a/sdk_core/comm/define.h
+++ b/sdk_core/comm/define.h
@@ -33,6 +33,8 @@
 #include <atomic>
 
 #include "livox_lidar_def.h"
+#include <cstdint>  // add
+
 
 namespace livox {
 namespace lidar {
diff --git a/sdk_core/logger_handler/file_manager.h b/sdk_core/logger_handler/file_manager.h
index 242a431..21ac536 100644
--- a/sdk_core/logger_handler/file_manager.h
+++ b/sdk_core/logger_handler/file_manager.h
@@ -28,6 +28,7 @@
 #include <string>
 #include <vector>
 #include <map>
+#include <cstdint>  // add

@JoLichtenfeld
Copy link
Author

Thanks, works for me as well.

@celaraze
Copy link

celaraze commented Jul 1, 2024

Very helpful, Thanks.

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

Successfully merging a pull request may close this issue.

3 participants