hi, list !
Recently Lucas Cordiviola generously helped me getting on my feet compiling PD for myself on a windows system. He wrote a very useful and clear description how this can be done effectively and i thought this could be interesting for other windows PD users as well.
So here's the instruction (with kind permission from Lucas):
================================================================================
Compiling Pd on windows was difficult until a couple of month ago when Christof, Dan and IOhannes did some work:
First follow instructions to set up Msys2. You should install the 64bit installer (this one will let you build 32 and 64 bit apps).
https://github.com/msys2/msys2/wiki/MSYS2-installation
Once the base Msys2 has been installed add with -pacman the packages described here:
https://github.com/pure-data/pure-data/blob/e3009daf1acfa1c46adc67416b89019d...
(note that the backslash line breaks are only for readability. in fact those commands should be one line !)
Then download the Pd sources from GIT. There's a big green button "clone or download" at https://github.com/pure-data/pure-data
Then Download the ASIO SDK, rename it and copy it to the right place --> https://github.com/pure-data/pure-data/tree/master/asio
Now you are ready to compile. (at this point is a good idea to copy all your pd-source dir (containing the ASIO thing) to have a "clean" back-up for experimenting with different things. Then you make new dirs based on the backup)
Open the MinGW32 shell and (paths with forward slash "/"):
$cd full/path/to/your/pd-sources-dir
$./autogen.sh
$./configure
$make
$make app
For a 64bit Pd (still experimental) we also need a 64bit tcl/tk. --> https://github.com/pure-data/pure-data/blob/master/msw/README.txt
Open the MinGW64 shell:
$cd full/path/to/your/pd-sources-dir
$msw/tcltk-dir.sh --64bit 8.6.8
then:
$./autogen.sh
$./configure --with-wish=wish86.exe CPPFLAGS=-DPD_LONGINTTYPE=__int64
$make
$msw/msw-app.sh -t tcltk-8.6.8 0.48-1-w64-tcltk-w64
Notes on 64 bit: you should always add "CPPFLAGS=-DPD_LONGINTTYPE=__int64" when you do ./configure
General notes: You should always clean the pd-sources in between compilations, if you are unsure just delete the hole thing and place the backup.
================================================================================
please feel free to comment or correct on this howto !
best
oliver & lucas