You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using your build scripts and sources to build static .a libCurl libraries and I want to use them in an android project that has C++ implementations that call on libCurl APIs. I'm getting a bunch of undefined reference to curl calls such as the following:
error: undefined reference to 'curl_easy_init'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:45: error: undefined reference to 'curl_easy_setopt'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:46: error: undefined reference to 'curl_easy_setopt'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:48: error: undefined reference to 'curl_easy_setopt'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:49: error: undefined reference to 'curl_slist_append'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:50: error: undefined reference to 'curl_slist_append'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:51: error: undefined reference to 'curl_easy_setopt'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:53: error: undefined reference to 'curl_easy_perform'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:54: error: undefined reference to 'curl_easy_getinfo'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:64: error: undefined reference to 'curl_easy_init'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:75: error: undefined reference to 'curl_slist_append'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:81: error: undefined reference to 'curl_easy_perform'
Any idea what might be going wrong? Do you know what should I add to the cmake to link the static libraries with my CPP classes?
The text was updated successfully, but these errors were encountered:
I am using your build scripts and sources to build static .a libCurl libraries and I want to use them in an android project that has C++ implementations that call on libCurl APIs. I'm getting a bunch of undefined reference to curl calls such as the following:
error: undefined reference to 'curl_easy_init'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:45: error: undefined reference to 'curl_easy_setopt'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:46: error: undefined reference to 'curl_easy_setopt'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:48: error: undefined reference to 'curl_easy_setopt'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:49: error: undefined reference to 'curl_slist_append'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:50: error: undefined reference to 'curl_slist_append'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:51: error: undefined reference to 'curl_easy_setopt'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:53: error: undefined reference to 'curl_easy_perform'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:54: error: undefined reference to 'curl_easy_getinfo'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:64: error: undefined reference to 'curl_easy_init'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:75: error: undefined reference to 'curl_slist_append'
/Users/jay.nagar/dev/git/unity_sdk_whareapi/Whare_Native_Unity/src/Whare/Common/WhareWebRequest.cpp:81: error: undefined reference to 'curl_easy_perform'
Any idea what might be going wrong? Do you know what should I add to the cmake to link the static libraries with my CPP classes?
The text was updated successfully, but these errors were encountered: