The biggest problem you’re going to run into is impedance. This can be walls, studs, concrete, etc.
Is there any way you can run a cable between the two buildings? You can then hook up your repeater and it would be guaranteed to work; with more effort.