<div dir="ltr">Oh thanks Christof<div>...simple almost unoticeable thingie :-)<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><a href="http://www.elgallorojorecords.com" target="_blank">www.elgallorojorecords.com</a><div><a href="http://soundcloud.com/alfonsosantimone" target="_blank">soundcloud.com/alfonsosantimone</a></div><div><a href="http://www.facebook.com/alfonsosantimone" target="_blank">www.facebook.com/alfonsosantimone</a><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 7, 2018 at 5:37 PM Christof Ressi <<a href="mailto:christof.ressi@gmx.at">christof.ressi@gmx.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> 1. For some reason the latest pd install (64 bit) doesn't have all the headers and sources in the pd/src folders<br>
<br>
for most externals, you should only rely on "m_pd.h". all other headers are considered not public and therefore unsafe to use.<br>
<br>
> 2. I don't really understand very well this launcher thing, so i don't understand how i can refer to a general Win system folder from inside the MSys2 shell.<br>
<br>
msys2 emulates a unix environment, so you need to use forward slahes for file paths. to see the content of you C drive type the following:<br>
<br>
> cd /c<br>
> ls<br>
<br>
Christof<br>
 <br>
<br>
Gesendet: Freitag, 07. September 2018 um 17:23 Uhr<br>
Von: "alfonso santimone" <<a href="mailto:alfonso.santimone@gmail.com" target="_blank">alfonso.santimone@gmail.com</a>><br>
An: "Christof Ressi" <<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>><br>
Cc: "Lucas Cordiviola" <<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>>, <a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a><br>
Betreff: Re: Re: [PD] Compiling externals for w64. (was : Re: Slider/Knob)<br>
<br>
Thanks Christof<br>
 <br>
1. For some reason the latest pd install (64 bit) doesn't have all the headers and sources in the pd/src folders<br>
2. I don't really understand very well this launcher thing, so i don't understand how i can refer to a general Win system folder from inside the MSys2 shell.<br>
 <br>
 <br>
