We have a RSBot section for a reason.
And the problem here isn't directly compiling, he have to set his path. Do THIS, and make sure you do everything. You also have to compile. Note: The link is only a leeched guide of Karl's guide, but since RSBot's website is down at the moment, I'm posting link for that.