's Victory Plugin - Linker Errors

jamiewhitephd
Fri, 05 Feb 2016 21:01:40 +0000
Plugins

I can access all of the BP nodes within 's victory plugin just fine, so no worries there. However, my issue is with trying to access the plugin’s functions using C++. After adding this to my build.cs:

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "VictoryBPLibrary", "AIModule", "UMG", "Slate", "SlateCore", });

I get this linker error:

2>LINK : fatal error LNK1181: cannot open input file 'S:\Program Installations\Epic Games\4.10\Engine\Plugins\VictoryPlugin\VictoryPlugin\Intermediate/Build/Win64\UE4Editor\Development\UE4Editor-VictoryBPLibrary.lib'

Further from this, if I then try to extend VictoryBPLibrary class with my own and try to compile it (which initially fails in the editor after the file is created), I get this:

2>S:\Program Installations\Epic Games\4.10\Engine\Plugins\VictoryPlugin\VictoryPlugin\Source\VictoryBPLibrary\Public\VictoryISM.h(9): fatal error C1083: Cannot open include file: 'VictoryISM.generated.h': No such file or directory

I am using 4.10.2 – doe anyone know how to get around this? This is a really fantastic plugin, and would love to get it working so I can use it with C++

Thanks,

Jamie

3 posts - 1 participant