فهرست منبع

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
 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
 II) Java binding
     The java library is built using ant. Executing "ant" in the port/jassimp
     The java library is built using ant. Executing "ant" in the port/jassimp