If it crashes with the first configuration it unfortunately looks like you have not managed to pick up the branch correctly. Please look at the CUDA Miner Issue for some further details on how to check out (and verify you checked out the right thing) and build it.