I'm trying to create my first SWIG python DLL with Visual Studio 2010, using an example I downloaded from swig,org. I'm running Windows professional 64-bit. I downloaded swigwin-2.0.7 and unzipped it. I've followed the instructions here and here and in both cases, the wrap file gets built, but the project build fails. The linker complains about 56 unresolved external symbols, all with names something like __imp__PyBytes_AsStringAndSize or __imp__PyExc_RuntimeError.
I've tried this using my python 2.7 installation as well as my python 3.2 installation, with similar results. Do I have to build swig from the source for my platform? I've spent the last 6 hours or so on this, and I'm nonplussed.