Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Dear Users,

Now, we are seeking users who can give us a hand with expertise to evolve our software more dynamically.
If you are willing to help us, we’d like you to make a registration for “Live2D Creators Circle” via the link below.
Designers, programmers, translators are especially welcomed so far.
(More detailed explanation will be given to you before we ask you to do tasks)

https://docs.google.com/forms/d/1G5KK_GL3ozwPXtTHrpi_ktbsI8UZf8jlYRSlDworyBo/viewform?usp=send_form

Apple Mach-O Linker Error when using Cocos2d-x

When I tried to run the Cocos2d-x sample project on Xcode using Live2D_SDK_iPhone_ES2_1.0.01, I received the following error:
---
Apple Mach-O Linker Error
clang: error: unknown argument: '-websockets' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
---

But after a bit of research, I managed to solve this error by erasing ‘-websockets’ under ‘TARGETS>sampleCocos2dx>BuildSettings>Linking>Other Linker Flags’

I thought I should share this with other Cocos2d-x users!
Tagged:

Comments

Sign In or Register to comment.