<br>
<a href="http://www.elgallorojorecords.com" rel="noreferrer" target="_blank">www.elgallorojorecords.com</a>[<a href="http://www.elgallorojorecords.com" rel="noreferrer" target="_blank">http://www.elgallorojorecords.com</a>]<br>
<a href="http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D" rel="noreferrer" target="_blank">soundcloud.com/alfonsosantimone[http://soundcloud.com/alfonsosantimone]</a><br>
<a href="http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D" rel="noreferrer" target="_blank">www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone]</a> <br>
<br>
On Fri, Sep 7, 2018 at 5:16 PM Christof Ressi <<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>[mailto:<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>]> wrote:no, you can put the git repo anywhere you like. msys2 comes with special shell launchers which set up the necessary paths. they're called "MSYS2 MSYS shell launcher" (default shell), "MSYS2_MINGW32 shell launcher" (for compiling 32bit binaries) and "MSYS2_MINGW64 shell launcher" (for compiling 64bit binaries). in your case you need to use the last one.<br>
<br>
BTW, in case you don't have Pd installed in a standard location, you need to set PDDIR="/my/path/to/pd/folder" in your make command.<br>
<br>
Christof<br>
 <br>
 <br>
<br>
Gesendet: Freitag, 07. September 2018 um 17:04 Uhr<br>
Von: "alfonso santimone" <<a href="mailto:alfonso.santimone@gmail.com" target="_blank">alfonso.santimone@gmail.com</a>[mailto:<a href="mailto:alfonso.santimone@gmail.com" target="_blank">alfonso.santimone@gmail.com</a>]><br>
An: "Lucas Cordiviola" <<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>[mailto:<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>]><br>
Cc: <a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>[mailto:<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>]<br>
Betreff: Re: [PD] Compiling externals for w64. (was : Re: Slider/Knob)<br>
<br>
Cool, thanks! <br>
I guess this implies clone the pd git insed the msys2 scope folder, so that pd lib builder can find all the pd headers.<br>
am i right?<br>
 <br>
a.<br>
 <br>
<br>
<a href="http://www.elgallorojorecords.com" rel="noreferrer" target="_blank">www.elgallorojorecords.com</a>[<a href="http://www.elgallorojorecords.com" rel="noreferrer" target="_blank">http://www.elgallorojorecords.com</a>][<a href="http://www.elgallorojorecords.com" rel="noreferrer" target="_blank">http://www.elgallorojorecords.com</a>[<a href="http://www.elgallorojorecords.com" rel="noreferrer" target="_blank">http://www.elgallorojorecords.com</a>]]<br>
<a href="http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D%5Bhttp://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D%5D" rel="noreferrer" target="_blank">soundcloud.com/alfonsosantimone[http://soundcloud.com/alfonsosantimone][http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D]</a><br>
<a href="http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D%5Bhttp://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D%5D" rel="noreferrer" target="_blank">www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone][http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D]</a> <br>
<br>
On Fri, Sep 7, 2018 at 4:55 PM Lucas Cordiviola <<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>[mailto:<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>][mailto:<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>[mailto:<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>]]> wrote:<br>
And if you want to try compiling a single external say foo.c<br>
<br>
Get familiar with the makefile:<br>
<br>
  # Makefile for mylib<br>
<br>
  <a href="http://lib.name" rel="noreferrer" target="_blank">lib.name</a>[<a href="http://lib.name" rel="noreferrer" target="_blank">http://lib.name</a>][<a href="http://lib.name" rel="noreferrer" target="_blank">http://lib.name</a>[<a href="http://lib.name" rel="noreferrer" target="_blank">http://lib.name</a>]] = mylib<br>
<br>
  class.sources = foo.c<br>
<br>
  datafiles = foo-help.pd  README.txt LICENSE.txt<br>
<br>
  include Makefile.pdlibbuilder<br>
<br>
<br>
<a href="https://github.com/pure-data/pd-lib-builder#basic-usage[https://github.com/pure-data/pd-lib-builder%23basic-usage][https://github.com/pure-data/pd-lib-builder%23basic-usage[https://github.com/pure-data/pd-lib-builder%23basic-usage]]" rel="noreferrer" target="_blank">https://github.com/pure-data/pd-lib-builder#basic-usage[https://github.com/pure-data/pd-lib-builder#basic-usage][https://github.com/pure-data/pd-lib-builder#basic-usage[https://github.com/pure-data/pd-lib-builder%23basic-usage]]</a><br>
<br>
:)<br>
Mensaje telepatico asistido por maquinas.<br>
<br>
On 9/7/2018 11:46 AM, alfonso santimone wrote:<br>
Awesome, thanks! <br>
 <br>
<br>
<a href="http://www.elgallorojorecords.com" rel="noreferrer" target="_blank">www.elgallorojorecords.com</a>[<a href="http://www.elgallorojorecords.com" rel="noreferrer" target="_blank">http://www.elgallorojorecords.com</a>][<a href="http://www.elgallorojorecords.com" rel="noreferrer" target="_blank">http://www.elgallorojorecords.com</a>[<a href="http://www.elgallorojorecords.com" rel="noreferrer" target="_blank">http://www.elgallorojorecords.com</a>]]<br>
<a href="http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D%5Bhttp://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D%5D" rel="noreferrer" target="_blank">soundcloud.com/alfonsosantimone[http://soundcloud.com/alfonsosantimone][http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D]</a><br>
<a href="http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D%5Bhttp://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D%5D" rel="noreferrer" target="_blank">www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone][http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D]</a> <br>
<br>
On Fri, Sep 7, 2018 at 4:41 PM Lucas Cordiviola <<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>[mailto:<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>][mailto:<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>[mailto:<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>]]> wrote:Yes. I suggest using MinGW64. Pd-lib-builder is ready for that. You are<br>
on your own if you use VS and hit all kind of troubles that only and<br>
expert can deal (c runtimes, etc, etc).<br>
<br>
I never used code::blocks but it should work.<br>
<br>
I had no trouble with Msys2 and I like it.<br>
<br>
If you want a test you can try compiling Cyclone or Else -> sources:<br>
<br>
<a href="https://github.com/porres/pd-cyclone/releases%5Bhttps://github.com/porres/pd-cyclone/releases%5D%5Bhttps://github.com/porres/pd-cyclone/releases%5Bhttps://github.com/porres/pd-cyclone/releases%5D%5D" rel="noreferrer" target="_blank">https://github.com/porres/pd-cyclone/releases[https://github.com/porres/pd-cyclone/releases][https://github.com/porres/pd-cyclone/releases%5Bhttps://github.com/porres/pd-cyclone/releases%5D]</a><br>
<br>
<a href="https://github.com/porres/pd-else/releases" rel="noreferrer" target="_blank">https://github.com/porres/pd-else/releases</a><br>
<br>
These 2 have the latest pd-lib-builder 0.5.1 (strongly recommended)<br>
<br>
<a href="https://github.com/pure-data/pd-lib-builder%5Bhttps://github.com/pure-data/pd-lib-builder%5D%5Bhttps://github.com/pure-data/pd-lib-builder%5Bhttps://github.com/pure-data/pd-lib-builder%5D%5D" rel="noreferrer" target="_blank">https://github.com/pure-data/pd-lib-builder[https://github.com/pure-data/pd-lib-builder][https://github.com/pure-data/pd-lib-builder%5Bhttps://github.com/pure-data/pd-lib-builder%5D]</a><br>
<br>
<br>
:)<br>
<br>
Mensaje telepatico asistido por maquinas.<br>
<br>
On 9/7/2018 11:20 AM, alfonso santimone wrote:<br>
> Thanks Lucas, i already have a msys2 with mingw64 set on my system. Do<br>
> you suggest me do go that way instead of VS or Code::Blocks with mingw64<br>
><br>
 _______________________________________________ <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>[mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>] mailing list UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D%5Bhttps://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D%5D" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list][https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D]</a><br>
</blockquote></div>