I’m using UnrealbuildTool as follow
unrealbuildtool Win64 Development -TargetType=Editor
Compiler complain about this line
const FString Domain = FPlatformHttp::GetUrlDomain(Request->GetURL());
I’ve checked the CurlHttp.cpp , the including path is
CurlHttp.cpp -> Http.h -> PlatformHttp.h -> WindowsPlatformHttp.h
in WindowsPlatformHttp.h there are following lines
#if WINDOWS_USE_FEATURE_PLATFORMHTTP_CLASS
typedef FWindowsPlatformHttp FPlatformHttp;
#endif
and in WindowsPlatform.h WINDOWS_USE_FEATURE_PLATFORMHTTP_CLASS is defined as 1.
So , the module should compile , is there any chance that WindowsPlatform.h not got included ?