# Using 3rd party libraries in C++

**URL:** <https://forums.unrealengine.com/t/using-3rd-party-libraries-in-c/321687>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 13, 2015, 3:47pm UTC](https://forums.unrealengine.com/t/using-3rd-party-libraries-in-c/321687 "2015-06-13T15:47:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdebrecz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gdebrecz](https://forums.unrealengine.com/u/gdebrecz)\
**Post date:** [June 13, 2015, 3:47pm UTC](https://forums.unrealengine.com/t/using-3rd-party-libraries-in-c/321687/1 "2015-06-13T15:47:04Z")

</div>

Hello,

I’m trying to modify the example “Vehicle C++” project from within Visual Studio and adding some external library to it. I have the Xlib.h Xlib.lib and Xlib.dll-s for 32bit platform.

Can somebody please point me to some step-by-step intstruction, how I can make use of the functions/classes declared inside Xlib.h ? I’ve added the Xlib.h to the Actor’s cpp file and set the “Additional include directories” and “Additional library directories” in the right-click properties, but i can’t find where the libs themselves can be specified.

Is this the right way to add external libs to a C++ unreal project ? Somehow the docs are leading to many different directions…  
thanks in advance,  
G

---

<div class="post-metadata">

**Author:** ![gdebrecz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gdebrecz](https://forums.unrealengine.com/u/gdebrecz)\
**Post date:** [June 30, 2015, 8:50am UTC](https://forums.unrealengine.com/t/using-3rd-party-libraries-in-c/321687/2 "2015-06-30T08:50:34Z")

</div>

Not exactly what was looking for, but using this I’ve finally managed to reach my goals:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...
