← All tasks
cppOGRECave/ogre #3481Not a task: not reproduced

SDL2 fails to build on ARM64 on Windows

envgap__OGRECave__ogre-3481

01 / FAILURE SIGNATURE

As reported upstream

`SDL_malloc.c.obj : error LNK2001: unresolved external symbol _InterlockedCompareExchange`
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
8ea6a2e9659b02e26c497406ea779d15080a8889
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

OGRECave/ogre #3481 · read the original issue
#### System Information
- Ogre Version: v14.4.1
- Operating System / Platform: Windows 11 / ARM64
- RenderSystem: NA

#### Detailled description
When configuring ogre on ARM64 on Windows I'm hitting linking errors about unresolved `_Interlocked*` symbols in SDL2. E.g.:

`SDL_malloc.c.obj : error LNK2001: unresolved external symbol _InterlockedCompareExchange`

They are caused by an [issue in SDL](https://github.com/libsdl-org/SDL/issues/13254) that has been fixed in the most recent version. I'll put up a PR soon to upgrade SDL.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]