Hello Devs,
maybe a repeated topic but after searching for days I am still not enlighted enough…
Assume I have a thirdparty library (a DLL for Windows, a dynlib for MAC OS…),
that exports some Standard C functions, and that is accompanied with a C++ header file
defining higher-level wrapper classes for that Library.
What is all necessary to install this in Unreal (plugins ?) that it is globally available
for new Unreal projects ?
It sounds simple but the most information I got so far is how to CREATE a plugin
inside a project, and the folder trees that are under “Unreal/Engine/PlugIns” is somehat confusing and not really self-explaining. I understand Unreal uses a specific DLL loading mechanism, but overall it is not clear to me where to start…
Hello, You’d set this up in your plugin’s Build.cs file. The engine code is the best reference (you don’t need a source build, and can have a look at it from the launcher version of the engine)
Create your plugin (Edit > Plugins > New Plugin). Then open up your C++ project in visual studio (or rider) and head over to your plugin’s Build.cs file
Here you’d include your .dll, .lib, .so etc. Check this as a reference