Hi Björn, David:
There's a good windows way to manage loading libs and path.
Mainly is a .cmd file that is used to start pd with whatever options.
With this folder structure:
Some parent folder (A)
A/externals
A/pd
A/x.cmd
(this folder struc keeps things in a modular way, so when the next Pd is released you can easily delete and replace.)
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:
%CD%\pd\bin\pd -noprefs -path %CD%\externals\cyclone -lib %CD%\externals\zexy -path %CD%\externals\mrpeach
%CD% passes the full path, so you can use it in a USB stick.
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 “ “.
Try :
-font-face Consolas -font-weight normal -font-size 12
Consolas is a system font since win vista, it fits well in the boxes.
Salutti, Lucarda
Mensaje telepatico asistido por maquinas.
From: Pd-list pd-list-bounces@lists.iem.at on behalf of Björn Eriksson miulew@gmail.com Sent: Thursday, August 4, 2016 12:23 PM To: Pd-List Subject: Re: [PD] Trying to get GEM going on Pd Vanilla / Win10
Thanks for clarifications IOhannes! 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.
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.
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?)
All the best! Björn Eriksson
On Thu, Aug 4, 2016 at 1:25 PM, IOhannes m zmoelnig <zmoelnig@iem.atmailto:zmoelnig@iem.at> wrote: On 2016-08-04 03:23, Björn Eriksson wrote:
In the patch I do have to [declare -lib /Gem-0.93.3/Gem] or with direct path where Gem is installed, on my external harddrive that is [declare -lib G:/pd/extra/Gem-0.93.3/Gem].
well, that sounds like a bad layout. the point of using [declare] is to create patches with dependency information that is platform independent and sharable.
for instance it makes little sense to use [declare -lib D:\bjoern\Pd-Projects\Gem-0.89\Gem]: while it might work, the patch will break as soon as you give it away (or port it to another computer, that is not running windows ANDOR has a cd-drive occupying the "D:" letter rather than yoiur USB-stick ANDOR has a different filesystem layout ANDOR ...
sp, if you put your externals into extra/, then you shouldn't use version-prefixes. if you do want to organise the directories the way you like, use the preferences to add additional paths.
e.g. extracting Gem to D:\bjoern\Pd-Projects\Gem-0.89\Gem\ you could add "D:\bjoern\Pd-Projects\Gem-0.89" to your search-paths (in the Pd-preferences) and then use [declare -lib Gem] in your patch. then, if you want to migrate the patch to another machine, install Gem to /home/bobby/projects/2018/external-pool/Gem/ and add "/home/bobby/projects/2018/external-pool" to your Pd-preferences. then run your patch. without any modifications!
fgasdmr IOhannes
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list