I cannot reproduce the basic SWIG example on windows. My error is stated in the SWIG docs and I am sure that I do the 2 fixes they mention. For this error:
>&
The file name of the library must be *.pyd. I suppose that you have generated a wrapper code and link it together.