modify Cocos2d-x root/external/config.json to update the dependency version. For v3.x the dependency version is v3-deps-92, and for v2.x it is v2-deps-5
execute the download-deps.py script in your Cocos2d-x root.
if i do like what you said, everything will be ok ?
I am using Cocos2dxv3.0-pre-alpha0,want to update the libcurl but as you mentioned above the path for config.json,i have searched same but i didnt get that file in my cocos2dxv3.0/external/ folder and download-deps.py is also not found there.
Please suggest where i can find the same?
Any suggestion would be great appreciated.
Actually the project is pre-developed in this version and its in closure stage and it will take a lot of changes for upgrading to above versions,therefore for this project only,i have to stick to this version only.
Thanks for your suggestion.I will develop further games with above versions.
After changing the dependency version to v3-deps-92 and executing download-deps.py everything ran ok. But then when I try to build my project I’m now getting the following error:
error: no matching function for call to 'rapidjson::GenericValue<rapidjson::UTF8<> >::AddMember(const char [10], const char*&, rapidjson::GenericDocument<rapidjson::UTF8<> >::AllocatorType&)'action.AddMember("classname", str2, allocator);
Any help would be greatly appreciated!
EDIT: I also get the following error:
json/document.h:1107:5: error: no type named 'Type' in 'struct rapidjson::internal::DisableIf<rapidjson::internal::OrExpr<rapidjson::internal::IsPointer<const char*>, rapidjson::internal::IsGenericValue<const char*> >, rapidjson::GenericValue<rapidjson::UTF8<> >&>'