<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I forgot to mention in my quick reply:<div class=""><br class=""></div><div class="">If you are coming from Pd-extended, Pd vanilla does not include all of the myriad external libraries that Pd-extended did by default. There is, however, a simple package management system ("deken") which allows you to download and install pre-compiled external libraries. This is what IOhannes pointed you to with "Find externals."</div><div class=""><br class=""></div><div class="">Pd vanilla does not auto-load external libraries found within its search paths by default. Pd-extended did, hence included libraries like "Gem" worked without having to explicitly load them. Since Pd vanilla has no way of knowing what is there and what is not, the [declare] object is used to explicitly add search paths and load external libraries from a main patch. This is a similar mechanism to "include" or "import" in programming languages. It's an extra step but it helps ensure that it's obvious which libraries beyond the Pd vanilla core object set are required to run you patch.</div><div class=""><br class=""></div><div class="">Thus [declare -lib Gem] tells Pd to try and find an external library called Gem and load it. You may need the latest Pd vanilla release version for the to work correctly as there was some recent work with how libraries are searched and register their location with Pd.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 22, 2019, at 7:50 AM, Dan Wilcox <<a href="mailto:danomatika@gmail.com" class="">danomatika@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">declare is an object which needs to be added to your main patch which tells Pd to load Gem. You may need to save the patch, close, and reopen it for the loading mechanism to kick in.<br class=""><br class="">enohp ym morf tnes<br class="">-----------<br class="">Dan Wilcox<br class=""><a href="http://danomatika.com" class="">danomatika.com</a><br class="">robotcowboy.com<br class=""><br class=""><br class=""><blockquote type="cite" class="">On May 22, 2019, at 3:30 AM, Dana Moser <rosalux@curiousart.org> wrote:<br class=""><br class="">Thanks for your reply.<br class="">I installed Gem 0.94 and Pd still can't find a camera.<br class="">IOhannes zmoelnig gave me this suggestion:<br class=""><br class=""><blockquote type="cite" class="">1. "Help" -> "Find externals"<br class="">2. type "Gem" and click on "Search"<br class="">3. click on the best (first) search result<br class="">4. load Gem in your patch with [declare -lib Gem]<br class=""></blockquote><br class="">I followed steps 1-3 and installed Gem 0.94 with deken.<br class="">Video input still does not work.<br class="">Does anyone know how to do IOhannes's step 4?<br class="">How does one do "[declare -lib Gem]"?<br class="">Is this a message that needs to be passed to a patch?<br class="">Thanks for any assistance.<br class="">-Dana<br class=""><br class=""><br class=""><blockquote type="cite" class="">On 5/21/19 6:02 PM, Dan Wilcox wrote:<br class=""><br class="">Gem 0.94 solves this by introducing replacement plugins which use the<br class="">newer AVFoundation macOS framework.<br class=""><br class="">--------<br class="">Dan Wilcox<br class=""></blockquote></blockquote></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">--------</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Dan Wilcox</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://twitter.com/danomatika" class="">@danomatika</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://danomatika.com" class="">danomatika.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>