Forums » C++ Framework » upSL & Scoreloop SDK »
| Chris Schere | upSL & Scoreloop SDK | ||
|---|---|---|---|
|
Added by Chris Schere 9 months ago
Hi all, I have a question about 'Scoreloop'... I integrate the SDK and the upSL into cocos2dx 2.0.1. Its running by the way without any errors... But.... when I start the Scene, at first, a notification popup comes, where I can create a new user oder login, ... in the background I see the TOS, ERROR: ...in main.m -> Thread 1: signal SIGABRT ...?! I dont know how to fix :/ ... I hope, anyone of you, can help me by this problem (sry for my poor english :P) Respectfully, |
||
| Marat Yakupov | RE: upSL & Scoreloop SDK | ||
|
Added by Marat Yakupov 9 months ago
You have same situation like this issue describes. You forgot to add -ObjC flag in "Other Linker flags" which required by Scoreloop SDK. I've added this to Integration Guide yesterday since there is common error in project setup. |
||
| Chris Schere | RE: upSL & Scoreloop SDK | ||
|
Added by Chris Schere 9 months ago
Thank you very much, for your fast response When I add this flag, ... I got 13 Errors ... Undefined symbols for architecture i386 -.- ... etc Do you have any idea? Respectfully, |
||
| Marat Yakupov | RE: upSL & Scoreloop SDK | ||
|
Added by Marat Yakupov 9 months ago
Read carefully Scoreloop manual, you also forgot to link scoreloop library |
||
| Chris Schere | RE: upSL & Scoreloop SDK | ||
|
Added by Chris Schere 9 months ago
I dont know why, ... but I delete the -ObjC Flag ... and now it works? o.O ... without any crashes? ... hmmm really strange ... |
||
| Vishal Soni | RE: upSL & Scoreloop SDK | ||
|
Added by Vishal Soni 6 months ago
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*) 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, what can be the problem? |
(1-5/5)
yeah!
...