<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<div>Hi Björn, David:</div>
<div><br>
</div>
<div>There's a good windows way to manage loading libs and path.</div>
<div><br>
</div>
<div>Mainly is a .cmd file that is used to start pd with whatever options. </div>
<div><br>
</div>
<div>With this folder structure:</div>
<div><br>
</div>
<div>Some parent folder (A)</div>
<div><br>
</div>
<div>A/externals</div>
<div><br>
</div>
<div>A/pd</div>
<div><br>
</div>
<div>A/x.cmd</div>
<div><br>
</div>
<div>(this folder struc keeps things in a modular way, so when the next Pd is released you can easily delete and replace.)</div>
<div><br>
</div>
<div>the .cmd file is just a text (saved as .cmd) that you can edit for whatever, it must be only one line and separeted with space (and also a TAB for better spacing)  for example:</div>
<div><br>
</div>
<div>%CD%\pd\bin\pd <span class="Apple-tab-span" style="white-space:pre"></span>-noprefs
<span class="Apple-tab-span" style="white-space:pre"></span>-path %CD%\externals\cyclone
<span class="Apple-tab-span" style="white-space:pre"></span>-lib %CD%\externals\zexy<span class="Apple-tab-span" style="white-space:pre">
</span>-path %CD%\externals\mrpeach</div>
<div><br>
</div>
<div>%CD% passes the full path, so you can use it in a USB stick.</div>
<div><br>
</div>
<div><br>
</div>
<div>For an up-to-date list of startupflags browse the explorer to the pd/bin dir an do Shift-right-click in the white space until you get the option “open command window here” there type “pd -help” without “ “.</div>
<div><br>
</div>
<div>Try :</div>
<div><br>
</div>
<div>-font-face Consolas <span class="Apple-tab-span" style="white-space:pre"></span>-font-weight normal<span class="Apple-tab-span" style="white-space:pre">
</span>-font-size 12</div>
<div><br>
</div>
<div>Consolas is a system font since win vista, it fits well in the boxes.</div>
<div><br>
</div>
<div><br>
</div>
<div>Salutti,</div>
<div>Lucarda</div>
<div></div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature"><font face="Courier New, Courier, Monospace" size="2">Mensaje telepatico asistido por maquinas.</font>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Pd-list <pd-list-bounces@lists.iem.at> on behalf of Björn Eriksson <miulew@gmail.com><br>
<b>Sent:</b> Thursday, August 4, 2016 12:23 PM<br>
<b>To:</b> Pd-List<br>
<b>Subject:</b> Re: [PD] Trying to get GEM going on Pd Vanilla / Win10</font>
<div> </div>
</div>
<div>
<div dir="ltr">Thanks for clarifications IOhannes! 
<div>I would really prefer to not declare anything with specific path references like this one with the Gem-0.93.3 folder. I understand it will induce problems if shared and if drives/sticks changes places, OS´s. The reason the versioned folder got there was
 due to the suggestion from Oliver to unzip all Gem.zip into the "extra" folder, which I did and got it there. I also tried to set path preferences  (from menu - File-Preference-Path, also File-Preference-Startup, but it seems that neither of them are remembered
 after restart of Pd. </div>
<div><br>
</div>
<div>Will try to rename the versioned folder to just Gem.... instead of Gem-0.93.9  so to get rid of the dependecies. I hope it will work like that.</div>
<div><br>
</div>
<div>Guess I was happy that Gem finally started to work on this machine I am at, so didn´t see the fatalities of the versioned folder. (why is it anyway included in the zip-file if it causes this instabilties?)</div>
<div><br>
</div>
<div>All the best!</div>
<div>Björn Eriksson</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Aug 4, 2016 at 1:25 PM, IOhannes m zmoelnig <span dir="ltr">
<<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<span class="">On 2016-08-04 03:23, Björn Eriksson wrote:<br>
> In the patch I do have to [declare -lib /Gem-0.93.3/Gem] or with direct<br>
> path where Gem is installed, on my external harddrive that is [declare -lib<br>
> G:/pd/extra/Gem-0.93.3/Gem].<br>
<br>
</span>well, that sounds like a bad layout.<br>
the point of using [declare] is to create patches with dependency<br>
information that is platform independent and sharable.<br>
<br>
for instance it makes little sense to use [declare -lib<br>
D:\bjoern\Pd-Projects\Gem-0.89\Gem]: while it might work, the patch will<br>
break as soon as you give it away (or port it to another computer, that<br>
is not running windows ANDOR has a cd-drive occupying the "D:" letter<br>
rather than yoiur USB-stick ANDOR has a different filesystem layout<br>
ANDOR ...<br>
<br>
sp, if you put your externals into extra/, then you shouldn't use<br>
version-prefixes.<br>
if you do want to organise the directories the way you like, use the<br>
preferences to add additional paths.<br>
<br>
e.g. extracting Gem to D:\bjoern\Pd-Projects\Gem-0.89\Gem\ you could add<br>
"D:\bjoern\Pd-Projects\Gem-0.89\" to your search-paths (in the<br>
Pd-preferences) and then use [declare -lib Gem] in your patch.<br>
then, if you want to migrate the patch to another machine, install Gem<br>
to /home/bobby/projects/2018/external-pool/Gem/ and add<br>
"/home/bobby/projects/2018/external-pool" to your Pd-preferences.<br>
then run your patch.<br>
without any modifications!<br>
<br>
<br>
fgasdmr<br>
<span class="HOEnZb"><font color="#888888">IOhannes<br>
<br>
</font></span><br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">
https://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>