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.santim...@gmail.com> An: "Lucas Cordiviola" <lucard...@hotmail.com> Cc: 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] soundcloud.com/alfonsosantimone[http://soundcloud.com/alfonsosantimone] www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone] On Fri, Sep 7, 2018 at 4:55 PM Lucas Cordiviola <lucard...@hotmail.com[mailto:lucard...@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] = 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[https://github.com/pure-data/pd-lib-builder#basic-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] soundcloud.com/alfonsosantimone[http://soundcloud.com/alfonsosantimone] www.facebook.com/alfonsosantimone[http://www.facebook.com/alfonsosantimone] On Fri, Sep 7, 2018 at 4:41 PM Lucas Cordiviola <lucard...@hotmail.com[mailto:lucard...@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[https://github.com/porres/pd-cyclone/releases] 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[https://github.com/pure-data/pd-lib-builder] :) 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 mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list] _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list