Comments (4)
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.
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.
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.
Thanks for your answer. We will modify the build script soon and see if there are any problems.
from sdl.
Related Issues (20)
- SDL3 SDL_Init crash on ios 15 HOT 3
- `SDL_PrintString` ignores `SDL_FormatInfo.left_justify`
- [audio][multichannel] SDL_AudioSpecsEqual failed assertion in SDL_PlaybackAudioThreadIterate due to missing stream channel map HOT 3
- Android Vukan renderer doesn't respect Landscape HOT 5
- Could you provide SDL_URIToLocal to SDL 3 in Windows too, please HOT 3
- Address sanitizer reports memory leak on Linux with SDL_WINDOW_OPENGL HOT 2
- Sub-pixel motions are lost or amplified on X11 if application uses absolute motion and pointer warp HOT 7
- Why does SDL try to make reference to emscripten webgl if I've disabled all renderers? HOT 4
- SDL_windowswindow.c doesn't compile, the conditional statement isn't written correctly HOT 1
- Highlight SDL_HINT_LOGGING
- device event filter system HOT 11
- (macOS) Opening a window in windowed mode unhides the dock sometimes
- PSP renderer should create streaming textures in VRAM HOT 2
- Rename SDL_HINT_GAMECONTROLLER_* to SDL_HINT_GAMEPAD_*? HOT 1
- The SDL3 Examples Megathread HOT 25
- testvulkan failed to run on MacOS HOT 1
- `SDL_GetFullscreenModeMatch` is not memory-safe HOT 6
- [SDL3][audio] time to drop hardcoded channel maps for good? HOT 5
- Android `SDL_GetPreferredLocales` memory corruption HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl.