@Aliliche I may not be quite understanding your query, but, why are you compiling it ?
You go to the download page, pick the image for the Pi4, install it, and thats you ready to go.
Its nothing like Retropie where you can install other emus etc or compile source code on an install.
https://www.recalbox.com/download/stable/