Hello, I am facing an issue while integrating Scoreloop with Cocos2dx in Android.
Hi, I downloaded upSL-master.zip file.
In Scorloop.h file while declaring following line:
static void SubmitScore(ScoreController self, double result, double minor_result = 0.0, unsigned int level = 0, unsigned int mode = 0, std::map* context = NULL);
It shows the following errors
Multiple markers at this line
candidate is: static void Scoreloop::ScoreController::SubmitScore(Scoreloop::ScoreController**, double, double, unsigned int, unsigned int, int**)
template argument 4 is invalid
template argument 2 is invalid
template argument 3 is invalid
‘string’ is not a member of ‘std’
template argument 1 is invalid
And also in the jni_scoreloop.cpp file where this method is defined shows the following error
prototype for ‘void Scoreloop::ScoreController::SubmitScore(Scoreloop::ScoreController**, double, double, unsigned int, unsigned int,
std::mapstd::basic_string**)’ does not match any in class ‘Scoreloop::ScoreController’
what can be the problem?