GithubHelp home page GithubHelp logo

'SDL_HasAVX' undeclared about go-sdl2 HOT 4 CLOSED

veandco avatar veandco commented on August 15, 2024
'SDL_HasAVX' undeclared

from go-sdl2.

Comments (4)

krux02 avatar krux02 commented on August 15, 2024

In the SDL wiki it says "This function is available since SDL 2.0.2.", so please tell which version of SDL you have installed.

from go-sdl2.

zygm0nt avatar zygm0nt commented on August 15, 2024

Right, I have 2.0.1 - sorry for this one.

from go-sdl2.

aqiank avatar aqiank commented on August 15, 2024

Hi, I just pushed an update to the code so that it doesn't completely disable go-sdl2 from compiling for missing the functions due to older SDL version (the functions will just return 0 or false). Have a try!

from go-sdl2.

zygm0nt avatar zygm0nt commented on August 15, 2024

Yep, your fix works fine - thanks. I can now install sdl bindings.

from go-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.