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

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
````
even if i use --enable-asio and --disable-portaudio options
I could post the entire output if needed

from here : /home/antoine/pd/pure-data (so there is no spaces in path)

the "make -f makefile.mingw" command from src/ fails with : 
$ make -f makefile.mingw
makefile.mingw:299: makefile.dependencies: No such file or directory
make: *** No rule to make target `../../pd/portaudio/src/common/pa_stream.c', needed by `makefile.dependencies'.  Stop.

with patrice's command I got after a lots of warnings : 

````
Creating library file: pd.a
g_canvas.o:g_canvas.c:(.text+0x359c): undefined reference to `array_define_class
'
g_text.o:g_text.c:(.text+0x3534): undefined reference to `canvas_istable'
m_conf.o:m_conf.c:(.text+0x77): undefined reference to `x_array_setup'
m_conf.o:m_conf.c:(.text+0x9a): undefined reference to `x_scalar_setup'
collect2: ld a retourné 1 code d'état d'exécution
````
so it fails creating pd.dll, pd.com an others

git reflog
5419183 HEAD@{0}: clone: from git://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 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
````
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@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@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@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list