Open Daandelange opened 10 years ago
I confirm that I have the same error on Windows. Will try your fix and if it's working, I will update LibPdNativeMethod.cs.
i'm having both of these issues with Unity 5.3.1f1 on os x 10.11.
are either of these two issues (unsafe errors and wrong architecture complaints) resolved in the present version of the repository?
Hello, I tried the plugin on Mac + Unity 4.5 (free) but I came across the following error when starting the _01_LibPdBasic.unity example:
EntryPointNotFoundException: libpd_safe_init
So basically it says that thelibpd_safe_init
function does not exist in libpdcsharp.dylibI found a dirty fix for this: in LibPdNativeMethods.cs (line 88) I replaced
libpd_safe_init
bylibpd_init
which seems to exist in the dylib wrapper. Not sure if this can cause later issues, but right now it works fine! Is it normal that this function doesn't exist? I couldn't find this function in the libpdcs sources...Btw, (just for the record) to get this plugin to work in Unity free on Mac OS X, you have to rename
libpdcsharp.dylib
tolibpdcsharp.bundle
and put it in your project root folder (not in the/Assets
folder) Also remove or rename/Assets/Plugins/libpdcsharp.bundle
to get rid of the License error message.