This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Программирование
Fundamentals
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Linux Development Environment

To start working with the Unigine engine on the Linux platform you should install the UNIGINE SDK and additional software.

Prepare the Environment for Linux

Install UNIGINE SDK

Notice
You may also need to set the following environment variables:
  • Add to $LD_LIBRARY_PATH variable locations of the following directories: <UnigineSDK>/lib.
Re-login to make the changes in ~/.profile take effect.
Notice
Make sure that your terminal takes environment variables into account.
From the Terminal main menu, choose Edit > Profile Preferences > Title and Command and check Run command as a login shell box.

Additional Software

  • Linux 2.6.x
  • GCC 4.x.x
  • Python 2.7
  • SCons 2.5.1+
  • distcc (optional)
  • ccache (optional)

To install all required Debian/Ubuntu packages, use the following:

Shell commands
sudo apt-get install linux-headers-2.6 gcc g++ make scons ccache libgl1-mesa-dev libxrandr-dev libxrandr:i386 libxinerama-dev libopenal1 libxrender-dev libxext-dev libc6-dev libx11-dev
After that, perform the following to avoid errors during the engine recompilation:
Shell commands
username@pc-name:~$ cd /usr/lib/x86_64-linux-gnu
username@pc-name:~/usr/lib/x86_64-linux-gnu$ sudo ln -s libXrandr.so.2 libXrandr.so

For 64 -bit Debian/Ubuntu, install additional packages to enable 32 -bit cross-compilation:

Shell commands
sudo apt-get install gcc-multilib lib32gcc1 ia32-libs ia32-libs-dev lib32stdc++6 libc6-i386
Last update: 26.04.2018
Build: ()