MacOS Installation #243

Open
opened 2025-05-07 00:21:17 +02:00 by ghost · 0 comments
ghost commented 2025-05-07 00:21:17 +02:00 (Migrated from github.com)

The steps linked on this page do not work for the MacOS installation, and throw the following error when make is called:

Livox-SDK/sdk_core/include/third_party/spdlog/spdlog/fmt/bundled/format.h:416:5: note: in instantiation of member function 'fmt::basic_string_view<fmt::char8_t>::basic_string_view' requested here
  416 |     basic_string_view<char8_t>(reinterpret_cast<const char8_t*>(s)) {}
      |     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
2 errors generated.
make[2]: *** [sdk_core/CMakeFiles/livox_sdk_static.dir/src/base/io_loop.cpp.o] Error 1
make[1]: *** [sdk_core/CMakeFiles/livox_sdk_static.dir/all] Error 2

Is there any workaround for this? I am currently trying to stream data from the LiDAR to my Macbook.

The steps linked on [this](https://github.com/Livox-SDK/Livox-SDK/wiki/The-installation-of-Livox-SDK-on-Linux-32-bit-system-and-Mac) page do not work for the MacOS installation, and throw the following error when `make` is called: ``` Livox-SDK/sdk_core/include/third_party/spdlog/spdlog/fmt/bundled/format.h:416:5: note: in instantiation of member function 'fmt::basic_string_view<fmt::char8_t>::basic_string_view' requested here 416 | basic_string_view<char8_t>(reinterpret_cast<const char8_t*>(s)) {} | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here 23 | struct _LIBCPP_TEMPLATE_VIS char_traits; | ^ 2 errors generated. make[2]: *** [sdk_core/CMakeFiles/livox_sdk_static.dir/src/base/io_loop.cpp.o] Error 1 make[1]: *** [sdk_core/CMakeFiles/livox_sdk_static.dir/all] Error 2 ``` Is there any workaround for this? I am currently trying to stream data from the LiDAR to my Macbook.
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mmr/Livox-SDK#243