Debian and Ubuntu
Start:
''Table of Contents''
#contents
* Installation Guide for Debian/Ubuntu (32bit) [#ad9ab29f]
** 1. Install Octave, Boost, and ODE [#y7aeebfd]
:[[Octave>http://www.gnu.org/software/octave/]]|
Install the packages, octave3.0 and octave3.0-headers.
$ sudo apt-get -f install octave3.0 octave3.0-headers
Note: octave3.2 is not supported by SkyAI 0.1.0. Use the...
Note: You may need to create a symbolic link of libatlas....
$ cd /usr/lib
$ sudo ln -s libatlas.so.3gf libatlas.so
:[[Boost C++ Libraries>http://www.boost.org/]]|
Install libboost1.40-all-dev.
$ sudo apt-get -f install libboost1.40-all-dev
// SkyAI may not work with libboost1.48-all-dev because o...
:[[Open Dynamics Engine (ODE)>http://www.ode.org/]]|
Since the binary package of ODE does not provide libdraws...
First of all, we need to install OpenGL:
$ sudo apt-get -f install libglut3 libglut3-dev
If you cannot find out these packages, freeglut3 and free...
Then, download the source code (e.g. ode-0.11.1.zip) and ...
$ cd ~/lib
$ unzip ode-0.11.1.zip
$ cd ode-0.11.1/
// version 0.12 seems to be OK
Here, we put ODE on ~/lib/ode-0.11.1, but any location is...
Execute ./configure (maybe you need to install the other ...
$ ./configure --enable-double-precision
Here, ''--enable-double-precision is required for the Sky...
If the configure succeeded, execute the make command:
$ make
That's it. You need NOT to execute 'make install'.
:Note|
When installing ODE, you will see the following errors:
x11.cpp:108: error: undefined reference to 'XOpenDisplay'
x11.cpp:123: error: undefined reference to 'XCreateColo...
...
To fix this problem, you need to change the configure opt...
#codeh(sh){{
X_EXTRA_LIBS=-lX11 ./configure --enable-double-precision
}}
** 2. Download the source code [#x910bfde]
You can choose two ways:
:(1) Get the files from the Git repository (recommended)|
You need the Git program. If you do not have Git, install:
$ sudo apt-get -f install git-core
Download SkyAI from sourceforge:
$ cd ~/proj
$ git clone git://skyai.git.sourceforge.net/gitroot/sky...
Here, we put SkyAI on ~/proj/skyai, but any location is OK.
:(2) Download the archive (easy)|
Download an archive from [[SkyAI File List:https://source...
Here, we assume the extracted directory is ~/proj/skyai, ...
** 3. Setup the makefiles [#cd133e73]
Create the following files at the SkyAI directory (e.g. ~...
:Makefile_preconf|
include $(BASE_REL_DIR)/Makefile_preconf.sample
SKYAI_BASE := $(wildcard ~/proj/skyai)
Here, we assume that SkyAI is put on ~/proj/skyai. If no...
:Makefile_libconf|
## for Octave
ifeq ($(USING_OCTAVE),true)
OCTAVE_VER:=3.0.5
LIBS += -I/usr/include/octave-$(OCTAVE_VER)
LDLIBS += -L/usr/lib/octave-$(OCTAVE_VER) -loctave -l...
LDLIBS += -ldl -lfftw3 -L/usr/lib/atlas -latlas -llap...
endif
## for ODE
ifeq ($(USING_ODE),true)
LIBODE := $(wildcard ~/lib/ode-0.11.1)
LIBS += -I$(LIBODE)/include
LIBS += -DODE_MINOR_VERSION=11 -DdDOUBLE
LDLIBS += $(LIBODE)/ode/src/.libs/libode.a
LDLIBS += $(LIBODE)/drawstuff/src/.libs/libdrawstuff.a
LDLIBS += -lSM -lICE -lGL -L/usr/X11R6/lib -lXext -lX...
endif
Here, we assume that (1) the octave version is 3.0.5, and...
** 4. Build [#w59e824f]
In the skyai directory, execute:
$ make
* Installation Guide for Debian/Ubuntu (64bit) [#y9e04542]
In the procedure of Debian/Ubuntu (32bit), change the set...
include $(BASE_REL_DIR)/Makefile_preconf.sample
SKYAI_BASE := $(wildcard ~/proj/skyai)
ifeq ($(DEBUG),true)
CXXFLAGS := -g -Wall -rdynamic
else
CXXFLAGS := -g -Wall -rdynamic -O3
endif
LDFLAGS := $(CXXFLAGS)
* Test [#b0f4fe2d]
To test your installation, please see [[Running Demos>Doc...
* If you have a trouble... [#i4ebcee3]
Please do not hesitate to [[contact us>Developers]].
Any comments are welcome!
End:
''Table of Contents''
#contents
* Installation Guide for Debian/Ubuntu (32bit) [#ad9ab29f]
** 1. Install Octave, Boost, and ODE [#y7aeebfd]
:[[Octave>http://www.gnu.org/software/octave/]]|
Install the packages, octave3.0 and octave3.0-headers.
$ sudo apt-get -f install octave3.0 octave3.0-headers
Note: octave3.2 is not supported by SkyAI 0.1.0. Use the...
Note: You may need to create a symbolic link of libatlas....
$ cd /usr/lib
$ sudo ln -s libatlas.so.3gf libatlas.so
:[[Boost C++ Libraries>http://www.boost.org/]]|
Install libboost1.40-all-dev.
$ sudo apt-get -f install libboost1.40-all-dev
// SkyAI may not work with libboost1.48-all-dev because o...
:[[Open Dynamics Engine (ODE)>http://www.ode.org/]]|
Since the binary package of ODE does not provide libdraws...
First of all, we need to install OpenGL:
$ sudo apt-get -f install libglut3 libglut3-dev
If you cannot find out these packages, freeglut3 and free...
Then, download the source code (e.g. ode-0.11.1.zip) and ...
$ cd ~/lib
$ unzip ode-0.11.1.zip
$ cd ode-0.11.1/
// version 0.12 seems to be OK
Here, we put ODE on ~/lib/ode-0.11.1, but any location is...
Execute ./configure (maybe you need to install the other ...
$ ./configure --enable-double-precision
Here, ''--enable-double-precision is required for the Sky...
If the configure succeeded, execute the make command:
$ make
That's it. You need NOT to execute 'make install'.
:Note|
When installing ODE, you will see the following errors:
x11.cpp:108: error: undefined reference to 'XOpenDisplay'
x11.cpp:123: error: undefined reference to 'XCreateColo...
...
To fix this problem, you need to change the configure opt...
#codeh(sh){{
X_EXTRA_LIBS=-lX11 ./configure --enable-double-precision
}}
** 2. Download the source code [#x910bfde]
You can choose two ways:
:(1) Get the files from the Git repository (recommended)|
You need the Git program. If you do not have Git, install:
$ sudo apt-get -f install git-core
Download SkyAI from sourceforge:
$ cd ~/proj
$ git clone git://skyai.git.sourceforge.net/gitroot/sky...
Here, we put SkyAI on ~/proj/skyai, but any location is OK.
:(2) Download the archive (easy)|
Download an archive from [[SkyAI File List:https://source...
Here, we assume the extracted directory is ~/proj/skyai, ...
** 3. Setup the makefiles [#cd133e73]
Create the following files at the SkyAI directory (e.g. ~...
:Makefile_preconf|
include $(BASE_REL_DIR)/Makefile_preconf.sample
SKYAI_BASE := $(wildcard ~/proj/skyai)
Here, we assume that SkyAI is put on ~/proj/skyai. If no...
:Makefile_libconf|
## for Octave
ifeq ($(USING_OCTAVE),true)
OCTAVE_VER:=3.0.5
LIBS += -I/usr/include/octave-$(OCTAVE_VER)
LDLIBS += -L/usr/lib/octave-$(OCTAVE_VER) -loctave -l...
LDLIBS += -ldl -lfftw3 -L/usr/lib/atlas -latlas -llap...
endif
## for ODE
ifeq ($(USING_ODE),true)
LIBODE := $(wildcard ~/lib/ode-0.11.1)
LIBS += -I$(LIBODE)/include
LIBS += -DODE_MINOR_VERSION=11 -DdDOUBLE
LDLIBS += $(LIBODE)/ode/src/.libs/libode.a
LDLIBS += $(LIBODE)/drawstuff/src/.libs/libdrawstuff.a
LDLIBS += -lSM -lICE -lGL -L/usr/X11R6/lib -lXext -lX...
endif
Here, we assume that (1) the octave version is 3.0.5, and...
** 4. Build [#w59e824f]
In the skyai directory, execute:
$ make
* Installation Guide for Debian/Ubuntu (64bit) [#y9e04542]
In the procedure of Debian/Ubuntu (32bit), change the set...
include $(BASE_REL_DIR)/Makefile_preconf.sample
SKYAI_BASE := $(wildcard ~/proj/skyai)
ifeq ($(DEBUG),true)
CXXFLAGS := -g -Wall -rdynamic
else
CXXFLAGS := -g -Wall -rdynamic -O3
endif
LDFLAGS := $(CXXFLAGS)
* Test [#b0f4fe2d]
To test your installation, please see [[Running Demos>Doc...
* If you have a trouble... [#i4ebcee3]
Please do not hesitate to [[contact us>Developers]].
Any comments are welcome!
Page: