patricksebastien / libpd4unity

libpd for unity 3d
101 stars 20 forks source link

compiling the EXPR external / using it in a unity project #14

Open mjattie opened 8 years ago

mjattie commented 8 years ago

Hello, I have a fairly simple question but I just can't seem to figure it out.

I'm using the expr object in PD and want to use it in my unity project, but when I'm building the libpdcsharp library with this command: (make libpdcsharp UTIL=true EXTRA=true) it should include the expr object right? (because the expr object is in EXTRA) When I rename the csharplib.dylib tocsharplib.bundle and replace the files in my unity project, it still cannot use the expr object I used in my patch. PD vanilla works fine.

In another post, you are saying: call the externalName_setup() function and use this compiled version of libpd. I'm not sure how to do this. I hope you are willing to help! :) (working with unity 5 on mac)

fyi: I can use the rev1~ external by placing it in the pd streaming assets folder.