GithubHelp home page GithubHelp logo

Windows 7 x64 build about pymunk HOT 8 CLOSED

viblo avatar viblo commented on August 21, 2024
Windows 7 x64 build

from pymunk.

Comments (8)

viblo avatar viblo commented on August 21, 2024

From vb%[email protected] on October 25, 2009 13:42:35

Ill try to reproduce this on a win2008 machine, but if I cant get any useful info
there it will be hard to figure out the problem as I don't have any w7 (or even vista
64bit) to try on.

Status: Accepted
Owner: [email protected]

from pymunk.

viblo avatar viblo commented on August 21, 2024

From vb%[email protected] on October 25, 2009 13:45:55

mason mailed me that he got it to work by installing 32bit python and using mingw to
compile. If anyone else have the same problem, please try with that until the problem
is fixed (or compile chipmunk manually to 64 bit, see the README.txt in chipmunk_src
folder). And Ill gladly accept a patch for the problem (same with the other issues on
the tracker) :)

from pymunk.

viblo avatar viblo commented on August 21, 2024

From [email protected] on June 05, 2012 15:07:20

Just commited a fix to make it compile on 64bit python. However now there are some runtime errors instead...

Owner: [email protected]

from pymunk.

viblo avatar viblo commented on August 21, 2024

From [email protected] on January 03, 2013 02:41:23

Have a Windows 7 x64
C:\python projects\pymunk-3.0.0>python setup.py build_chipmunk
running build_chipmunk
compiling chipmunk in Debug mode (Defualt, prints debug output and asserts)
error: Unable to find vcvarsall.bat


Errors while triying to run examples:
C:\Python27\python.exe "C:/python projects/pymunk-3.0.0/examples/arrows.py"
Loading chipmunk for Windows (64bit) [C:\Python27\lib\site-packages\pymunk\chipmunk64.dll]

Failed to load pymunk library.

from pymunk.

viblo avatar viblo commented on August 21, 2024

From [email protected] on January 03, 2013 14:40:07

The vcvarsall.bat error is probably because you try to compile with Visual Studio instead of mingw/gcc. Pymunk is only tested with gcc, and I doubt all compiler options are working with the Visual Studio compiler.

I googled the error and it seems like you could try this answer on stackoverflow to compile with VS: http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat/10558328#10558328 But the way I build it on windows is with mingw. You can specify the compiler to use with -c mingw32 as an argument to build_chipmunk. However, you will almost certainly get the other 64bit problems with that approach.

from pymunk.

viblo avatar viblo commented on August 21, 2024

From [email protected] on January 03, 2013 14:42:11

Forgot to add: Note that 32 bit python works fine on Windows 7 x64 with the released pymunk, and you dont need to build anything.

from pymunk.

viblo avatar viblo commented on August 21, 2024

This link might help explain the win64 problems: http://bugs.python.org/issue4709

from pymunk.

viblo avatar viblo commented on August 21, 2024

Should be fixed with the new pymunk 5.0 release

from pymunk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.