Hi
I found a difficult problem to understand.
this is my code in TestModule.Build.cs
public class TestModule: ModuleRules
{
public TestModule(ReadOnlyTargetRules Target) : base(Target)
{
...
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay"});
PrivateDependencyModuleNames.AddRange(new string[] { "libcurl" });
}
}
It build success on Windows but failed on mac
build error
Definitions.MyProject.h:68:9: ‘WITH_LIBCURL’ macro redefined
#define WITH_LIBCURL 1
^
SharedPCH.UnrealEd.h:240:9: Previous definition is here
#define WITH_LIBCURL 0
^
In file included from <built-in>:1:
Mac is specify define WITH_LIBCURL 0. Why is this?