wiki:Linux

Version 8 (modified by melon, 12 years ago) (diff)

--

Getting started on Linux

You need do download gcc, subversion and lua.

sudo apt-get install gcc
sudo apt-get install subversion
sudo apt-get install lua5.2
sudo apt-get install lua5.2-dev

We also need graphical library glm

sudo apt-get install libglm-dev

And you'll also need premake4, which can be downloaded from here: http://industriousone.com/premake/download

Did I mention that we need SDL? Download the proper rpm from here:

http://www.libsdl.org/download-1.2.php

To install that rpm, followe the instructions here:

http://www.howtogeek.com/howto/ubuntu/install-an-rpm-package-on-ubuntu-linux/

The repo for nv project can be found here: (should this information be visible here?) which you should clone to a directory of your choice:

svn co (again, should this be visible here)

After you have checked-out the repo, go to the trunk dir and use premake4 to generate files (I was just lazy and copied the binary there).

./premake4 gmake

Which tells premake4 to generate Makefiles for Linux. After that, you can simply type:

make

to start the compilation.

Latest known revision known to be compilable under Linux is: 23