Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

pollend/joml-bullet

Repository files navigation

joml-bullet

This is an implementation of bullet wraps around native bullet using SWIG.

Gradle

Build Natives

  • ./gradlew native_linux_amd64_gcc
  • ./gradlew native_linux_i686_gcc
  • ./gradlew native_linux_windows_amd64_mingw32
  • ./gradlew native_linux_windows_i686_mingw32

Building

CMAKE

  • <toolchain>
    • android_armeabi_gcc.cmake
    • linux_amd64_gcc.cmake
    • linux_i386_gcc.cmake
    • linux_windows_amd64_mingw32.cmake
    • linux_windows_i686_mingw32.cmake
    • macosx_amd64_clang.cmake
    • windows_amd64_msvc.cmake
    • windows_i386_msvc.cmake
cd build
cmake ../ -DCMAKE_TOOLCHAIN_FILE=../toolchains/<toolchain>.cmake
make

linux - linux and windows

To build the natives on linux you need:

  • ant - installed on the system to build the natives for the generated wrapper code
  • swig - installed on the system to produce both the generated code for the native and java bindings
  • linux
    • i686
      1. gcc
      2. gcc-c++
      3. libstdc++.i686
      4. glibc-devel.i686
    • amd64
      1. gcc
      2. gcc-c++
      3. glibc-devel
      4. libstdc++
  • windows
    • i686
      1. mingw32-winpthreads
      2. mingw32-winpthreads-static
      3. mingw32-gcc
      4. mingw32-gcc-c++
    • amd64
      1. mingw64-winpthreads
      2. mingw64-winpthreads-static
      3. mingw64-gcc
      4. mingw64-gcc-c++

Then simple run ant to generated the binding code between java along with compiling the necessary libraries.

the output is produced under the native-build folder and is formatted in this fashion: libbullet-[linux,windows]-[i686,amd64].[dll,so]

To build the java portion of bullet, simply run ./gralew build

OSX

  • mac
    • i686
    • amd64

License

This library is Licensed under the Apache 2 License and is a rework of bullet wrapper from libgdx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published