Hello, I’m trying to create a Downloader class for my Unreal Engine 4 application and I’m getting the following error:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol “__declspec(dllimport) public: static class FHttpModule & __cdecl FHttpModule::Get(void)” (_imp?Get@FHttpModule@@SAAEAV1@XZ) referenced in function “public: class AOpenWebURL * __cdecl AOpenWebURL::DownloadFile(class FString const &,class FString const &)” (?DownloadFile@AOpenWebURL@@QEAAPEAV1@AEBVFString@@0@Z) TrainingWorldsAdmin C:\Desktop\TrainingWorldsAdmin\Intermediate\ProjectFiles\OpenWebURL.cpp.obj
This means that the FHttpModule::Get () function cannot be found in any of the libraries included in the .cpp file. I’ve included the “Runtime/Online/HTTP/Public/Http.h” header file so why does this happen?