-
Notifications
You must be signed in to change notification settings - Fork 1
How to Build
Note: By homedir is meant the directory where the ZgeBullet sources are extracted on your computer.
Before compiling the ZgeBullet, you must copy the Bullet Physics SDK to homedir, e.g., homedir\bullet3-2.83.7.
The ZgeBullet DLL is compiled with Microsoft Visual Studio 2013 (MSVS).
-
Compile the Bullet library with MSVS project file build3\vs2010\0_Bullet3Solution.sln. The resulting .lib files are placed in the lib folder of the Bullet's directory.
-
Open homedir\vs2013\ZgeBullet.sln in MSVS.
-
Build the solution with the 'Release' configuration that results in generation of the ZgeBullet.dll (for 32-bit Windows) or ZgeBullet_x64.dll (for 64-bit Windows) file respectively placed to homedir\lib\ directory.
The ZgeBullet shared library (.so) is compiled with Android NDK which must be installed on your computer; see http://developer.android.com/tools/sdk/ndk/ for details.
-
Open the Cygwin terminal (on Windows) and move to the homedir/android/ folder.
-
Run the ndk-build command of the Android NDK. The result is placed to the homedir/android/libs/<architecture>/libZgeBullet.so file(s).
By default, the Library is compiled for the ARM architecture - ARMv5TE and ARMv7-A. To change it or add other target architectures, modify Android.mk and/or Application.mk files. See the Android NDK documentation for details.