Building on Linux <draft>

General Development Discussion for the mmoproject,
topics include how to build, scriping and support forums

Building on Linux <draft>

Postby Obi-Two » August 24th, 2015, 6:43 am

How to build on Ubuntu 18
the following is a step by step guide to how I built the VM down loadable here(link)

First to install are the pre-requisites
  • Install GIt
    Code: Select all
     sudo apt-get install git
  • Install Cmake 3.2
    Code: Select all
    sudo apt-get install build-essential
    tar xf cmake-3.2.2.tar.gz
    cd cmake-3.2.2
    sudo make insall
  • Install Scons
    Code: Select all
    sudo apt-get install scons
  • Install Gtest
    • While Gtest is included with the deps download, I've found it troublesome, installing it manually will save us some time.
    Code: Select all
    sudo apt-get install libgtest-dev
    cd /usr/src/googletest/googletest
    sudo mkdir build
    cd build
    sudo cmake ..
    sudo make
    sudo cp libgtest* /usr/lib/
    cd ..
    sudo rm -rf build
  • Zlib
    • Again with zLib this is included with the deps package, however much easier to pre install it.
    Code: Select all
    sudo apt-get install zlib1g-dev

  • Install MySQL server/client (Workbench - optional)
    • I followed the guide below to install MySQL server 5.7.
    Code: Select all

Clone the project
Code: Select all
git clone

The should pull all the decency's and code needed how ever I've found manually installing the follow saves some time,

open a terminal and run the following
Code: Select all
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/local ..
make install

Copy the config, scripts folder form the data folder in to the bin folder.
Create hieghtmaps and logs folder (use all lower case)
Download the required heightmaps, (At this point all testing will be done on tatooine)

Height maps can be found here.

Set up your databade.
-- set your galaxies IP in the galaxy tabel
needs solution

Run the server..

Forum Administrator
Star Wars Galaxies::A new hope
there is another...

SWH::ANH Projects :: SWGANHServices
Discord Server :: Discord/SWGANH
Posts: 264
Joined: January 3rd, 2009, 9:37 am
Location: Manchester, England
SWG Official Server: Ahazi

Return to Development Discussion

Who is online

Users browsing this forum: No registered users and 1 guest