Px4 compilation on apple M1 laptop - uavcan issue

hi,

Pls check the log file attached.
command <>PX4-Autopilot % make px4_fmu-v5x_default (log file is attached. )
I don’t see uavcan/_register* generated. Also there is no error per se. That’s why in vscode ServiceRequest.hpp has resolution error

ServiceRequest.hpp,
#pragma once

#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/module.h>
#include <version/version.h>

#include <uavcan/_register/List_1_0.h> not resolved.

(base) macmachine@macmachine uavcan % pwd
/Users/macmachine/tools/drone_project_idea/px4/suvasis_env/PX4-Autopilot/src/drivers/uavcan
(base) macmachine@macmachine uavcan % ls -l
total 296
-rw-r–r-- 1 macmachine staff 6256 Dec 19 11:32 CMakeLists.txt
-rw-r–r-- 1 macmachine staff 3312 Dec 19 11:32 Kconfig
drwxr-xr-x 8 macmachine staff 256 Dec 19 11:32 actuators
-rw-r–r-- 1 macmachine staff 2764 Dec 19 11:32 allocator.hpp
-rw-r–r-- 1 macmachine staff 2824 Dec 19 11:32 arming_status.cpp
-rw-r–r-- 1 macmachine staff 2751 Dec 19 11:32 arming_status.hpp
-rw-r–r-- 1 macmachine staff 3318 Dec 19 11:32 beep.cpp
-rw-r–r-- 1 macmachine staff 3010 Dec 19 11:32 beep.hpp
drwxr-xr-x 16 macmachine staff 512 Dec 19 11:59 libuavcan
-rw-r–r-- 1 macmachine staff 3290 Dec 19 11:32 logmessage.hpp
-rw-r–r-- 1 macmachine staff 835 Dec 19 11:32 module.yaml
-rw-r–r-- 1 macmachine staff 6270 Dec 19 11:32 rgbled.cpp
-rw-r–r-- 1 macmachine staff 3024 Dec 19 11:32 rgbled.hpp
-rw-r–r-- 1 macmachine staff 2718 Dec 19 11:32 safety_state.cpp
-rw-r–r-- 1 macmachine staff 2747 Dec 19 11:32 safety_state.hpp
drwxr-xr-x 30 macmachine staff 960 Dec 19 11:32 sensors
-rw-r–r-- 1 macmachine staff 2166 Dec 19 11:32 uavcan_driver.hpp
drwxr-xr-x 6 macmachine staff 192 Dec 19 11:32 uavcan_drivers
-rw-r–r-- 1 macmachine staff 39118 Dec 19 11:32 uavcan_main.cpp
-rw-r–r-- 1 macmachine staff 13649 Dec 19 11:32 uavcan_main.hpp
-rw-r–r-- 1 macmachine staff 2516 Dec 19 11:32 uavcan_module.hpp
-rw-r–r-- 1 macmachine staff 9066 Dec 19 11:32 uavcan_params.c
-rw-r–r-- 1 macmachine staff 7373 Dec 19 11:32 uavcan_servers.cpp
-rw-r–r-- 1 macmachine staff 3538 Dec 19 11:32 uavcan_servers.hpp
(base) macmachine@macmachine uavcan %

This is the only warning i saw:
CMake Warning (dev) at CMakeLists.txt:166 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run “cmake --help-policy CMP0148” for policy details. Use
the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at src/drivers/uavcan/libuavcan/libuavcan/CMakeLists.txt:24 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run “cmake --help-policy CMP0148” for policy details. Use
the cmake_policy command to set the policy and suppress this warning.

log.txt (131.6 KB)
Thanks.
suvasis

Have you tried asking for help on the PX4 forum?