git-svn-id: http://wiiusej.googlecode.com/svn/wiki@151 ae48ae66-6a45-0410-b38e-211266189506
32 lines
814 B
Plaintext
32 lines
814 B
Plaintext
#summary Compile Wiiusej C part on linux
|
|
|
|
Page not finished yet!
|
|
|
|
= Introduction =
|
|
What packages you need installed: libc-dev and libbluetooth-dev
|
|
You need Java 6 jdk installed, to get the jni interface.
|
|
|
|
You need to get `libwiiuse.so` compiled before trying to compile Wiiusej library.
|
|
|
|
= Wiiuse library =
|
|
|
|
# First, [http://sourceforge.net/project/showfiles.php?group_id=187194 download according version of Wiiuse] (for WiiuseJ v0.12, download Wiiuse v0.12).
|
|
# Second, compile the Wiiuse
|
|
|
|
{{{
|
|
make
|
|
}}}
|
|
|
|
{{{
|
|
make install
|
|
}}}
|
|
|
|
= Wiiusej library =
|
|
|
|
{{{
|
|
gcc -shared -fPIC -o libWiiuseJ.so -Wall -L. -lwiiuse -I/home/vincent/jdk1.6.0_05/include -I/home/vincent/jdk1.6.0_05/include/linux wiiusej_WiiUseApi.c
|
|
}}}
|
|
|
|
= Launch on linux =
|
|
|
|
Put both libs `libwiiuse.so` and `libWiiuseJ.so` in the folder of `wiiusej.jar`. |