WorldEditor: Difference between revisions

1,431 bytes added ,  5 November 2012
added Linux compiling instructions
(→‎External links: Correct linking)
(added Linux compiling instructions)
Line 13: Line 13:


== Obtaining WorldEditor ==
== Obtaining WorldEditor ==
=== Mac/Windows ===
Stable WED binaries for Windows and Mac can be downloaded from [http://scenery.x-plane.com/tools.php scenery.x-plane.com]. A development version is available through: [http://dev.x-plane.com/download/tools/ dev.x-plane.com].
Stable WED binaries for Windows and Mac can be downloaded from [http://scenery.x-plane.com/tools.php scenery.x-plane.com]. A development version is available through: [http://dev.x-plane.com/download/tools/ dev.x-plane.com].


In order to work with WED without installing X-Plane, one needs to create a special <tt>Custom Scenery</tt> directory, for example <tt>X-Plane/Custom Scenery</tt>. When launching WED for the first time, click the "Choose X-Plane folder" directory and select the folder that your <tt>Custom Scenery</tt> houses in (in our example: <tt>X-Plane</tt>).
In order to work with WED without installing X-Plane, one needs to create a special <tt>Custom Scenery</tt> directory, for example <tt>X-Plane/Custom Scenery</tt>. When launching WED for the first time, click the "Choose X-Plane folder" directory and select the folder that your <tt>Custom Scenery</tt> houses in (in our example: <tt>X-Plane</tt>).
=== Linux ===
Because there is no (useable) binary available for Linux based operating systems, the user has to compile it from source. Don't be afraid of that, since it brings most of its dependencies along, it is not hard. However, some things need to be provided by the user's system:
* binutils and binutils-devel
* [[git]]
* GNU coreutils
* GNU make
* libmpfr-devel
* mesa-libGL-devel and mesa-libGLU-devel
* qt4-devel
Downloading WED's source (about 170 MiB) is done via <tt>git</tt>:
git clone http://dev.x-plane.com/git/xptools.git xptools.git
cd xptools.git
Afterwards WED's dependencies have to be downloaded (about 260 MiB) and compiled. These steps have to be done only once, before compiling WED the first time:
git submodule update --init
cd libs
make -j2
cd ..
Compiling WED:
conf=release_opt make -j2 WED
As on [[#Mac/Windows|Mac/Windows]] WED needs a certain working directory <tt>some_name/Custom Scenery</tt>. Assuming your self made scenery stuff lives (/is going to be) in <tt>~/FGscenery-workbench</tt>, create a directory:
mkdir -p ~/FGscenery-workbench/Custom\ Scenery
Choose <tt>FGscenery-workbench</tt> as "X-PLANE FOLDER" the first time you start WED:
build/Linux/release_opt/WED
You may now copy the file <tt>build/Linux/release_opt/WED</tt> to <tt>~/bin</tt> or another location within your $PATH environment variable:
cp build/Linux/release_opt/WED ~/bin


== Related content ==
== Related content ==
392

edits