cocos2dx学习笔记(library not found for -lcurl)

遇到问题

ld: warning: directory not found for option '-L"/Users/aa/GameDev/cocos2d-x-2.2.2/projects/FlappyBeetle/proj.ios/../../../cocos2dx/platform/third_party/ios/libraries"'
ld: warning: directory not found for option '-L"/Users/aa/GameDev/cocos2d-x-2.2.2/projects/FlappyBeetle/proj.ios/../../../external/libwebsockets/ios/lib"'
ld: library not found for -lcurl
clang: error: linker command failed with exit code 1 (use -v to see invocation)

解决方法:

Library Search Paths里

\"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios/libraries\"
\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"

改为

/Users/aa/GameDev/cocos2d-x-2.2.2/cocos2dx/platform/third_party/ios/libraries
/Users/aa/GameDev/cocos2d-x-2.2.2/external/libwebsockets/ios/lib


你可能感兴趣的:(cocos2dx学习笔记(library not found for -lcurl))