Based on COVESA/dlt-daemon, it only developed and tested with Ubuntu Linux 16 64-bit / Intel PC.
Because of my poor C/C++ coding skill and only need run it on macOS,
I just fix error which raised by cmake
or make
when execute on my macbook.
-
Test on chip:
- Apple Silicon
-
Test on macOS version:
- 12.2.1
- 12.3
- 14.2.1
cd /path/to/workspace/dlt-daemon
mkdir build
cd build
cmake ..
make
optional: sudo make install
optional: sudo ldconfig # in case you executed make install
-
src/lib/dlt_user.c
:- Remove
pthread_setname_np
first argument - Remove
pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
- Remove
-
src/lib/CMakeLists.txt
&src/daemon/CMakeLists.txt
:- Remove
${SOCKET_LIBRARY}
, because do not need-lsocket
- Remove
-
src/offlinelogstorage/dlt_offline_logstorage_behavior.c
:- Remove
return -1;
indlt_logstorage_open_log_output_file
- Remove
-
src/console/logstorage/CMakeLists.txt
:- Remove
add_definitions(-Werror)
, becausedaemon
is deprecated on newer macOS
- Remove