# Sdl2

**URL:** <https://discourse.cataclysmdda.org/t/sdl2/3135>\
**Category:** The Garage\
**Created:** [September 20, 2013, 7:48pm UTC](https://discourse.cataclysmdda.org/t/sdl2/3135 "2013-09-20T19:48:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![phaethon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/phaethon/32/981_2.png) [@phaethon](https://discourse.cataclysmdda.org/u/phaethon)\
**Post date:** [September 20, 2013, 7:48pm UTC](https://discourse.cataclysmdda.org/t/sdl2/3135/1 "2013-09-20T19:48:53Z")

</div>

I guess this is the best forum. Not a bug report, but it is a technical discussion. 🙂

I notice SDL2 is out. Looks like it is a month old or so, and their Mac framework distributions look better than they are for 1.2. Any plans to update? It looks like there aren’t just a TON of changes, but I do see that they’ve changed how they handle input among other things. Trying to build 0.8 against SDL2 results in these errors:

`Undefined symbols for architecture x86_64:
  "_SDL_EnableKeyRepeat", referenced from:
      WinCreate() in sdltiles.o
  "_SDL_EnableUNICODE", referenced from:
      WinCreate() in sdltiles.o
  "_SDL_GetKeyState", referenced from:
      CheckMessages() in sdltiles.o
  "_SDL_SetVideoMode", referenced from:
      WinCreate() in sdltiles.o
  "_SDL_UpdateRect", referenced from:
      try_update() in sdltiles.o
      curses_drawwindow(WINDOW*) in sdltiles.o
  "_SDL_WM_SetCaption", referenced from:
      WinCreate() in sdltiles.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [cataclysm-tiles] Error 1`

Not bad. Migration guide here: [http://wiki.libsdl.org/MigrationGuide](http://wiki.libsdl.org/MigrationGuide)

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [September 20, 2013, 8:19pm UTC](https://discourse.cataclysmdda.org/t/sdl2/3135/2 "2013-09-20T20:19:56Z")

</div>

No plans at the moment, but if someone wants to migrate the code and demonstrate that we can still build and run with all our platforms/compilers/etc, it’s pretty much a done deal.

---

<div class="post-metadata">

**Author:** ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)\
**Post date:** [September 25, 2013, 7:30am UTC](https://discourse.cataclysmdda.org/t/sdl2/3135/3 "2013-09-25T07:30:21Z")

</div>

This would be very nice, especially since currently SDL2 works with cygwin, but SDL 1.2 does not, meaning you can’t currently run tiles builds on Cygwin without some serious work (but if we upgrade it will be fairly easy).
