Up:Tutorial


Installation of SIGVerse

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

Confirmed on Ubuntu 14.04 LTS (64 bit) version for later than SIGVerse v2.3.2

$ sudo apt-get update

Installation of gcc

$ sudo apt-get install g++ 

Installation of cmake

$ sudo apt-get install cmake

Installation of JDK

$ 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

$ sudo apt-get install freeglut3 freeglut3-dbg freeglut3-dev

Installation of xerces-c

$ sudo apt-get install libxerces-c3.1 libxerces-c-dev

Installation of ODE

Download ode-0.12.tar.bz2 file from ODE project site.

$ 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

Get Xj3D-1-0-linuxx86.jar from here

$sudo java -jar Xj3D-1-0-linuxx86.jar

You will see the following window:

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

$ sudo apt-get install openssh-server
$ sudo mv /bin/sh /bin/sh_org
$ sudo ln -s /bin/bash /bin/sh

Installation of SIGVerse

Download SIGVerse source tree

You can get source tree of the SIGVerse server from

http://sourceforge.net/projects/sigverse/files/SIGServer/

Extraction

$ tar xzvf SIGServer-<version>.tar.gz
$ cd SIGServer-<version>

Compillation of the SIGServer and installation

$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install

Setting of environment variables (in case of bash)

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

Up:Tutorial

Counter: 3377, today: 5, yesterday: 1

Attach file: fileubu_in.jpg 977 download [Information] filexj3d.jpg 487 download [Information]

Front page   Edit Freeze Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes
Last-modified: 2016-04-22 (Fri) 19:32:01 (519d)