Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reference windows .dll as pd.dll #14

Open
mxa opened this issue May 16, 2020 · 3 comments
Open

reference windows .dll as pd.dll #14

mxa opened this issue May 16, 2020 · 3 comments

Comments

@mxa
Copy link
Contributor

mxa commented May 16, 2020

newer libpd versions build the library as pd.dll not libpd.dll.
This will also facilitate that externals may work.
LibPdIntegration should point to a library with the name pd.dll.
libpd/libpd#297

@NiallMoody
Copy link
Contributor

Ah, this is excellent news. I didn't realise that was the reason externals didn't work.

I'm going to leave this issue open until we've settled on a libpd version that you can verify works on Linux (and, ideally, until your libpd issue is resolved, so that I don't have to include another patch, this time for the makefile).

(...and then I'll need to find someone who can build and verify the equivalent mac and iOS versions, but that's a problem for another day)

@chikashimiyama
Copy link

chikashimiyama commented May 13, 2021

on windows, I built libpd 0.12.1 and replaced libpd.dll with pd.dll. The very basic external object https://github.com/pure-data/helloworld in the StreamingAssets/PdAssets is recognized by the libpd and worked.

@cheriestoner
Copy link

cheriestoner commented Jan 10, 2023

on windows, I built libpd 0.12.1 and replaced libpd.dll with pd.dll. The very basic external object https://github.com/pure-data/helloworld in the StreamingAssets/PdAssets is recognized by the libpd and worked.

@chikashimiyama Hello! How did you make pd.dll identifiable by the wrapper after replacing libpd.dll with pd.dll? How did you modify LibPdInstance.cs?

The program crashes when I try running it with uncommenting
#elif UNITY_STANDALONE_WIN private const string DLL_NAME="pd";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants