- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
Up:[[Tutorial]]
----
#contents
*Installation of SIGVerse [#oe28c1d0]
This page explaines how to install SIGVerse server on Linux (Ubuntu 14.04 LTS)
If you use SIGVerse on a server at Inamura Lab., NII, you can skip to install the following procedures.
** Installation for Ubuntu [#bf3121f2]
Confirmed on Ubuntu 14.04 LTS (64 bit) version for later than SIGVerse v2.3.2
$ sudo apt-get update
*** Installation of gcc [#td0b7eb7]
$ sudo apt-get install g++
*** Installation of cmake [#s4def817]
$ sudo apt-get install cmake
*** Installation of JDK [#r4600e29]
$ sudo apt-get install default-jdk
$ sudo cp /usr/lib/jvm/default-java/include/* /usr/local/include/
$ sudo cp /usr/lib/jvm/default-java/include/linux/* /usr/local/include/
*** Installation of OpenGL [#ge63ab0b]
$ sudo apt-get install freeglut3 freeglut3-dbg freeglut3-dev
*** Installation of xerces-c [#jf91972a]
$ sudo apt-get install libxerces-c3.1 libxerces-c-dev
*** Installation of ODE [#u1e80eda]
Download ode-0.12.tar.bz2 file [[from ODE project site>http://sourceforge.net/projects/opende/files/]].
$ tar xvjf ode-0.12.tar.bz2
$ cd ode-0.12/
$ ./configure --disable-tests --without-x --enable-double-precision --with-trimesh=opcode --enable-release --enable-shared
$ make
$ sudo make install
*** Installation of Xj3D [#e272e09e]
Get Xj3D-1-0-linuxx86.jar [[from here>http://www.vrspace.org/sdk/vrml/browsers/Xj3D/]]
$sudo java -jar Xj3D-1-0-linuxx86.jar
You will see the following window:
#ref(ubu_in.jpg)
Progress the installation to push Next.
Setting of path
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
*** Installation of ssh server [#t3503ff4]
$ sudo apt-get install openssh-server
$ sudo mv /bin/sh /bin/sh_org
$ sudo ln -s /bin/bash /bin/sh
** Installation of SIGVerse [#u60ed63f]
*** Download SIGVerse source tree [#fa089c65]
You can get source tree of the SIGVerse server from
http://sourceforge.net/projects/sigverse/files/SIGServer/SIGServer-2.3.2.tar.gz/download
http://sourceforge.net/projects/sigverse/files/SIGServer/
*** Extraction [#gba17272]
$ tar xzvf SIGServer-<version>.tar.gz
$ cd SIGServer-<version>
*** Compillation of the SIGServer and installation [#g301474b]
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install
** Setting of environment variables (in case of bash) [#z73f2362]
Open the .bashrc to add configuration for the SIGVerse.
$ emacs ~/.bashrc
Add the following three lines to the .bashrc
export SIGVERSE_PATH=/home/<username>/sigverse-<version>
export PATH=$PATH:$SIGVERSE_PATH/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
Set a path name of your SIGVerse directory to an environment variable SIGVERSE_PATH.
~<username> and <version> should be replaced according to your configuration.
Initialize the bash environment.
$ source ~/.bashrc
If you upgrade the SIGVerse, please modify the version number in your .bashrc file.
*** Old information [#mc6eb0cb]
-- [[Tutorial/Installation of SIGVerse server(lower than 2.3.1)]]
Up:[[Tutorial]]
#counter