# Need help in updating game on Manjaro Linux

**URL:** <https://discourse.cataclysmdda.org/t/need-help-in-updating-game-on-manjaro-linux/28758>\
**Category:** The Garage\
**Created:** [May 31, 2023, 5:02am UTC](https://discourse.cataclysmdda.org/t/need-help-in-updating-game-on-manjaro-linux/28758 "2023-05-31T05:02:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Quintovir](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/quintovir/32/6892_2.png) [@Quintovir](https://discourse.cataclysmdda.org/u/Quintovir)\
**Post date:** [May 31, 2023, 5:02am UTC](https://discourse.cataclysmdda.org/t/need-help-in-updating-game-on-manjaro-linux/28758/1 "2023-05-31T05:02:44Z")

</div>

I play the latest experimentals and when I try to update the game with this script:

#!/bin/bash  
repo=(“/home/user/Cataclysm-DDA”)  
cd “${repo}”  
git pull  
make clean  
make -j12 CLANG=1 CCACHE=1 NATIVE=linux64 RELEASE=1 TILES=1 SOUND=1 LUA=1 USE\_XDG\_DIR=1  
./cataclysm-tiles

I get this error:

> In file included from src/animation.cpp:29:  
> In file included from src/cata\_tiles.h:25:  
> src/sdl\_wrappers.h:13:13: fatal error: ‘SDL.h’ file not found
> 
> # include \<SDL.h\>
> 
> ```
> ^ ~~~~~~
> 
> ```
> 
> 1 error generated.  
> make: \*\*\* [Makefile:995: obj/tiles/animation.o] Error 1  
> make: \*\*\* Waiting for unfinished jobs…

These are the sdl related apps installed:

lib32-sdl\_ttf [Installed] 2.0.11-8 multilib  
A library that allows you to use TrueType fonts in your SDL applications (32-bit)  
lib32-sdl\_mixer [Installed] 1.2.12-5 multilib  
A simple multi-channel audio mixer  
lib32-sdl\_image [Installed] 1.2.12-8 multilib  
A simple library to load images of various formats as SDL surfaces (32-bit)  
lib32-sdl2\_ttf [Installed] 2.20.2-1 multilib  
Library that allows you to use TrueType fonts in your SDL applications (Version 2) (32-bit)  
lib32-sdl2\_mixer [Installed] 2.6.3-1 multilib  
A simple multi-channel audio mixer  
lib32-sdl2\_image [Installed] 2.6.3-1 multilib  
A simple library to load images of various formats as SDL surfaces  
lib32-sdl2 [Installed] 2.26.5-1 multilib  
A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard  
lib32-sdl12-compat [Installed] 1.2.60-1 multilib  
SDL 1.2 runtime compatibility library using SDL 2.0  
sdl\_ttf [Installed] 2.0.11-6 community  
A library that allows you to use TrueType fonts in your SDL applications  
sdl\_mixer [Installed] 1.2.12-12 community  
A simple multi-channel audio mixer  
sdl\_image [Installed] 1.2.12-8 community  
A simple library to load images of various formats as SDL surfaces  
sdl2\_ttf [Installed] 2.20.2-1 extra  
A library that allows you to use TrueType fonts in your SDL applications (Version 2)  
sdl2\_mixer [Installed] 2.6.3-1 extra  
A simple multi-channel audio mixer (Version 2)  
sdl2\_image [Installed] 2.6.3-1 extra  
A simple library to load images of various formats as SDL surfaces (Version 2)  
sdl2 [Installed] 2.26.5-1 extra  
A library for portable low-level access to a video framebuffer, audio output, mouse, and  
keyboard (Version 2)  
sdl12-compat [Installed] 1.2.60-1 community  
SDL 1.2 runtime compatibility library using SDL 2.0  
sdl-openglhq-nokbgrab

How do I fix this?

---

<div class="post-metadata">

**Author:** ![Pupker](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@Pupker](https://discourse.cataclysmdda.org/u/Pupker)\
**Post date:** [June 1, 2023, 1:02pm UTC](https://discourse.cataclysmdda.org/t/need-help-in-updating-game-on-manjaro-linux/28758/2 "2023-06-01T13:02:53Z")

</div>

SDL.h should be in /usr/include/SDL2/SDL.h installed by sdl2 package (check that).  
Check that your “gcc -v -E -” lists /usr/include. Other than that, no idea.

---

<div class="post-metadata">

**Author:** ![Quintovir](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/quintovir/32/6892_2.png) [@Quintovir](https://discourse.cataclysmdda.org/u/Quintovir)\
**Post date:** [June 1, 2023, 4:37pm UTC](https://discourse.cataclysmdda.org/t/need-help-in-updating-game-on-manjaro-linux/28758/3 "2023-06-01T16:37:08Z")

</div>

I can see the SDL.h file where you told me to look.  
I ran “gcc -v -E -” in the terminal and /usr/include does show up.

---

<div class="post-metadata">

**Author:** ![Quintovir](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/quintovir/32/6892_2.png) [@Quintovir](https://discourse.cataclysmdda.org/u/Quintovir)\
**Post date:** [June 2, 2023, 9:57am UTC](https://discourse.cataclysmdda.org/t/need-help-in-updating-game-on-manjaro-linux/28758/4 "2023-06-02T09:57:26Z")

</div>

Solution

> **[Src/sdl\_wrappers.h:13:13: fatal error: 'SDL.h' file not found](https://forum.manjaro.org/t/src-sdl-wrappers-h13-fatal-error-sdl-h-file-not-found/141504?u=mangiarolinux)**
>
> I’m trying to compile a game called Cataclysm: Dark Days Ahead and I’m getting this error: In file included from src/cata\_tiles.cpp:2: In file included from src/cata\_tiles.h:25: src/sdl\_wrappers.h:13:13: fatal error: 'SDL.h' file not found # ...

---

<div class="post-metadata">

**Author:** ![Pupker](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@Pupker](https://discourse.cataclysmdda.org/u/Pupker)\
**Post date:** [June 2, 2023, 2:47pm UTC](https://discourse.cataclysmdda.org/t/need-help-in-updating-game-on-manjaro-linux/28758/5 "2023-06-02T14:47:56Z")

</div>

You were missing pkgconf? pkgconf is a component of a base-devel package, you should have had it installed before compiling anything at all.

> Most distros seem to package essential build tools as either a single package (Debian and derivatives have `build-essential`) or a package group (Arch has `base-devel`). You should use the above if available. Otherwise you’ll at least need `make` and figure out the missing dependencies as you go (if any).

> <https://github.com/CleverRaven/Cataclysm-DDA/blob/4ac72bf95957f4b89782df1cbaa606eabb06196c/doc/COMPILING/COMPILING.md>

---

<div class="post-metadata">

**Author:** ![Quintovir](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/quintovir/32/6892_2.png) [@Quintovir](https://discourse.cataclysmdda.org/u/Quintovir)\
**Post date:** [June 2, 2023, 3:03pm UTC](https://discourse.cataclysmdda.org/t/need-help-in-updating-game-on-manjaro-linux/28758/6 "2023-06-02T15:03:00Z")

</div>

Yep, base-devel was not installed. I just installed it.  
I’d like to think that a long time ago when I first started playing CDDA on Linux I did install base-devel, I don’t really remember ever removing it.
