Unresolved External Symbol when using FKeys

Hey guys.
I upgraded to 4.0.2 recently, and I’ve been getting these unresolved external symbol errors that didn’t exist before.
I was hoping someone could shed some light on this issue.

Thanks

1>MyGameCharacter.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl FKey::FKey(struct FKey const &)" (__imp_??0FKey@@QEAA@AEBU0@@Z) referenced in function "private: void __cdecl AAORGameCharacter::OnTimer_ShoulderRollTest(void)" (?OnTimer_ShoulderRollTest@AAORGameCharacter@@AEAAXXZ)
1>MyGameCharacter.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static struct FKey const EKeys::A" (__imp_?A@EKeys@@2UFKey@@B)
1>MyGameCharacter.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static struct FKey const EKeys::D" (__imp_?D@EKeys@@2UFKey@@B)
1>MyGameCharacter.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static struct FKey const EKeys::S" (__imp_?S@EKeys@@2UFKey@@B)
1>MyGameCharacter.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static struct FKey const EKeys::W" (__imp_?W@EKeys@@2UFKey@@B)
1>MyGameCharacter.cpp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static struct FKey const EKeys::LeftControl" (__imp_?LeftControl@EKeys@@2UFKey@@B)

#InputCore in Build.CS

Are you including InputCore as a public dependency in your Build.cs ?

Rama

1 Like

Thanks a lot. Apparently, it got removed somehow.