Documentation/Compiling: Unterschied zwischen den Versionen

Aus OpenDino
Wechseln zu: Navigation, Suche
(Created page with "= Developing and Compiling OpenOpal = Check the software requirements first! Then download the source ...")
 
(Using an IDE)
Zeile 5: Zeile 5:
 
== Using an IDE ==
 
== Using an IDE ==
  
OpenOpal is currently developed with [http://www.netbeans.org/ NetBeans], however other platforms such as Eclipse [http://www.eclipse.org/ Eclipse] can also be used.
+
OpenOpal is currently developed with [http://www.netbeans.org/ NetBeans], as many windows are generated with the Swing framework.
  
Nevertheless, compiling and executing the software in a shell is also supported using Makefiles as build system.
+
However, other platforms such as Eclipse [http://www.eclipse.org/ Eclipse] can also be used.
 +
 
 +
Compiling and executing the software in a shell is also supported using <code>Makefile</code>s as build system.
  
 
== Compiling in a Shell ==
 
== Compiling in a Shell ==

Version vom 18. März 2013, 20:54 Uhr

Developing and Compiling OpenOpal

Check the software requirements first! Then download the source code.

Using an IDE

OpenOpal is currently developed with NetBeans, as many windows are generated with the Swing framework.

However, other platforms such as Eclipse Eclipse can also be used.

Compiling and executing the software in a shell is also supported using Makefiles as build system.

Compiling in a Shell

Two platforms are currently tested:

  • Linux: A typical standard implementation of Linux with a Java JDK should contain all required programs for compiling and running OpenOpal.
  • Windows: Cygwin (R) is used to compile OpenOpal on Windows(R) platforms.

Compiling on other platforms has not been tested.

Creating the Makefile

The Makefile is automatically generated by the script createMakefile. In a shell, go to the subfolder openopal/trunk and execute:

$ ./createMakefile

Enter

$ make

to list the possible actions.

Compiling the Source Code & Executing OpenOpal

For Linux systems enter

$ make javac
$ make gui

to compile and start OpenOpal in GUI mode.

For Windows systems enter

$ make javac_cygwin
$ make gui