If you downloaded the firmware from our account on GitHub platform, and you downloaded BOS and ThirdParty separately, sometimes and especially when they have different versions of BOS, ThirdParty, and modules files, the code will not compile correctly.
So you need to check that you have the same version of firmware for module, BOS, and ThirdParty.