Following the installation guide for the latest nrf-connect sdk (v2.5.2) I am unable to run the zephyr bsim unit tests for the bluetooth mesh stack
#!/bin/bash export BSIM_OUT_PATH=$HOME/dev/nrf-connect-sdk/tools/bsim/ export BSIM_COMPONENTS_PATH=${BSIM_OUT_PATH}/components export WORK_DIR=${ZEPHYR_BASE}/bsim_out export RESULTS_FILE=${ZEPHYR_BASE}/myresults.xml export SEARCH_PATH=${ZEPHYR_BASE}/tests/bsim/bluetooth/mesh ${ZEPHYR_BASE}/tests/bsim/bluetooth/mesh/compile.sh
I am following the Readme on how to run these tests
I have built and installed babblesim and set the correct paths. It fails with a linking error.
/usr/bin/ld.bfd: cannot find -lSOFTDEVICE_CONTROLLER_LIB_DIR-NOTFOUND/libsoftdevice_controller_multirole.a: No such file or directory /usr/bin/ld.bfd: cannot find -lMPSL_LIB_DIR-NOTFOUND/libmpsl.a: No such file or directory collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
If I do the same thing from the standard zephyr repo (v3.5) it works without issue. So I don't think its something with my setup?