x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How can I package runtime dependencies from an engine plugin?


I've created a runtime engine plugin that links against some third party dlls. I've included the third party dlls inside Engine\Plugins\<"pluginname">\Binaries\\ so they are picked up and loaded automatically (I can't just delay load them due to limitations in the libraries I'm trying to link against).
I've also added these dlls as runtime dependencies in my Build.cs file.

The problem comes when I package a game that uses this engine plugin. I end up with the following folder structure:

Engine/Plugins/<"PluginName">/Binaries/<"platform">/ Third party dlls
<"ProjectName">/Binaries/<"platform">/.exe
.exe

As soon as I run the exe, it fails to find and load the third party dlls unless I manually copy them into <"ProjectName">/Binaries/

What is best practice for packaging third part dlls from an engine plugin when building a game?

Product Version: UE 4.18
Tags:
more ▼

asked Sep 07 '18 at 09:51 AM in C++ Programming

avatar image

dhughes13
6 1 4

avatar image dhughes13 Sep 14 '18 at 09:36 AM

Sorry to bump this, but any help would be massively appreciated

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question