Hi @HaiDuc Welcome to the forum.
Probably the rui.h is missing. You can find it in the “common header” folder in the Git and should place it in your project zip file.
Can you check that you are not using the RUI2 code base with the RUI1 online compiler?
RUI2 git GitHub - RAKWireless/Products_practice_based_on_RUI_v2.0
RUI2 online compiler: https://build.rakwireless.com/
RUI1 git GitHub - RAKWireless/Products_practice_based_on_RUI: This repository will collect all of products practice based on RAK IoT module and RAK IoT SDK RUI.The creativity may come from RAK official and open source contributor.
RUI1 online compiler http://47.112.137.11:12090/#/user/login
Just checked both and the compile is done normally.