Add scripts and build notes
parent
0dfc1d0b42
commit
2dc57c3f1e
|
@ -35,6 +35,11 @@ Linux
|
|||
|
||||
**Install Dependencies**
|
||||
|
||||
I recommend that you use the **misc/install_irrlicht.sh** script to install Irrlicht,
|
||||
as some features in NBE require Irrlicht 1.8 or later, which is not in apt-get
|
||||
|
||||
Alternative method (Installs Irrlicht 1.7.2):
|
||||
|
||||
# download source and go to the root folder
|
||||
$ sudo apt-get install build-essential libirrlicht-dev cmake libpng12-dev libbz2-dev libjpeg8-dev libgl1-mesa-dev
|
||||
|
||||
|
@ -62,7 +67,7 @@ Express edition makes no difference to the process.
|
|||
|
||||
**Prerequisites**
|
||||
|
||||
* Download Irrlicht. 1.8 is prefered, but 1.7.x will also work.
|
||||
* Download Irrlicht. Some features in NBE require Irrlicht 1.8 or later in order to be enabled.
|
||||
* Download the source code for NBE
|
||||
* You will need to download Visual Studio, of course.
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo "Sudo is required for installing dependancies and uninstalling old versions of Irrlicht"
|
||||
|
||||
# Dependancies
|
||||
sudo apt-get install -y subversion build-essential xserver-xorg-dev x11proto-xf86vidmode-dev libxxf86vm-dev
|
||||
sudo apt-get install -y mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libxext-dev libxcursor-dev
|
||||
sudo apt-get remove -y libirrlicht-dev
|
||||
|
||||
# Download Irrlicht
|
||||
svn checkout svn://svn.code.sf.net/p/irrlicht/code/trunk irrlicht-trunk
|
||||
|
||||
# Build Irrlicht
|
||||
cd irrlicht-trunk/source/Irrlicht
|
||||
make
|
||||
|
||||
# Install Irrlicht
|
||||
cd ../..
|
||||
sudo cp -r include/* /usr/local/include/
|
||||
sudo cp lib/Linux/libIrrlicht.a /usr/local/lib
|
|
@ -0,0 +1,7 @@
|
|||
#! /bin/bash
|
||||
|
||||
cd ../
|
||||
cmake .
|
||||
make -j3
|
||||
sudo make install
|
||||
|
Loading…
Reference in New Issue