Hi, thanks for your help on this.
I’m still having issues.
I’ve compiled the lib, placed it in engine/thirdparty/cryptopp/lib/x64/vs2013 (as indicated by crypto.build.cs)
I’ve copied the headers into projects/thirdparty/cryptopp/5.6.2/include
I’ve started a new blank c++ project and added a new c++ Actor class.
I’ve copied the above code into project.build.cs,
plus the ModulePath/ThirdPartyPath definitions from A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
(also updated the obsolete code, added ‘using System.IO’).
A clean build at this point returns a string of errors in engine header files, starting with:
“C2653 ‘FCrc’: is not a class or namespace name.” in TypeHash.h
2>G:\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Templates\TypeHash.h(109): error C2653: 'FCrc': is not a class or namespace name 2>G:\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Templates\TypeHash.h(109): error C3861: 'Strihash_DEPRECATED': identifier not found 2>G:\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Serialization\ArchiveBase.h(1332): warning C4266: 'FArchive &FArchive::operator <<(FAssetPtr &)': no override available for virtual member function from base 'FArchive'; function is hidden ... ...
commenting out the line
PublicIncludePaths.Add(Path.Combine(ThirdPartyPath, "CryptoPP", "5.6.2/include"));
removes the odd errors and replaces with a simple
"LNK1181: cannot open input file ‘cryptlib.lib’
And of course, theheades cannot be found when included in the newActor class.
I’m too bogged down with work to follow this up right now, but I wanted to report back. I’ve probably just missed something obvious. I’ll spend some time on it later in the week.