# LNK2019 errors when trying to compile PixelStreaming

**URL:** <https://forums.unrealengine.com/t/lnk2019-errors-when-trying-to-compile-pixelstreaming/473505>\
**Category:** Plugins\
**Tags:** lnk2019, unreal-engine, Plugins, question\
**Created:** [October 26, 2020, 12:49pm UTC](https://forums.unrealengine.com/t/lnk2019-errors-when-trying-to-compile-pixelstreaming/473505 "2020-10-26T12:49:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lukas\_Kastern](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lukas\_Kastern](https://forums.unrealengine.com/u/Lukas_Kastern)\
**Post date:** [October 26, 2020, 12:49pm UTC](https://forums.unrealengine.com/t/lnk2019-errors-when-trying-to-compile-pixelstreaming/473505/1 "2020-10-26T12:49:14Z")

</div>

Hello everyone.  
I’m currently trying to figure out how to make changes to PixelStreaming.  
I figured I could just move the PixelStreaming plugin from the engine plugin directory to my project’s plugin directory.  
After doing that and compiling I did get an include error because the WmfMedia headers weren’t referenced correctly.

I was able to fix that by changing it to use the path **Path.Combine(EngineDir, “Plugins/Media/WmfMedia/Source/WmfMedia/Private”)** instead of **"…/…/…/Media/WmfMedia/Source/WmfMedia/Private/"**

But when I compile now I get LNK2019 errors that look like this: **webrtc.lib(openssladapter.obj) : error LNK2019: unresolved external symbol “OPENSSL\_init\_crypto” in function "“public: static bool \_\_cdecl rtc::OpenSSLAdapter::InitializeSSL(void)” (?InitializeSSL@OpenSSLAdapter@rtc@@SA\_NXZ)**

So my question is how do I resolve those? Am I missing something required to compile the package?

---

<div class="post-metadata">

**Author:** ![LogierJan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/logierjan/32/88718_2.png) [@LogierJan](https://forums.unrealengine.com/u/LogierJan)\
**Post date:** [October 26, 2020, 2:34pm UTC](https://forums.unrealengine.com/t/lnk2019-errors-when-trying-to-compile-pixelstreaming/473505/2 "2020-10-26T14:34:59Z")

</div>

It looks like the linker doesn’t recognize something withing your function InitializeSSL.

Did you add the WmfMedia (or any other neccesary) modules to your build.cs file?

---

<div class="post-metadata">

**Author:** ![Lukas\_Kastern](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lukas\_Kastern](https://forums.unrealengine.com/u/Lukas_Kastern)\
**Post date:** [October 29, 2020, 6:56am UTC](https://forums.unrealengine.com/t/lnk2019-errors-when-trying-to-compile-pixelstreaming/473505/3 "2020-10-29T06:56:24Z")

</div>

I literally dragged and dropped that plugin from the engines plugins folder into the plugin folder of my project.  
The only thing I’ve changed was the one line I’ve mentioned above.  
Shouldn’t it work by default that way or does that require some extra setup?  
I’m out of ideas on what to try next.

---

<div class="post-metadata">

**Author:** ![Maciek\_Leto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maciek_leto/32/1194559_2.png) [@Maciek\_Leto](https://forums.unrealengine.com/u/Maciek_Leto)\
**Post date:** [March 10, 2021, 9:12pm UTC](https://forums.unrealengine.com/t/lnk2019-errors-when-trying-to-compile-pixelstreaming/473505/4 "2021-03-10T21:12:42Z")

</div>

you need to add the module in your \*.Build.cs file, e.g.  
PublicDependencyModuleNames.AddRange(new string[]  
{“Core”, “CoreUObject”, “Engine”, …, “WmfMedia”});

---

<div class="post-metadata">

**Author:** ![GrantWilk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grantwilk/32/559424_2.png) [@GrantWilk](https://forums.unrealengine.com/u/GrantWilk)\
**Post date:** [September 16, 2022, 12:10am UTC](https://forums.unrealengine.com/t/lnk2019-errors-when-trying-to-compile-pixelstreaming/473505/5 "2022-09-16T00:10:44Z")

</div>

Hey Lukas, did you ever find any resolution to this issue? I’m trying to do the same thing and am running into a similar issue.

---

<div class="post-metadata">

**Author:** ![carey60354](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@carey60354](https://forums.unrealengine.com/u/carey60354)\
**Post date:** [November 8, 2022, 9:55am UTC](https://forums.unrealengine.com/t/lnk2019-errors-when-trying-to-compile-pixelstreaming/473505/6 "2022-11-08T09:55:17Z")

</div>

I am very newer to ue4, I tried many solutions but still blocked:

1. rebuild entire source code of ue4 4.2.7, it can be success compiled, but error occured when package project.
2. rebuild just plugin by CMD: \Engine\Build\BatchFiles\>RunUAT.bat BuildPlugin -plugin=“C:\Program Files\Epic Games\UE\_4.27\Engine\Plugins\Media\PixelStreaming\PixelStreaming.uplugin” -package=“D:\unreal\project\TestStream\Plugins\PixelStreaming”, which lead to LNK2019 too.
3. add the module in your \*.Build.cs file, e.g.  
PublicDependencyModuleNames.AddRange(new string[]  
{“Core”, “CoreUObject”, “Engine”, …, “WmfMedia”}), which is still not work.

did you finally figure out this problem? and anyone help me?

---

<div class="post-metadata">

**Author:** ![DXELL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DXELL](https://forums.unrealengine.com/u/DXELL)\
**Post date:** [March 5, 2024, 6:48pm UTC](https://forums.unrealengine.com/t/lnk2019-errors-when-trying-to-compile-pixelstreaming/473505/7 "2024-03-05T18:48:07Z")

</div>

Did you find any solutions? It seems like the only way to recompile this plugin is to recompile the whole engine
