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: 60
Building problems
Sometimes linker will scream that some libraries are missing. Either you are really missing the libraries or your libraries might have diffirent names. Check the following folders:
/usr/lib /usr/lib/x86_64-linux-gnu
for the missing libraries. When you find them, link them to /usr/lib
melon@melon:/usr/lib$ sudo ln -s x86_64-linux-gnu/libfreetype.so.6 libfreetype.so
In the above example I have made a link, because linker was shouting that libfreetype.so was missing. Now I have a symbolic link: /usr/lib/libfreetype.so pointing to /usr/lib/x86_64-linux-gnu/libfreetype.so.6 and compiler is satisfied.