Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » ScoreNinja(ScoreNinja in eclipse?)
icon5.gif  ScoreNinja [message #1393432] Thu, 03 July 2014 19:56 Go to next message
Andreas Mustola is currently offline Andreas Mustola
Messages: 1
Registered: July 2014
Junior Member
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] Mon, 07 July 2014 03:06 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2314
Registered: July 2009
Senior Member
A .jar file is usually a code library for use with Java, not C++. Which kind of source are you showing us?

---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Java script function is not working
Next Topic:Having trouble using external source code in Eclipse!
Goto Forum:
  


Current Time: Thu Oct 30 17:33:25 GMT 2014

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

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