Giter Club home page Giter Club logo

Comments (4)

slouken avatar slouken commented on September 13, 2024

Try running cmake with -DSDL_LIBC=ON. This is the default for SDL3, which was where I was reporting it worked in #8759.

from sdl.

brianGriifin114 avatar brianGriifin114 commented on September 13, 2024

cmake -G "Visual Studio 17 2022" -A ARM64EC -DCMAKE_SYSTEM_VERSION=10.0.22621.0 -DSDL_LIBC=ON .. 2>&1

CMake Warning:
  Manually-specified variables were not used by the project:

    SDL_LIBC

I tried it, but the same problem occurs(setup success and build failed).Maybe it's because of the SDL version? I'm using SDL2.I can provide steps to reproduce if necessary.

from sdl.

madebr avatar madebr commented on September 13, 2024

In #10312, ARM64EC detection is added and SDL_LIBC defaults to true for arm64ec.

With this GitHub workflow patch, I can confirm it works.
For current SDL2 releases (that don't know how to detect arm64ec), configuring with -DSDL_LIBC=ON should do the job.
I don't know why -DSDL_LIBC is considered non-used: it's here in the cmake script.

I couldn't test the -A ARM64EC integration because it is not available in current CMake versions.

from sdl.

brianGriifin114 avatar brianGriifin114 commented on September 13, 2024

Thanks for your answer. We will modify the build script soon and see if there are any problems.

from sdl.

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.