You can use the same setup as compiling Pd on Windows. We recently did a bunch of work to make this possible and I documented the build setup: https://github.com/pure-data/pure-data/pull/299/files#diff-48d1bc6644af8a5b1... https://github.com/pure-data/pure-data/pull/299/files#diff-48d1bc6644af8a5b129735ddf46363c4
It should work with externals + pdlibbuilder and might be good for pdlibbuilder to point to this section in the INSTALL.txt.
On Feb 6, 2018, at 6:02 PM, pd-dev-request@lists.iem.at wrote:
It would be nice if the 'official' tool chain for building externals that work with vanilla Pd on a Windows machine in 2018 could be explicitly documented somewhere.
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Tue, Feb 6, 2018 at 12:16 PM, Dan Wilcox danomatika@gmail.com wrote:
You can use the same setup as compiling Pd on Windows. We recently did a bunch of work to make this possible and I documented the build setup: https://github.com/pure-data/pure-data/pull/299/files#diff- 48d1bc6644af8a5b129735ddf46363c4
It should work with externals + pdlibbuilder and might be good for pdlibbuilder to point to this section in the INSTALL.txt.
Thanks, this is very useful! I followed the instructions to make the latest Pd from git and got to this part though which doesn't work:
+* build a Pd application directory for Windows (recommended) +* build a Windows installer + +A Pd application directory is essentially a self-contained Pd package which +should run out of the box. To build, simply use: + + make app + +This will create a "pd-VERSION" directory (ie. pd-0.48.1) which can then be used +by running pd.exe in the bin directory and placed wherever on your system. For +more info & options regarding the Pd app directory, see msw/README.txt +
So with msys2 I get: martin@martin-PC MINGW32 ~/pure-data$ make app make -C mac app make[1]: Entering directory '/home/martin/pure-data/mac' echo "app bundle only supported when building on OS X" app bundle only supported when building on OS X make[1]: Leaving directory '/home/martin/pure-data/mac'
..so is there another command to make a windows version or is it just 'make'?
Martin
On 02/07/2018 08:08 PM, Martin Peach wrote:
On Tue, Feb 6, 2018 at 12:16 PM, Dan Wilcox danomatika@gmail.com wrote:
Thanks, this is very useful! I followed the instructions to make the latest Pd from git and got to this
[...]
So with msys2 I get: martin@martin-PC MINGW32 ~/pure-data$ make app make -C mac app make[1]: Entering directory '/home/martin/pure-data/mac'
just to be sure: you *did* checkout the `mingw-autotools-nolibdir` branch before building, did you? (the README.txt doesn't include that part, as the PR it is supposed to be merged into `master`, at which point the README.txt would be wrong)
fgmards IOhannes
On Wed, Feb 7, 2018 at 2:17 PM, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 02/07/2018 08:08 PM, Martin Peach wrote:
On Tue, Feb 6, 2018 at 12:16 PM, Dan Wilcox danomatika@gmail.com
wrote:
Thanks, this is very useful! I followed the instructions to make the latest Pd from git and got to
this
[...]
So with msys2 I get: martin@martin-PC MINGW32 ~/pure-data$ make app make -C mac app make[1]: Entering directory '/home/martin/pure-data/mac'
just to be sure: you *did* checkout the `mingw-autotools-nolibdir` branch before building, did you? (the README.txt doesn't include that part, as the PR it is supposed to be merged into `master`, at which point the README.txt would be wrong)
Ah I see, more secret stuff... I got this one: https://github.com/pure-data/pure-data and ran autogen.sh and configure from the top level.
Where would I find this other branch of which you speak?
Martin
https://github.com/pure-data/pure-data/tree/mingw-autotools-nolibdir
Mensaje telepatico asistido por maquinas.
On 2/7/2018 4:33 PM, Martin Peach wrote:
Where would I find this other branch of which you speak?
On 02/07/2018 08:33 PM, Martin Peach wrote:
Ah I see, more secret stuff...
while this might seem annoying and offputting to you, it is really just a very basic and common git workflow.
I got this one: https://github.com/pure-data/pure-data and ran autogen.sh and configure from the top level.
Where would I find this other branch of which you speak?
if you cloned via git, you already have it:
$ git checkout mingw-autotools-nolibdir
(on the URL that lucas posted, you can also download the entire branch as a ZIP-file; but really: getting used to git and using it pays off endlessly)
gfmadsr IOhannes
On Wed, Feb 7, 2018 at 3:07 PM, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 02/07/2018 08:33 PM, Martin Peach wrote:
Ah I see, more secret stuff...
while this might seem annoying and offputting to you, it is really just a very basic and common git workflow.
I got this one: https://github.com/pure-data/pure-data and ran autogen.sh and configure from the top level.
Where would I find this other branch of which you speak?
if you cloned via git, you already have it:
$ git checkout mingw-autotools-nolibdir
(on the URL that lucas posted, you can also download the entire branch as a ZIP-file; but really: getting used to git and using it pays off endlessly)
Yes I got it, I didn't realize it was in a different branch. And I keep
running out of time :(
+ make app + +This will create a "pd-VERSION" directory (ie. pd-0.48.1) which can then be used +by running pd.exe in the bin directory and placed wherever on your system. For +more info & options regarding the Pd app directory, see msw/README.txt +
Now the 'make app' command produces the pd-.0.48.1 directory with pd.exe inside it but nothing happens if I run that file -- no errors, no messages, just returns to the prompt. So I suppose I still need to run something in the msw directory to build tcl/tk; the README.txt in there gives a list of possibilities, It's not clear to me which script to use to get a 'vanilla' pd.exe, or do I just unpack pdprototype.tgz?
Martin
I just re-tested it and it works here.
./autogen.sh
./configure
make
make app
Mensaje telepatico asistido por maquinas.
On 2/7/2018 6:46 PM, Martin Peach wrote:
Now the 'make app' command produces the pd-.0.48.1 directory with pd.exe inside it but nothing happens if I run that file -- no errors, no messages, just returns to the prompt. So I suppose I still need to run something in the msw directory to build tcl/tk; the README.txt in there gives a list of possibilities, It's not clear to me which script to use to get a 'vanilla' pd.exe, or do I just unpack pdprototype.tgz?
did you try to run it from the Msys2 shell or did you double click? try both and check again if you get any errors. also, what's your system? Gesendet: Mittwoch, 07. Februar 2018 um 22:46 Uhr Von: "Martin Peach" chakekatzil@gmail.com An: pd-dev pd-dev@lists.iem.at Betreff: Re: [PD-dev] pdlibbuilder and static linking pthread by, default on Windows.
On Wed, Feb 7, 2018 at 3:07 PM, IOhannes m zmölnig <zmoelnig@iem.at[mailto:zmoelnig@iem.at]> wrote:
On 02/07/2018 08:33 PM, Martin Peach wrote:
Ah I see, more secret stuff...
while this might seem annoying and offputting to you, it is really just a very basic and common git workflow.
I got this one: https://github.com/pure-data/pure-data%5Bhttps://github.com/pure-data/pure-d...] and ran autogen.sh and configure from the top level.
Where would I find this other branch of which you speak?
if you cloned via git, you already have it:
$ git checkout mingw-autotools-nolibdir
(on the URL that lucas posted, you can also download the entire branch as a ZIP-file; but really: getting used to git and using it pays off endlessly) Yes I got it, I didn't realize it was in a different branch. And I keep running out of time :( + make app
+
+This will create a "pd-VERSION" directory (ie. pd-0.48.1) which can then be used
+by running pd.exe in the bin directory and placed wherever on your system. For
+more info & options regarding the Pd app directory, see msw/README.txt
+
Now the 'make app' command produces the pd-.0.48.1 directory with pd.exe inside it but nothing happens if I run that file -- no errors, no messages, just returns to the prompt. So I suppose I still need to run something in the msw directory to build tcl/tk; the README.txt in there gives a list of possibilities, It's not clear to me which script to use to get a 'vanilla' pd.exe, or do I just unpack pdprototype.tgz? Martin _______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev%5Bhttps://lists.puredata.info/li...]
On Wed, Feb 7, 2018 at 6:05 PM, Christof Ressi christof.ressi@gmx.at wrote:
did you try to run it from the Msys2 shell or did you double click? try both and check again if you get any errors. also, what's your system?
Today I opened it by double-clicking the pd.exe icon and it worked. Also it now works running from the msys2 32bit shell This is on a Win7-64bit machine. The dialog asking for network permission showed up when I double-clicked. Maybe that was the issue. Now I'll try to build some externals.
Martin
Gesendet: Mittwoch, 07. Februar 2018 um 22:46 Uhr Von: "Martin Peach" chakekatzil@gmail.com An: pd-dev pd-dev@lists.iem.at Betreff: Re: [PD-dev] pdlibbuilder and static linking pthread by, default on Windows.
On Wed, Feb 7, 2018 at 3:07 PM, IOhannes m zmölnig <zmoelnig@iem.at [mailto:zmoelnig@iem.at]> wrote:
On 02/07/2018 08:33 PM, Martin Peach wrote:
Ah I see, more secret stuff...
while this might seem annoying and offputting to you, it is really just a very basic and common git workflow.
I got this one: https://github.com/pure-data/pure-data%5Bhttps://github.com/
pure-data/pure-data]
and ran autogen.sh and configure from the top level.
Where would I find this other branch of which you speak?
if you cloned via git, you already have it:
$ git checkout mingw-autotools-nolibdir
(on the URL that lucas posted, you can also download the entire branch as a ZIP-file; but really: getting used to git and using it pays off endlessly)
Yes I got it, I didn't realize it was in a different branch. And I keep running out of time :(
make app
+This will create a "pd-VERSION" directory (ie. pd-0.48.1) which can then be used
+by running pd.exe in the bin directory and placed wherever on your system. For
+more info & options regarding the Pd app directory, see msw/README.txt
Now the 'make app' command produces the pd-.0.48.1 directory with pd.exe inside it but nothing happens if I run that file -- no errors, no messages, just returns to the prompt. So I suppose I still need to run something in the msw directory to build tcl/tk; the README.txt in there gives a list of possibilities, It's not clear to me which script to use to get a 'vanilla' pd.exe, or do I just unpack pdprototype.tgz?
Martin _______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/ listinfo/pd-dev[https://lists.puredata.info/listinfo/pd-dev]