Menu

Developers_Installation_Guide Log in to Edit

The IDE being used is eclipse, which kind of looks like this:

If you use Debian/Ubuntu/Mint Linux, start your package manager and search for eclipse or start your terminal and type:

sudo apt-get install eclipse

Then go to Menu -> Programming -> Eclipse

Step 1. - downloading the plugins

Next we need to download the programs that are used to compile python and C++ code on eclipse, plus we need git support for eclipse.

So in Eclipse, go to Help -> Install New software -> Add

Now add the following (one at a time):

Name: CDT
URL: http://download.eclipse.org/tools/cdt/releases/galileo

and select CDT Main Features


Then press next to download it.

Name: PyDev
URL: http://pydev.org/updates

and select PyDev


Then press next to download it.

Name: Egit
URL: http://download.eclipse.org/egit/updates

and select Eclipse Git Team Provider


Then press next to download it.

It could be that Egit is already provided in your software list.
In that case search for the option with "download.eclipse.org" in it's location and search for Egit. Then select Eclipse Egit (Incubation)
Once you've done that, Click on Finish.

Step 2. - Downloading the projects from git

In Eclipse again go to:
File -> Import -> Projects from Git -> Clone

Now for getting our source code, you can do two things:

You can go to #nya at irc.lunarnet.org

and beg one of us to join our team of developers, in which case the URI you will have to type is:
ssh://\<your username>@git.code.sf.net/p/nya/git.git

Otherwise type:
git://git.code.sf.net/p/nya/git.git

The latter will give you read only access. Click next and some other window will open.
Choose master in both cases. Don't force the update.

Select the repository you cloned and click on next.
Select Import Existing projects.
Selects Try to share newly created projects automatically.

Click Next and select all the projects that appear in the window.
Click Finish

Step 3. - Configuring Eclipse for our projects

Nya-editor

Since Nya-editor uses PyDev, you need to download python2.6.

For windows:
go to http://www.python.org/download/releases/

For linux:
Open your package manager and search for python

Once you've downloaded python2.6, go back to Eclipse and open
Windows -> preferences -> Pydev -> Interpreter Python -> Auto Config

Choose all of them.
And we're done for the editor.
Nya-editor is now ready for you to play with.

Nya-engine

Nya-engine needs to have /usr/include/python3.1 included at:
Project -> Properties -> Path and Symbols -> Include -> GNU C++

add the following:
/usr/include/python3.1

Go to:
Project -> Properties -> Setting -> Tool Settings -> GCC C++ Linker -> Libraries

add the following:

  • python3.1
  • audiere
  • corona
  • GL
  • SDL
  • z

And we're done for the engine.
Nya-engine is now ready for you to play with.



Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.