# Tons of undefined stuff when trying to compile SDL3\_mixer

**URL:** <https://discourse.libsdl.org/t/tons-of-undefined-stuff-when-trying-to-compile-sdl3-mixer/67672>\
**Category:** Game Development\
**Created:** [May 3, 2026, 10:14pm UTC](https://discourse.libsdl.org/t/tons-of-undefined-stuff-when-trying-to-compile-sdl3-mixer/67672 "2026-05-03T22:14:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![UbuntuJackson](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/u/a587f6/32.png) [@UbuntuJackson](https://discourse.libsdl.org/u/UbuntuJackson)\
**Post date:** [May 3, 2026, 10:14pm UTC](https://discourse.libsdl.org/t/tons-of-undefined-stuff-when-trying-to-compile-sdl3-mixer/67672/1 "2026-05-03T22:14:08Z")

</div>

Hello, I tried a some troubleshooting, making sure the submodules in SDL3\_mixer are initialised, and then I tried to just compile it and include it in my project. I’m on Linux Mint, 22.2. However there’s all this stuff which is undefined, so I have a look at install.md, which takes me to INTRO-cmake.md. I read that, but it looks like I’m doing all right. I had a look at SDL\_PROP\_AUDIOSTREAM\_AUTO\_CLEANUP\_BOOLEAN and it seems like it’s not defined or something? Did I miss a piece of important documentation? This is GCC btw.

With kind regards, a linux mint user.

 ![image](https://discourse.libsdl.org/uploads/default/original/2X/4/477a28e0485cfce4e1be985a3088301fac394051.png)

---

<div class="post-metadata">

**Author:** ![Peter87](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/p/f07891/32.png) [@Peter87](https://discourse.libsdl.org/u/Peter87)\
**Post date:** [May 4, 2026, 9:01am UTC](https://discourse.libsdl.org/t/tons-of-undefined-stuff-when-trying-to-compile-sdl3-mixer/67672/2 "2026-05-04T09:01:03Z")

</div>

Are you sure your version of SDL3 is recent enough? The errors in your image complains about `SDL_ALIGNED` which seems to have been added [quite recently](https://github.com/libsdl-org/SDL/pull/13132).

---

<div class="post-metadata">

**Author:** ![UbuntuJackson](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/u/a587f6/32.png) [@UbuntuJackson](https://discourse.libsdl.org/u/UbuntuJackson)\
**Post date:** [July 18, 2026, 10:58pm UTC](https://discourse.libsdl.org/t/tons-of-undefined-stuff-when-trying-to-compile-sdl3-mixer/67672/3 "2026-07-18T22:58:24Z")

</div>

I remember attributing the solution to this video, but not 100% sure. It was quite a while ago. With kind regards

[![](https://img.youtube.com/vi/IbfMCHvCa8k/maxresdefault.jpg "Build SDL\_mixer with SDL3 from source") ](https://www.youtube.com/watch?v=IbfMCHvCa8k)
