README: Add a few lines on how to compile jassimp-native

pull/423/head
enkore 2014-12-06 15:53:56 +01:00
parent 6b4cbeea40
commit fdf78fc13b
1 changed files with 6 additions and 1 deletions

View File

@ -15,7 +15,12 @@ application examples using this wrapper
How To Build
------------
I) native library
I) native library, for example by issuing this command in jassimp-native/src:
$ gcc jassimp.cpp -I/usr/lib/jvm/default/include/ \
-I/usr/lib/jvm/default/include/linux -lassimp -shared -fPIC -o libjassimp.so
libjassimp.so is required at runtime and must be located in java.library.path.
II) Java binding
The java library is built using ant. Executing "ant" in the port/jassimp