cocos2d-x-3rd-party-libs-src icon indicating copy to clipboard operation
cocos2d-x-3rd-party-libs-src copied to clipboard

cannot compile curl on MacOS Mojave

Open Guy-kun opened this issue 6 years ago • 0 comments

Cloning the latest version and attempting to run ./build.sh -p=mac --libs=curl --arch=x86_64 --mode=release

Results in the error:

connect.c:1087:12: error: 'connectx' is only available on macOS 10.11 or newer [-Werror,-Wunguarded-availability]

Which seems to be related to a libcurl issue that has since been patched: https://github.com/curl/curl/issues/2080

I'm not well versed enough in how this build process works but if someone could possibly take a look as to what needs to be changed to use latest libcurl this will likely fix the issue.

Thanks!

Guy-kun avatar Oct 23 '18 12:10 Guy-kun