Closed thefuntastic closed 10 years ago
Nice work! Thanks
Indeed, great work Peter! I look forward to testing it out soon.
patricksebastien mailto:notifications@github.com 15 April 2014 14:50
Nice work! Thanks
— Reply to this email directly or view it on GitHub https://github.com/patricksebastien/libpd4unity/pull/5#issuecomment-40483188.
Peter Cardwell-Gardner mailto:notifications@github.com 14 April 2014 06:41
Using the strategy as described here http://forum.unity3d.com/threads/31083-DllNotFoundException-when-depend-on-another-dll/page2 , PluginUtils.cs dynamically appends the plugins folder to the environment PATH variable. The circumvents the need to copy anything to the Unity.exe application folder - which is pretty gross.
Tested on Win and OSX.
You can merge this Pull Request by running
git pull https://github.com/thefuntastic/libpd4unity master
Or view, comment on, or merge it at:
https://github.com/patricksebastien/libpd4unity/pull/5
Commit Summary
Added PluginUtils.cs, which dynamically appends the system path with the Assets/Plugins folder, allowing one to circumvent the need for copying .dll's to the application folder (Unity.exe).
File Changes
- M libpd4unity/Assets/LibPdFilterRead.cs https://github.com/patricksebastien/libpd4unity/pull/5/files#diff-0 (2)
- A libpd4unity/Assets/PluginUtils.cs https://github.com/patricksebastien/libpd4unity/pull/5/files#diff-1 (17)
A libpd4unity/Assets/PluginUtils.cs.meta https://github.com/patricksebastien/libpd4unity/pull/5/files#diff-2 (8)
Patch Links:
- https://github.com/patricksebastien/libpd4unity/pull/5.patch
- https://github.com/patricksebastien/libpd4unity/pull/5.diff
— Reply to this email directly or view it on GitHub https://github.com/patricksebastien/libpd4unity/pull/5.
BTW let me know if you want to be a collaborator - much easier to modify the repo. I will update the README with your instructions (MinGW legacy / pthread).
Okay, collaborator status would be cool. I'm looking at using libpd for a fully featured commercial title - Cadence. Thus I'm keen to get it as solid as possible.
Done (updated the README and added a recent build of libpd (with pthread). Cadence looks like a neat sounding game!! If you need BETA tester let me know. Cheers!
Using the strategy as described here http://forum.unity3d.com/threads/31083-DllNotFoundException-when-depend-on-another-dll/page2 , PluginUtils.cs dynamically appends the plugins folder to the environment PATH variable. The circumvents the need to copy anything to the Unity.exe application folder - which is pretty gross.
Tested on Win and OSX.