No such file or directory

Hi, I am getting no such file or directory error while trying to build the hwdef.dat file using wsl,ubuntu. I looked into it and found that files in the “module” folder in the cloned repository are not being included. Can anyone help to resolve this error? Did I do something wrong while cloning the repository.
Embedding file bootloader.bin:/home/kala/ap_periph/Tools/bootloaders/F412_LED_bl.bin
[ 29/549] Compiling libraries/AP_Airspeed/AP_Airspeed_UAVCAN.cpp
[ 43/549] Compiling libraries/AP_Baro/AP_Baro_UAVCAN.cpp
[ 74/549] Compiling libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp
[ 79/549] Compiling libraries/AP_CANManager/AP_SLCANIface.cpp
[ 80/549] Compiling libraries/AP_CANManager/AP_CANTester.cpp
In file included from …/…/libraries/AP_Airspeed/AP_Airspeed_UAVCAN.h:13,
from …/…/libraries/AP_Airspeed/AP_Airspeed_UAVCAN.cpp:1:
…/…/libraries/AP_UAVCAN/AP_UAVCAN.h:23:10: fatal error: uavcan/uavcan.hpp: No such file or directory
23 | #include <uavcan/uavcan.hpp>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.

In file included from …/…/libraries/AP_Baro/AP_Baro_UAVCAN.h:7,
from …/…/libraries/AP_Baro/AP_Baro_UAVCAN.cpp:1:
…/…/libraries/AP_UAVCAN/AP_UAVCAN.h:23:10: fatal error: uavcan/uavcan.hpp: No such file or directory
23 | #include <uavcan/uavcan.hpp>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.

In file included from …/…/libraries/AP_CANManager/AP_CANTester.h:20,
from …/…/libraries/AP_CANManager/AP_CANTester.cpp:23:
…/…/libraries/AP_UAVCAN/AP_UAVCAN.h:23:10: fatal error: uavcan/uavcan.hpp: No such file or directory
23 | #include <uavcan/uavcan.hpp>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.

In file included from …/…/libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.h:6,
from …/…/libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp:7:
…/…/libraries/AP_UAVCAN/AP_UAVCAN.h:23:10: fatal error: uavcan/uavcan.hpp: No such file or directory
23 | #include <uavcan/uavcan.hpp>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.

Waf: Leaving directory `/home/kala/ap_periph/build/F412_LED’
Build failed
→ task in ‘objs/AP_Airspeed’ failed (exit status 1):
{task 140342185576928: cxx AP_Airspeed_UAVCAN.cpp → AP_Airspeed_UAVCAN.cpp.0.o}
(run with -v to display more information)
→ task in ‘objs/AP_Baro’ failed (exit status 1):
{task 140342185514192: cxx AP_Baro_UAVCAN.cpp → AP_Baro_UAVCAN.cpp.0.o}
(run with -v to display more information)
→ task in ‘objs/AP_CANManager’ failed (exit status 1):
{task 140342185357408: cxx AP_CANTester.cpp → AP_CANTester.cpp.0.o}
(run with -v to display more information)
→ task in ‘objs/AP_BattMonitor’ failed (exit status 1):
{task 140342185351360: cxx AP_BattMonitor_UAVCAN.cpp → AP_BattMonitor_UAVCAN.cpp.0.o}
(run with -v to display more information)

Did you do:
git submodule update --init --recursive

yes, I did that when cloning the repository

Do it again, something went wrong.

Done again… but getting the same error

Used ./waf configure --board boardname and ./waf AP_Periph to build the hwdef.dat file.
Here is the hwdef.dat file written for uavcan battery info. please once check whether it is correct or not
New Text Document.txt (2.0 KB)

It works for
fatal error: canard/interface.h: No such file or directory
thanks

Waf clean
git submodule update —init —recursive

And retest