[PD] readanysf for windows? (again)
Hans-Christoph Steiner
hans at at.or.at
Fri Apr 29 17:54:58 CEST 2011
On Apr 29, 2011, at 3:40 AM, IOhannes m zmölnig wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 04/29/2011 12:23 PM, matteo sisti sette wrote:
>>
>> Apparently it doesn't. I had put the dll's in the same folder where I
>> put readanysf~.dll but it didn't find them
>>
>
> weird.
> i'm pretty sure this is the way it is supposed to work (but i'm no w32
> expert)
Windows and Mac OS X both use the path of the executable for finding
other dlls, but not the path of each dll that is loaded (that could be
a lot of paths). I think GNU/Linux might do the same, I don't
remember off the top of my head, but you so rarely encounter this on
GNU/Linux since you're almost always installing dlls in the path (/usr/
lib, /usr/local/lib).
With the Mac version of readanysf~, the libraries are loaded from a
statically defined path (/Library/Pd/readanysf~). So to make an
easily deployable readanysf~ for Windows, this issue will have to be
sorted out.
.hc
>>> so all in all, it is not Pd that is (not) finding those dlls, but
>>> your
>>> operating system.
>>
>> Ok, I thought the external could give some hint to the operating
>> system...
>>
>
> that's a bootstrapping problem, as the external cannot run any code
> before all it's dependencies are resolved.
> maybe there is some magic linker flag to do that though.
>
> fgmadsr
> IOhannes
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk26lawACgkQkX2Xpv6ydvSu9ACfeEbjCZ3vqh2BYeDX1/hFYeYk
> cVwAnRio1Le+UpStOvUV52ujDkV5on9c
> =s5K3
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----------------------------------------------------------------------------
"[T]he greatest purveyor of violence in the world today [is] my own
government." - Martin Luther King, Jr.
More information about the Pd-list
mailing list