[PD] building Pd vanilla with mingw
Colet Patrice
colet.patrice at free.fr
Fri Jul 26 19:51:11 CEST 2013
Hello, I think that we are facing windows specific errors with libtool
that should be resolved under windows...
Le 26/07/2013 15:15, Antoine Villeret a écrit :
> hi,
>
> i'm also trying to build Pd vanilla under Windows 7 with MinGW since
> yesterday
> I follow all the things on
> http://puredata.info/docs/developer/WindowsMinGW until "You can now
> build Pd vanilla"
> note that I cannot find the ASIOSDK2.2 but only the 2.3 on Steinberg
> website
>
My ASIOSDK is an old one, it would be nice if pd-vanilla compiles with
2.3 version proposed on Steinberg site, maybe audio would work with it :D
> with a fresh git clone :
> ./autogen.sh works fine
> but ./configure fails with this :
> ````
> === configuring in portaudio (/home/antoine/pd/pure-data/portaudio)
> configure: running /bin/sh m4/config/configure
> --disable-option-checking '--prefix=/usr/local' '--enable-asio'
> '--disable-portaudio' --cache-file=/dev/null --srcdir=./bin/sh:
> m4/config/configure: No such file or directory
> configure: error: m4/config/configure failed for portaudio
> ````
>
> git reflog
> 5419183 HEAD@{0}: clone: from
> git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data
> <http://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data>
> maybe I cloned the wrong repos ?
> or maybe the mingw build is broken for now ?
>
I forgot to mention that I used sources from
http://crca.ucsd.edu/~msp/software.html but I've same results with git
sources
> I then tested to compile the release version
> ./autogen.sh works fine
> ./configure fails witih the same error than above
>
> ````
> === configuring in portaudio (/home/antoine/pd/pd-0.44-0/portaudio)
> configure: running /bin/sh m4/config/configure
> --disable-option-checking '--prefix=/usr/local' '--enable-asio'
> '--enable-option-checking' --cache-file=/dev/null --srcdir=./bin/sh:
> m4/config/configure: No such file or directory
> configure: error: m4/config/configure failed for portaudio
There might be something missing for win32, I made configure file
manually with this command
cd portaudio && autoconf && libtoolize --force && autoconf
it hackish but it ends without errors
now when I run ./configure in pd folder it ends with this error:
./configure: line 4637: syntax error near unexpected token `JACK,'
./configure: line 4637: ` PKG_CHECK_MODULES(JACK, jack,
have_jack=yes, have_jack=no)'
configure: error: ./configure failed for portaudio
I don't really care about having jack working since pd audio isn't
working at all with my machine, even with compiled binaries, so I
comment out this PKG line and run my hack and then ./configure
--without-jack ...
it ends up with this summary:
Target ...................... i686-pc-mingw32
C++ bindings ................ no
Debug output ................ no
WMME ........................ yes
DSound ...................... no
ASIO ........................ no
WASAPI ...................... no
WDMKS ....................... no
if at least I have WMME, that's not so bad... So I run make...
another error in portaudio/makefile.in:
make[2]: LIBTOOL@: Command not found
I remove this line then configure again
now I have same error Jonathan were talking about, it seems that
automake puts a wrong compiler, and I've no idea...
NB: I tried this:
$ git pull origin master
warning: no common commits
From git://git.code.sf.net/p/pure-data/pure-data
* branch master -> FETCH_HEAD
Auto-merging .gitignore
CONFLICT (add/add): Merge conflict in .gitignore
Automatic merge failed; fix conflicts and then commit the result.
> ````
> also the old build system fails :
> $ make -f makefile.mingw
> make: *** No rule to make target
> `../../pd/portaudio/src/common/pa_stream.c', needed by
> `makefile.dependencies'. Stop.
>
> patrice's version works but pd.res is missing and then pd.exe couldn't
> be created...
>
> ````
> antoine at antoine-win7 ~/pd/pd/src
> $ gcc -mwindows -o pd.exe s_entry.o pd.res -lm -lwsock32 -lwinmm
> -lole32 -lpth
> readGC2 -L. -lpd
> gcc.exe: erreur: pd.res: No such file or directory
> ````
> NOTE : patrice version assume the folder where pd is is called "pd"
> not "pure-data" like the default after cloning
> also I had to remove tabulations
>
> anyway thanks for everything, i'm sure i'm close to my goal !
>
> regards
>
> a
>
> --
> do it yourself
> http://antoine.villeret.free.fr
>
>
> 2013/7/26 IOhannes m zmölnig <zmoelnig at iem.at <mailto:zmoelnig at iem.at>>
>
> On 07/26/13 08:54, Jonathan Wilkes wrote:
> > Thanks. Somehow I had some weirdness left over from
> > trying to /.autogen from a directory with spaces in it.
> > I started over using the "make -f makefile.mingw" method
> > and it worked fine.
> >
> > But I still can't get it to work using autogen.
> >
>
> for the watchdog problem, simply remove line 142 from src/Makefile.am
> ("bin_PROGRAMS += pd-watchdog" in the MINGW context).
>
> since i am the author of this line, i'm pretty sure that it *did* work
> when i last did a w32 compilation using mingw. without knowing the
> error
> you get ("it's complaining about missing functions relating to
> pd-watchdog"), it's hard to tell.
>
>
> msdt
> IOhannes
>
>
>
> _______________________________________________
> Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130726/a1923437/attachment-0001.htm>
More information about the Pd-list
mailing list