I am using UE4.27, I made a game with C++ using libcurl. It is working good on windows. but I cannot compile it on Mac.
Anyone know how to make it works for Mac?
–
Detail question:
Error: ‘WITH_LIBCURL’ macro redefined, same issue as the below post:
Manullay set “PublicDefinitions.Add(“WITH_LIBCURL=1”);” doesn’t help. I feel there are some code checking my current platform and auto set it to 0, but I couldn’t find this code.
BTW, I had a deep look into the libcurl folder, I found:
- The libcurl.Build.cs file seems didn’t mention Apple, and mac,
- under “/Users/Shared/Epic Games/UE_4.27/Engine/Source/ThirdParty/libcurl/”, I cannot see any libs for Mac or linux, it has only Android.
I guess I need to add mac libs to this folder to get it to work. Anyone know how to do that?
Thanks,