Oh thanks Christof ...simple almost unoticeable thingie :-) www.elgallorojorecords.com soundcloud.com/alfonsosantimone www.facebook.com/alfonsosantimone
On Fri, Sep 7, 2018 at 5:37 PM Christof Ressi christof.ressi@gmx.at wrote:
- For some reason the latest pd install (64 bit) doesn't have all the
headers and sources in the pd/src folders
for most externals, you should only rely on "m_pd.h". all other headers are considered not public and therefore unsafe to use.
- 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.
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:
cd /c ls
Christof
Gesendet: Freitag, 07. September 2018 um 17:23 Uhr Von: "alfonso santimone" alfonso.santimone@gmail.com An: "Christof Ressi" christof.ressi@gmx.at Cc: "Lucas Cordiviola" lucarda27@hotmail.com, pd-list@lists.iem.at Betreff: Re: Re: [PD] Compiling externals for w64. (was : Re: Slider/Knob)
Thanks Christof
- For some reason the latest pd install (64 bit) doesn't have all the
headers and sources in the pd/src folders 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.
www.elgallorojorecords.com[http://www.elgallorojorecords.com] soundcloud.com/alfonsosantimone[http://soundcloud.com/alfonsosantimone] http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone] http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D
On Fri, Sep 7, 2018 at 5:16 PM Christof Ressi <christof.ressi@gmx.at [mailto:christof.ressi@gmx.at]> 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.
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.
Christof
Gesendet: Freitag, 07. September 2018 um 17:04 Uhr Von: "alfonso santimone" <alfonso.santimone@gmail.com[mailto: alfonso.santimone@gmail.com]> An: "Lucas Cordiviola" <lucarda27@hotmail.com[mailto:lucarda27@hotmail.com ]> Cc: pd-list@lists.iem.at[mailto:pd-list@lists.iem.at] Betreff: Re: [PD] Compiling externals for w64. (was : Re: Slider/Knob)
Cool, thanks! I guess this implies clone the pd git insed the msys2 scope folder, so that pd lib builder can find all the pd headers. am i right?
a.
www.elgallorojorecords.com[http://www.elgallorojorecords.com][ http://www.elgallorojorecords.com%5Bhttp://www.elgallorojorecords.com]]
soundcloud.com/alfonsosantimone[http://soundcloud.com/alfonsosantimone][http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D] http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D%5Bhttp://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D%5D
www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone][http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D] http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D%5Bhttp://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D%5D
On Fri, Sep 7, 2018 at 4:55 PM Lucas Cordiviola <lucarda27@hotmail.com [mailto:lucarda27@hotmail.com][mailto:lucarda27@hotmail.com[mailto: lucarda27@hotmail.com]]> wrote: And if you want to try compiling a single external say foo.c
Get familiar with the makefile:
# Makefile for mylib
lib.name[http://lib.name][http://lib.name%5Bhttp://lib.name]] = mylib
class.sources = foo.c
datafiles = foo-help.pd README.txt LICENSE.txt
include Makefile.pdlibbuilder
https://github.com/pure-data/pd-lib-builder#basic-usage%5Bhttps://github.com...]] 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]]
:) Mensaje telepatico asistido por maquinas.
On 9/7/2018 11:46 AM, alfonso santimone wrote: Awesome, thanks!
www.elgallorojorecords.com[http://www.elgallorojorecords.com][ http://www.elgallorojorecords.com%5Bhttp://www.elgallorojorecords.com]]
soundcloud.com/alfonsosantimone[http://soundcloud.com/alfonsosantimone][http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D] http://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D%5Bhttp://soundcloud.com/alfonsosantimone%5Bhttp://soundcloud.com/alfonsosantimone%5D%5D
www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone][http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D] http://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D%5Bhttp://www.facebook.com/alfonsosantimone%5Bhttp://www.facebook.com/alfonsosantimone%5D%5D
On Fri, Sep 7, 2018 at 4:41 PM Lucas Cordiviola <lucarda27@hotmail.com [mailto:lucarda27@hotmail.com][mailto:lucarda27@hotmail.com[mailto: lucarda27@hotmail.com]]> wrote:Yes. I suggest using MinGW64. Pd-lib-builder is ready for that. You are on your own if you use VS and hit all kind of troubles that only and expert can deal (c runtimes, etc, etc).
I never used code::blocks but it should work.
I had no trouble with Msys2 and I like it.
If you want a test you can try compiling Cyclone or Else -> sources:
https://github.com/porres/pd-cyclone/releases%5Bhttps://github.com/porres/pd...] 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
https://github.com/porres/pd-else/releases
These 2 have the latest pd-lib-builder 0.5.1 (strongly recommended)
https://github.com/pure-data/pd-lib-builder%5Bhttps://github.com/pure-data/p...] 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
:)
Mensaje telepatico asistido por maquinas.
On 9/7/2018 11:20 AM, alfonso santimone wrote:
Thanks Lucas, i already have a msys2 with mingw64 set on my system. Do you suggest me do go that way instead of VS or Code::Blocks with mingw64
_______________________________________________ Pd-list@lists.iem.at [mailto:Pd-list@lists.iem.at] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/l...] 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