浏览代码

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

enkore 10 年之前
父节点
当前提交
fdf78fc13b
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      port/jassimp/README

+ 6 - 1
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