There are so many settings in VS I could be mistaken, but I don't think this is it.

I've now modified VC++ Directories. I manually modified Include Directories with python's include directory and Library Directories with python's libs directory.

I even modified the linker's additional dependencies with the path directly to python32.lib (it already had $(PYTHON_LIB) so I'm pretty sure it was already working).

Same problem.

On 28 May 2012 14:41, Bob Hood <bhood2@comcast.net> wrote:
On 5/28/2012 3:47 AM, Douglas Russell wrote:
> I'm now stuck as I've now idea why this error is being thrown. Visual Studio
> is massively opaque compared to what I'm used to on Unix so there could
> easily be a setting wrong somewhere, but as it's the example project I
> presumed it should work pretty much out of the box.

You did remember to add a link to the Python library, right?  I've never used
the PYTHON_LIB environment variable when building, I always add a direct
linkage to they Python library (python32.lib) in my VS project settings.

Render me gone,                       |||
Bob                                 ^(===)^
   I'm not so good with advice...can I interest you in a sarcastic comment?

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Swig-user mailing list