Pages

Tuesday 16 December 2014

"'curl_rule_01' declared as an array with a negative size" error in cocos2dx

" 'curl_rule_01' declared as an array with a negative size " if this kind of error occurred in cocos2dx


when we add  arm64 for build the project , then and then only that kind of error occurred in cocos2d.



Resolution -->

In  "curlbuild.h" file

        #define CURL_SIZEOF_LONG 4 



        replaced by


        #ifdef __arch64__ 
        #define CURL_SIZEOF_LONG 8
        #else
        #define CURL_SIZEOF_LONG 4
        #endif 





then issue will be resolve.

No comments:

Post a Comment