Issue building code

Hi, I’ve followed the instructions from Windows Development Environment (WSL2-Based) | PX4 Guide (main), but am having issues building the code and am not sure how to resolve and hoping someone can give me some (much needed) guidance. I’ve attached the error output below.

Thanks in advance,
Chris

[main] Building folder: PX4-Autopilot
[build] Starting build
[proc] Executing command: /usr/bin/cmake --build /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default --config MinSizeRel --target all –
[build] [4/15 6% :: 0.018] Linking CXX static library src/modules/logger/libmodules__logger.a
[build] [4/15 13% :: 0.032] Linking CXX static library src/modules/mavlink/libmodules__mavlink.a
[build] [4/15 20% :: 0.053] Linking CXX static library src/modules/simulation/gz_bridge/libmodules__simulation__gz_bridge.a
[build] [4/15 26% :: 0.596] Performing build step for ‘libmicroxrceddsclient_project’
[build] FAILED: src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-build src/modules/uxrce_dds_client/lib/libmicroxrcedds_client.a src/modules/uxrce_dds_client/lib/libmicrocdr.a /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-build /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/lib/libmicroxrcedds_client.a /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/lib/libmicrocdr.a
[build] cd /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-build && /usr/bin/cmake -P /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-build-MinSizeRel.cmake && /usr/bin/cmake -E touch /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-build
[build] CMake Error at /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-build-MinSizeRel.cmake:37 (message):
[build] Command failed: 1
[build]
[build] ‘/usr/bin/cmake’ ‘–build’ ‘.’
[build]
[build] See also
[build]
[build] /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-build-*.log
[build]
[build]
[build] – stdout output is:
[build] [1/1 0% :: 0.000] Re-running CMake…
[build] – Configuring incomplete, errors occurred!
[build] See also “/home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-build/CMakeFiles/CMakeOutput.log”.
[build] FAILED: build.ninja
[build] /usr/bin/cmake --regenerate-during-build -S/home/chrisg/PX4-Autopilot/src/modules/uxrce_dds_client/Micro-XRCE-DDS-Client -B/home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-build
[build]
[build] – stderr output is:
[build] CMake Error at CMakeLists.txt:138 (find_package):
[build] Could not find a configuration file for package “microcdr” that exactly
[build] matches requested version “2.0.1”.
[build]
[build] The following configuration files were considered but not accepted:
[build]
[build] /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-build/temp_install/microcdr-2.0.1/share/microcdr/cmake/microcdrConfig.cmake, version: 2.0.1 (32bit)
[build]
[build]
[build]
[build] ninja: error: rebuilding ‘build.ninja’: subcommand failed
[build]
[build] CMake Error at /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-build-MinSizeRel.cmake:47 (message):
[build] Stopping after outputting logs.
[build]
[build]
[build] ninja: build stopped: subcommand failed.
[proc] The command: /usr/bin/cmake --build /home/chrisg/PX4-Autopilot/build/px4_fmu-v6x_default --config MinSizeRel --target all – exited with code: 1
[driver] Build completed: 00:00:00.661
[build] Build finished with exit code 1