<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div>> On Thu, Mar 30, 2017 at 8:46 PM, Jonathan Wilkes <<a shape="rect" ymailto="mailto:jancsika@yahoo.com" href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>> wrote:</div><div>>> It must be a makefile issue after all, in the library root makefile.<br></div><div>><br></div><div>>> Pd-lib-builder doesn't define PD_INCLUDE. It does define PD_PATH for<br></div><div>> PD-X compatibility and should find binary and source files from there<br></div><div>> if the tree layout is similar. If not, you can specify PDBINDIR and<br></div><div>> PDINCLUDEDIR in the central library makefile.<br></div><div>><br></div><div>> You can see from<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3164">> <a shape="rect" href="http://disis.music.vt.edu/pipermail/l2ork-dev/2017-March/001235.html" target="_blank" id="yui_3_16_0_ym19_1_1490969917550_3000">http://disis.music.vt.edu/pipermail/l2ork-dev/2017-March/001235.html</a><br></div><div id="yui_3_16_0_ym19_1_1490969917550_3034">><br></div><div id="yui_3_16_0_ym19_1_1490969917550_3035">> that the first line is feeding in a sane location for PD_PATH. The tree<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3168">> structure is exactly the same as pd-extended.  That looks like sane<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3169">> input to me.<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3170">><br></div><div id="yui_3_16_0_ym19_1_1490969917550_3171">> But this does not look like sane output to the linker flag:<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3172">> --enable-auto-import "/pd.dll"<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3173">><br></div><div id="yui_3_16_0_ym19_1_1490969917550_3174">> There's no reason for "pd.dll" to exist in the toplevel directory of the<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3175">> build environment.<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3184"><br></div><div id="yui_3_16_0_ym19_1_1490969917550_3242">> The path for pd.dll is missing because it wasn't found. If you have<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3243">'PD_PATH=/home/USER/purr-data/pd', pd-lib-builder will try to find<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3244">header files in '/home/USER/purr-data/pd/src/' and pd.dll in<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3245">'/home/USER/purr-data/pd/bin/'. If your tree layout doesn't have<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3246">source and binary directories under the same parent, don't use the<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3247">PD_PATH variable but specify PDINCLUDEDIR and PDBINDIR.<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3248"><br></div><div id="yui_3_16_0_ym19_1_1490969917550_3249" dir="ltr">I can't find any combination of PDDIR, PDINCLUDEDIR, and PDBINDIR <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3276">that gets me a sensible path for "--enable-auto-import".  (Or just trying <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3346">to set PDINCLUDEDIR and PDBINDIR by themselves.)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3410"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3414">I also get this at the head of the make pd-cyclone output:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3432">ls: cannot access 'C:\Program Files/pd/bin': No such file or directory<br id="yui_3_16_0_ym19_1_1490969917550_3437">ls: cannot access 'C:\Program Files/pd/src': No such file or directory<br id="yui_3_16_0_ym19_1_1490969917550_3438"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3439"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3494">I imagine the problem is that we're still using the makefile.mingw script <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3547">in pd/src, and it puts pd.dll in pd/src instead of pd/bin.  Still, the variables <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3548">above should take care of that.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3549"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490969917550_3550">-Jonathan<br></div><div id="yui_3_16_0_ym19_1_1490969917550_3261"><br></div><div id="yui_3_16_0_ym19_1_1490969917550_3415">> Katja</div></div></body></html>