At the time this answer was written, there were no support for building x264 with Visual Studio. Instead you should build it with MinGW/gcc or Intel Compiler. For instance, there are some howtos around - take a look here and here.
For me, the second method has worked out.