[PD] using namespace prefixes in a vanilla setup

Hans-Christoph Steiner hans at at.or.at
Tue May 5 20:09:13 CEST 2009


On May 5, 2009, at 12:09 PM, Steffen Juul wrote:

>
> On 02/05/2009, at 3.31, Hans-Christoph Steiner wrote:
>
>> So here's the solution i came up with, you
>> make a 'lib' folder in your project, stick the libraries as folders  
>> in
>> 'lib', then use [declare -path lib].  Here's an example:
>>
>> http://puredata.info/Members/hans/vanilla_libdir.tar.bz2
>
> But what about "sorry, couldn't find help patch for "mapping/ 
> curve.pd"" ?


I should have said, due to bugs in [declare], this only works on GNU/ 
Linux.  Since Miller uses Linux, I was assuming that its the reference  
platform in terms of how [declare] works.  It currently works  
differently/less on Mac OS X, for example.


> But if libraries have complicated interdependencies or assume  
> certain global
> path layouts, then this approach fails, which was the case with the  
> old mapping
> files, at least partly.

Part of my point with this examples is to show that you can have a  
simple setup while using namespace prefixes in the project, libraries  
as folders, and in the libraries that a project uses.  I couldn't find  
any issues with the setup illustrated in that tarball, have you found  
some?

.hc

----------------------------------------------------------------------------

All mankind is of one author, and is one volume; when one man dies,  
one chapter is not torn out of the book, but translated into a better  
language; and every chapter must be so translated.... -John Donne






More information about the Pd-list mailing list