When building the wireless/zigbee/coordinator bare metal example, I'm getting the same error on Windows 10 with SDK 2.6.12, fresh install of IDE and SDK, following the instructions above.
14:05:33 **** Build of configuration Debug for project jn5189dk6_zigbee_coordinator_bm ****
make -r -j8 all
sh ../tools/ZPSConfig/Source/ZPSConfig -n coordinator -f ../source/Coordinator/Source/coordinator.zpscfg -y; sh ../tools/PDUMConfig/Source/PDUMConfig -z coordinator -e LITTLE_ENDIAN_PROCESSOR -f ../source/Coordinator/Source/coordinator.zpscfg -o ../source/Coordinator/Source; sh ../tools/ZPSConfig/Source/ZPSConfig -n coordinator -t JN518x -l ../libs/libZPSNWK.a -a ../libs/libZPSAPL.a -e LITTLE_ENDIAN_PROCESSOR -f ../source/Coordinator/Source/coordinator.zpscfg -o ../source/Coordinator/Source -c "C:\NXP\MCUXpressoIDE_11.8.0_1165\ide\/tools/"
Traceback (most recent call last):
File "<stdin>", line 49, in <module>
ModuleNotFoundError: No module named 'lxml'
File "<stdin>", line 45, in <module>
ModuleNotFoundError: No module named 'lxml'
File "<stdin>", line 49, in <module>
ModuleNotFoundError: No module named 'lxml'
make[1]: [makefile:93: pre-build] Error 1 (ignored)
... much later ....
../zigbee/BDB/Source/OutOfBand/bdb_DeviceCommissioning.c:38:10: fatal error: pdum_gen.h: No such file or directory
38 | #include "pdum_gen.h"
| ^~~~~~~~~~~~
compilation terminated.
Finished building: ../zigbee/OTA/Source/OTA_ServerUpgradeManager.c
make[1]: *** [zigbee/BDB/Source/OutOfBand/subdir.mk:20: zigbee/BDB/Source/OutOfBand/bdb_DeviceCommissioning.o] Error 1
../zigbee/BDB/Source/NwkSteering/bdb_ns.c:38:10: fatal error: pdum_gen.h: No such file or directory
38 | #include "pdum_gen.h"
| ^~~~~~~~~~~~
compilation terminated.
The key here is "no module named: lxml"
You need to
install python3.x
make sure the python executable is in your PATH (set system environment variable, with the default system settings AFTER the new one for python...)
pip install lxml
restart the MCUXpresso IDE and retry the build