can't get library to compile...

Hi there,
Si I have a pair of the nrf24l01+ modules. I have been trying to get these two chips to work together, using maniacbug's library, which I (personally) found to be useless, so I started to use the Mirf library. I was trying out the library by making a script very much similar to the ping_client and ping_server scripts. (Both of which I have tried, worked WAY better then maniacbugs's library). But when I try to make my own scripts, I have noticed the following: whenever I type in

byte data[Mirf.payload];

then when the sketch, like 20 minutes later and it STILL hasn't compiled (didn't even compile like 30%!). But in ping_server, when I compile it with that line, it compiles fine in like 5 seconds. Why is it like this? I am pretty sure that it isn't a problem with with my Windows PC's performance, since it have a i5 running Windows 7. I have attached a windows .zip file with my sketches. In case you need to know:

Computer: Sony VAIO (older one, though still works great)
OS: Windows Pro 7 OA (whatever OA stands for)
IDE build: 1.6.4
Site Mirf library downloaded from: Arduino Playground - Nrf24L01

I downloaded it (the library) like on 5/15/2015 or 5/16/2015. I appreciate any help given, and am willing to provide you with any information necessary!
Thanks!

Sketches.zip (992 Bytes)

byte data[Mirf.payload];

This would only be valid if Mirf.payload is a constant numeric expression, which I don't think it is.

That would not explain your weird compiler behavior, though.

michinyon:
This would only be valid if Mirf.payload is a constant numeric expression, which I don't think it is.

That would not explain your weird compiler behavior, though.

Sorry, im a newbie- what's a constant numeric expression?

Thanks Delta_G,
Changed some things here and there, and now it's working great.