# How to get c++ static library running on Oculus Quest

**URL:** <https://forums.unrealengine.com/t/how-to-get-c-static-library-running-on-oculus-quest/450364>\
**Category:** XR Development\
**Tags:** Oculus, unreal-engine, question\
**Created:** [June 9, 2019, 4:21am UTC](https://forums.unrealengine.com/t/how-to-get-c-static-library-running-on-oculus-quest/450364 "2019-06-09T04:21:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d19118e6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d19118e6](https://forums.unrealengine.com/u/anonymous_user_d19118e6)\
**Post date:** [June 9, 2019, 4:21am UTC](https://forums.unrealengine.com/t/how-to-get-c-static-library-running-on-oculus-quest/450364/1 "2019-06-09T04:21:58Z")

</div>

Hello, I’m an amateur just getting started on Oculus Quest development. I have a sample project which I can launch on the Quest already.

In the past I’ve used this tutorial ([A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums](https://wiki.unrealengine.com/Creating_%26_Linking_Static_Libraries_And_Make_Your_Own_Blueprint_Node_With_VS_2017_%26_UE4)) to compile a static C++ library into the engine.

I’d like to do the same thing on the Quest- to isolate some c++ code in a standalone library and integrate it to my Oculus Quest game. I’m a little lost on how to get started, though, and I haven’t done much tinkering with android in the past. Does anyone have any tutorials on how to get this going, or could anyone kindly give me some broad, high-level advice on what I need to do to accomplish this?

I’m just using the 4.22.2 UE4 engine from Github and the free version of visual studio 2017 at the moment. Any pointers greatly appreciated.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_91b492f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_91b492f1](https://forums.unrealengine.com/u/anonymous_user_91b492f1)\
**Post date:** [September 14, 2019, 11:03pm UTC](https://forums.unrealengine.com/t/how-to-get-c-static-library-running-on-oculus-quest/450364/2 "2019-09-14T23:03:41Z")

</div>

Did you ever figure out a good workflow or come across helpful resources? I am looking to accomplish the same goal.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d19118e6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d19118e6](https://forums.unrealengine.com/u/anonymous_user_d19118e6)\
**Post date:** [September 15, 2019, 4:32am UTC](https://forums.unrealengine.com/t/how-to-get-c-static-library-running-on-oculus-quest/450364/3 "2019-09-15T04:32:29Z")

</div>

I actually had to take a break on this project for a while, but will start up again shortly. I’ll post more if I come across anything helpful. Please let me know if you find anything either. =]

Here’s a couple of links, I was next thinking of trying to follow these, but try to use a .so instead of a .dll and go from there.

Here’s epic’s general guide on linking DLL’s:

> **[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...

And on linking static libraries:

> **[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...

I also found this helpful when trying to link a static windows .lib for the first time:

> **[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...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_91b492f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_91b492f1](https://forums.unrealengine.com/u/anonymous_user_91b492f1)\
**Post date:** [September 15, 2019, 7:24pm UTC](https://forums.unrealengine.com/t/how-to-get-c-static-library-running-on-oculus-quest/450364/4 "2019-09-15T19:24:46Z")

</div>

Awesome, thank you for the resources. I will let you know if I make any progress.
