Compilation of Alternativa3D from source codes

From AlternativaPlatform Wiki

Jump to: navigation, search


Contents

[edit] Indroduction

At this article there are presented some ways to get library Alternativa3D.swc from source codes from github.com repository.

In this tutorial we will look at the most popular development environments:

This tutorial is not contains information about ways of getting of source codes from git repository. You can find this information in internet.

[edit] Adobe Flash Builder

  1. Launch FB and create new project: File → New → Flex Library Project
    FB GIT 1.PNG

  2. Save it in folder with source codes of Alternativa3D. At this case, source codes are located in C:\workspace\Alternativa3D:
    FB GIT 2.PNG

  3. Specify folder with the additional libraries (they are required when you work with parsers). Click on Add SWC Folder:
    FB GIT 3.PNG

    In the next window you should type libs:
    FB GIT 4.PNG

    FB GIT 5.PNG

  4. Press Finish. Project has been created. Now you can build swc-file.
  5. File → Project → Clean. After that, in output folder of the project you can find file Alternativa3D.swc
    FB GIT 6.PNG

    FB GIT 7.PNG

    FB GIT 8.PNG

[edit] FlashDevelop

FD doesn't have native tools for compilation of SWC files. This feature is implemented by third-party plugins (e.g., Export SWC). So, we don't look this IDE in details. We just mention that you must connect additional libraries from libs folder:
FD GIT 01.PNG

[edit] IntelliJ IDEA

  1. Launch IDEA and create new project: File → New Project → Create project from scratch:
    IDEA GIT 01.PNG
  2. Next, specify that we want to get swc-library:
    IDEA GIT 02.PNG
  3. Go to project properties File → Project structure and open Libraries tab. Here, you must to add additional libraries from libs folder:
    IDEA GIT 03.PNG

    IDEA GIT 04.PNG
  4. Now, you can compile swc-library Build → Make Project:
    IDEA GIT 05.PNG

    After that, in output folder of the project you can find file Alternativa3D.swc
Personal tools
Namespaces
Variants
Actions
Navigation
Category
Toolbox
In other languages