GithubHelp home page GithubHelp logo

Comments (4)

DaryeDev avatar DaryeDev commented on June 17, 2024

Have the same issue. Bump.

from pygame_sdl2.

renpytom avatar renpytom commented on June 17, 2024

I don't have experience building this with MSVC, so I can't help here. At this point, I'm not expecting pygame_sdl2 to be used outside of Ren'Py.

from pygame_sdl2.

J-Wedekind avatar J-Wedekind commented on June 17, 2024

Recently I tried to build a new version and stumbled upon the same problems.
Can't remember the full process of when I build it for the first time, but I remember it took me about a week of fiddling around and I still got some notes from then:

LNK2001: SDL-devel gotta be properly installed / linked and don't use a virtualenv.

Python.h not found: don't use a virtualenv or copy the include dir containing the python.h from the Python home dir to the root of the virtualenv.

C2065: Install latest VC and C++ BuildTools for your version of VisualStudio and add path to path variables.. also building process seems to favor the newest install in your path, but building may only work on VisualStudio 2015 to 2017 for some reason.

+Also check if your python setuptools is up to date.

I hope for this to help somebody out at least a bit and I'd be glad if someone figures out more.^^

from pygame_sdl2.

Borohydride avatar Borohydride commented on June 17, 2024

I used newer versions of SDL2 source code to replace the files in pygame_sdl2_windeps, and successfully built the wheel.

from pygame_sdl2.

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.