This plugin helps you to link OGDF with your UE projects.
This plugin is based on OGDF 2015.05 (Baobab).
I built binaries with _ITERATOR_DEBUG_LEVEL=0
and changed Runtime Library
to /MD
. It is required to make same code generation configurations with UE4's binaries on Windows.
Windows (VS 2013, VS 2015, VS 2017)
- Copy
LibOGDF
folder toPlugins
folder under your project directory. - Download precompiled binaries and extract it to
LibOGDF/ThirdParty/LibOGDF/Lib
. Check yourLib
directory, it should looks likeLibOGDF/ThirdParty/OGDF/Lib/Win32
andLibOGDF/ThirdParty/OGDF/Lib/Win64
. - Add
LibOGDF
underPublicDependencyModuleNames
in your*.Build.cs
file to include header files from your project. - Add following code in
*.Target.cs
(not*Editor.Target.cs
) of your project. It is required to package your project.
public override void SetupGlobalEnvironment(
TargetInfo Target,
ref LinkEnvironmentConfiguration OutLinkEnvironmentConfiguration,
ref CPPEnvironmentConfiguration OutCPPEnvironmentConfiguration
)
{
UEBuildConfiguration.bForceEnableExceptions = true;
}
Unreal® is a trademark or registered trademark of Epic Games, Inc. in the United States of America and elsewhere. Unreal® Engine, Copyright 1998 – 2014, Epic Games, Inc. All rights reserved.
OGDF is available under the terms of the GNU General Public License version 2 or version 3.
Plugin is completely free and available under MIT open-source license.