pd-externals / libdir Goto Github PK
View Code? Open in Web Editor NEWa Pd loader that supports the libdir library format
License: Other
a Pd loader that supports the libdir library format
License: Other
------ libdir ------ This package provides support for the libdir format of libraries that is used in Pd-extended. It should work with any version of Pd 0.40 or newer. The 'libdir' loader is a Pd loader which supports the libdir library format. The libdir library format aims to be a common library format for Pd which works with objects written in any language, including Pd. This library format was designed to be easy to create, install, and use. It should work when installed into the global path (i.e. pd/extra) or when copied locally into a project folder. It should work with objects written in any supported language (i.e. binaries, .pd, and the various loaders like pdlua and tclpd). Also, starting with Pd 0.43 and Pd-extended 0.42, the Help Browser dynamically builds itself based on the libraries that are installed. To install, copy the files for your platform into your "extra" folder and the help patches to the "doc/5.reference" folder. You will need to load the libdir.dll/libdir.pd_linux/libdir.pd_darwin as a library before trying to load any libdirs. The libdirs have to be in the global classpath in order to be found. You can add a library two ways: - add this text to one of the fields in the "Startup" prefs: libdir - load it on the command line with this: -lib libdir For more info on the structure of libdirs, see this webpage: http://puredata.org/docs/developer/Libdir
the original code adds doc/5.reference/<LIBRARY>/
(unconditionally) to the help-path.
for now, this has been disabled in the 0.47-version, but I wonder if this breaks anything
it would be great if the libdir
mechanism could support multi-binary libraries better.
e.g. right now Gem
duplicates quite some code from libdir
(searching for a specially named file and adding the path to it), but still requires for the actual Gem.dll
to be dlopen()ed.
it would be great if a libdir-loaded Gem
would make sure that the Gem.dll
is opened as well.
i think this could work, if libdir could do some additional steps:
declare
linesdeclare
.in practice this is not trivial (my feeble attempts to implement this failed so far)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.