From fdf78fc13b1865337ecc968d776a7530d92f40ab Mon Sep 17 00:00:00 2001 From: enkore Date: Sat, 6 Dec 2014 15:53:56 +0100 Subject: [PATCH] README: Add a few lines on how to compile jassimp-native --- port/jassimp/README | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/port/jassimp/README b/port/jassimp/README index be78db404..1ce9acc2b 100644 --- a/port/jassimp/README +++ b/port/jassimp/README @@ -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