cocos2dx v3.14 app42 "_curl_easy_cleanup" Undefined symbols for architecture armv7 error

0 votes

i upgrade cocos2dx3.14 version because apple ipv6 problems. i include app42 folder an error occurred.

 

Undefined symbols for architecture armv7:

  "_curl_easy_cleanup", referenced from:

      App42Network::CURLRaii::~CURLRaii() in App42HttpClient.o

  "_curl_easy_init", referenced from:

      App42Network::CURLRaii::CURLRaii() in App42HttpClient.o

  "_curl_easy_perform", referenced from:

      App42Network::CURLRaii::perform(long*) in App42HttpClient.o

  "_curl_slist_free_all", referenced from:

      App42Network::CURLRaii::~CURLRaii() in App42HttpClient.o

  "_curl_easy_getinfo", referenced from:

      App42Network::CURLRaii::perform(long*) in App42HttpClient.o

  "_curl_formfree", referenced from:

      App42Network::processPostFileTask(App42Network::App42HttpRequest*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, long*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, char*) in App42HttpClient.o

      App42Network::processPostFileDataTask(App42Network::App42HttpRequest*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, long*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, char*) in App42HttpClient.o

  "_curl_easy_strerror", referenced from:

      App42Network::CURLRaii::perform(long*) in App42HttpClient.o

  "_curl_slist_append", referenced from:

      App42Network::CURLRaii::init(App42Network::App42HttpRequest*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, char*) in App42HttpClient.o

  "_curl_formadd", referenced from:

      App42Network::processPostFileTask(App42Network::App42HttpRequest*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, long*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, char*) in App42HttpClient.o

      App42Network::processPostFileDataTask(App42Network::App42HttpRequest*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, long*, unsigned long (*)(void*, unsigned long, unsigned long, void*), void*, char*) in App42HttpClient.o

  "_curl_easy_setopt", referenced from:

      bool App42Network::CURLRaii::setOption<bool>(CURLoption, bool) in App42HttpClient.o

      App42Network::configureCURL(Curl_easy*, char*) in App42HttpClient.o

      bool App42Network::CURLRaii::setOption<curl_slist*>(CURLoption, curl_slist*) in App42HttpClient.o

      bool App42Network::CURLRaii::setOption<char const*>(CURLoption, char const*) in App42HttpClient.o

      bool App42Network::CURLRaii::setOption<unsigned long (*)(void*, unsigned long, unsigned long, void*)>(CURLoption, unsigned long (*)(void*, unsigned long, unsigned long, void*)) in App42HttpClient.o

      bool App42Network::CURLRaii::setOption<void*>(CURLoption, void*) in App42HttpClient.o

      bool App42Network::CURLRaii::setOption<int>(CURLoption, int) in App42HttpClient.o

      ...

ld: symbol(s) not found for architecture armv7

p.p1 {margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo}

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

how can i solve this problem? 

asked Jan 10, 2017 in Cocos2D-X by exceeduniverse (10 points)

1 Answer

0 votes
Hi,

We have tested the App42Cloud SDK on Cocos2dx version 3.12 as of now. Let me check the SDK at Cocos2dx 3.14 and will update you for the same.

Thanks.
answered Jan 11, 2017 by rajeev.etc (1,660 points)
I have updated the Getting Started Page(https://github.com/shephertz/App42_Cocos2DX_SDK/wiki/Getting-Started) for App42_Cocos2dx_SDK, which explain the steps to set curl path for latest cocos2dx version. Please follow the steps and let me know if you have any queries.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...