Skip to content

Windows 7 Python 2.7 x64 build fails / setuptools #51

@GoogleCodeExporter

Description

@GoogleCodeExporter
This is a similar issue to #26, but uses setuptools and the SVN version (also 
tried the packaged version), which was the suggested fix in the comments.

I initially tried installing it in command prompt, but when that failed, I 
followed the instructions here, with the same outcome: 
http://code.google.com/p/pybox2d/wiki/BuildingfromSource#Windows

$ setup.py build
Using setuptools (version 0.6).
running build
running build_py
copying library\Box2D\Box2D.py -> build\lib.win-amd64-2.7\Box2D
copying library\Box2D\__init__.py -> build\lib.win-amd64-2.7\Box2D
running build_ext
building 'Box2D._Box2D' extension
swigging Box2D\Box2D.i to Box2D\Box2D_wrap.cpp
k:\Portable Applications\swigwin-2.0.10\swig.exe -python -c++ -IBox2D -small -O
-includeall -ignoremissing -w201 -globals b2Globals -outdir library\Box2D -keywo
rd -w511 -D_SWIG_KWARGS -o Box2D\Box2D_wrap.cpp Box2D\Box2D.i
Box2D\Collision\b2DynamicTree.h(44) : Warning 312: Nested union not currently su
pported (ignored).
Box2D\Box2D_printing.i(326) : Warning 303: %extend defined for an undeclared cla
ss b2LoopShape.
Box2D\Common\b2Settings.h(144) : Warning 506: Can't wrap varargs with keyword ar
guments enabled
Box2D\Common\b2Math.h(91) : Warning 509: Overloaded method b2Vec2::operator ()(i
nt32) effectively ignored,
Box2D\Common\b2Math.h(85) : Warning 509: as it is shadowed by b2Vec2::operator (
)(int32) const.
error: Unable to find vcvarsall.bat

It seems it is still trying to use VC++ (I have Visual Studio C++ Express 2010 
installed), even though I created the distutils.cfg file with the specified 
contents.

Original issue reported on code.google.com by rabbitki...@googlemail.com on 31 Aug 2013 at 12:16

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions