mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-28 22:15:49 -04:00
a9ac73d4e55beead9267d5653d78bb1b336e091b
SWGNGE
Ubuntu Environment Setup
sudo apt-get install build-essential zlib1g-dev libpcre3-dev cmake libboost-dev libxml2-dev libncurses5-dev flex bison git-core alien
Oracle Instant Client
Follow this guide to get the oracle client set up.
https://help.ubuntu.com/community/Oracle%20Instant%20Client
Oracle Java 7
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo apt-get install oracle-java7-set-default
You must log out and back in (or just reboot) for the $JAVA_HOME and $ORACLE_HOME to be set properly after these tools are installed. This is required in order for cmake to be able to find these tools when configuring the source code for building.
STLPort
wget http://downloads.sourceforge.net/project/stlport/STLport/STLport-5.2.1/STLport-5.2.1.tar.bz2
tar -xvjf STLport-5.2.1.tar.bz2
cd STLport-5.2.1
./configure
sudo make install
Build code
git clone [email protected]:apathyboy/swg-src.git -b cmake
mkdir swg-src/build
cd swg-src/build
cmake ..
make
Languages
C++
94.1%
C
2.8%
PLSQL
1.5%
CMake
1.1%
Perl
0.4%