Python-2.5.2SWIG-1.34.1Visual Studio 2005 Express Editioncygwin以上のような組み合わせで出くわした困ったことと、その解決策をメモしておきます。 setup.py を実行するとエラーが表示された!Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible binaries. Visual Studio 2003 was not found on this system. If you have Cygwin installed, you can try compiling with MingW32, by passing "-c mingw32" to setup.py
![[C++][Python]PythonからSWIG経由でVisual Studio 2005を使って困ったこと](https://cdn-ak-scissors.b.st-hatena.com/image/square/b1638cdb5807a4788e4ba3c1109a984166e095fc/height=288;version=1;width=512/https%3A%2F%2Fanond.hatelabo.jp%2Fimages%2Fog-image-1500.gif)