Skip to main content



      Home
Home » Newcomers » Newcomers » ScoreNinja(ScoreNinja in eclipse?)
icon5.gif  ScoreNinja [message #1393432] Thu, 03 July 2014 15:56 Go to next message
Eclipse UserFriend
I am using Eclipse and c++.
I try to add a ScoreNinja highscore. But when I try this:
ScoreNinjaAdapter * scores = new ScoreNinjaAdapter(v.getContext(), "myid", "key");
scores.show(-1, null, Integer.toString(appState.getGameSize()));


ScoreNinjaAdapter library is not found. Its a jar library and I followed this tutorial:
wikihow.com/Add-JARs-to-Project-Build-Paths-in-Eclipse-(Java)

I got the library in my project but I never includes it in my .cpp file. I know #include "cocos2d.h". But how do I write to include a jar library in my c++ code?
Re: ScoreNinja [message #1395530 is a reply to message #1393432] Sun, 06 July 2014 23:06 Go to previous message
Eclipse UserFriend
A .jar file is usually a code library for use with Java, not C++. Which kind of source are you showing us?
Previous Topic:Java script function is not working
Next Topic:Having trouble using external source code in Eclipse!
Goto Forum:
  


Current Time: Thu Jun 19 18:23:35 EDT 2025

Powered by FUDForum. Page generated in 0.25825 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top