Skip to content

wivlaro/libpd-java-build

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

libpd-java-build

Project including libpd containing binary builds for Java

Quickstart

Hopefully, you should just be able to include libpd.jar in your project and you're good to go.

Building Yourself

First, you'll need to get the libpd submodule:

$ git submodule init
$ git submodule update

Then, you can try and run:

$ make clean javalib

Which should build a binary for your platform and add it to the libpd.jar.

Cross-compilation

Cross-compiling 32-bit x86 Linux

$ make CC='gcc -m32' PDNATIVE_ARCH=x86 clean javalib

Cross-compiling for Windows

Using mingw-w64, based on instructions here http://tinyurl.com/mw64-use Also, install the mingw-w64 pthreads, as http://tinyurl.com/mw64-pthread

Your JAVA_HOME environment variable should be set up to a valid JDK.

Cross-compiling for 32-bit Windows

$ make CC='i686-w64-mingw32-gcc -m32' PDNATIVE_ARCH=x86 clean javalib

Cross-compiling for 64-bit Windows

$ make CC='x86_64-w64-mingw32-gcc -m64' PDNATIVE_ARCH=x86_64 clean javalib

About

Project including libpd containing binary builds for Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages