User:Mattn/Eclipse/Howto

From UFO:AI
< User:Mattn‎ | Eclipse
Revision as of 10:46, 29 September 2010 by Mattn (talk | contribs) (→‎Step 2: Install the downloaded software)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

General

This howto is about the installation and the setup of Eclipse Wascana on a Windows platform to compile and develop for UFO: Alien Invasion

Step 1: Getting the required software

  • Download Wascana
  • Download Git (Use the full installer of the official Git version)
  • Download MinGW Extensions to be able to compile and link UFO: Alien Invasion This is still missing, but I'm working on it

Step 2: Install the downloaded software

  • Wascana must be installed in Template:Path. If you change this directory, you would have to edit all the pkg-config files that you have to install in the next step.
  • After Eclipse Wascana is installed you can install the MinGW extension package.
  • Install Git

Step 3: Clone the git repository

See Getting the source

Step 4: Environment variables

Set the environment variables

Change your PATH to also include the Template:Path and Template:Path directories. Add a new variable named CC and set it to gcc.

Step 5: Start Wascana

Check the include dirs
Import the project: Step 1
Import the project: Step 2

Start Eclipse Wascana and import the cloned Template:Path repository. Go to File->Import->Existing Project, select the Template:Path directory and import the shown project.

You are now able to build and link UFO: Alien Invasion