# Compiling ThirdParty SDL2

**URL:** <https://forums.unrealengine.com/t/compiling-thirdparty-sdl2/415940>\
**Category:** Platform & Builds\
**Tags:** compiling, vulkan, Linux, Third-Party, unreal-engine, question\
**Created:** [January 30, 2018, 6:51pm UTC](https://forums.unrealengine.com/t/compiling-thirdparty-sdl2/415940 "2018-01-30T18:51:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jk.coder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jk.coder](https://forums.unrealengine.com/u/jk.coder)\
**Post date:** [January 30, 2018, 6:51pm UTC](https://forums.unrealengine.com/t/compiling-thirdparty-sdl2/415940/1 "2018-01-30T18:51:01Z")

</div>

I’m trying to recompile SDL2 with wayland video support, but i’m hitting an error

> /opt/UnrealEngine/Engine/Source/ThirdParty/SDL2/SDL-gui-backend/src/video/x11/SDL\_x11vulkan.h:23:10:  
> fatal error: vulkan/vulkan.h: No such  
> file or directory #include
> 
> ```
> ^ ~~~~~~~~~~~~~~~~
> 
> ```

Is there any setup prior to running build.sh under the Engine/Source/ThirdParty/SDL2?

I do see vulkan at ./ThirdParty/Vulkan/Linux/include/vulkan.

---

<div class="post-metadata">

**Author:** ![jk.coder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jk.coder](https://forums.unrealengine.com/u/jk.coder)\
**Post date:** [January 30, 2018, 6:58pm UTC](https://forums.unrealengine.com/t/compiling-thirdparty-sdl2/415940/2 "2018-01-30T18:58:12Z")

</div>

Nm solved.

Setting up VULKAN\_SDK to point to ThirdParty/Vulkan/Linux/

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7d84424b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7d84424b](https://forums.unrealengine.com/u/anonymous_user_7d84424b)\
**Post date:** [May 27, 2018, 11:07am UTC](https://forums.unrealengine.com/t/compiling-thirdparty-sdl2/415940/3 "2018-05-27T11:07:09Z")

</div>

Hey I’m on this problem right now. Where exactly can I find the VULKAN\_SDK? This is my first time building UE4 so I’m very unfamiliar with all these dependencies.

Thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7d84424b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7d84424b](https://forums.unrealengine.com/u/anonymous_user_7d84424b)\
**Post date:** [May 27, 2018, 11:20am UTC](https://forums.unrealengine.com/t/compiling-thirdparty-sdl2/415940/4 "2018-05-27T11:20:26Z")

</div>

ah nvm lol.

Didn’t realise you mean’t to simply change the #include.

Cheers
