Hello list, Before I go down yet another infinitely deep rabbit hole, has anyone actually compiled a _working_ Pd 0.44 Vanilla using mingw?
If so, what did you do other than a) avoiding compiling in a directory that has spaces somewhere in the path (really? in 2013 this is still a problem?) b) ./autogen and make
I must be doing something wrong because it's complaining about missing functions relating to pd-watchdog, and if I'm not mistaken pd-watchdog doesn't even run on Windows.
Thanks, Jonathan
Hello,
Le 26/07/2013 02:33, Jonathan Wilkes a écrit :
Hello list, Before I go down yet another infinitely deep rabbit hole, has anyone actually compiled a _working_ Pd 0.44 Vanilla using mingw?
If so, what did you do other than a) avoiding compiling in a directory that has spaces somewhere in the path (really? in 2013 this is still a problem?) b) ./autogen and make
last time I tried to modify the build system for having this command working successfully, it didn't work, now I couldn't find the time for another try on libtoolize, but...
If you have installed ASIOSDK2 into asio folder this command should work:
make -f makefile.mingw
compiles fine with latest pd-vanilla sources,
make -f makefile.mingw install
it copies some things into mingw/pd,
cd /usr/local/pd/bin && pd.com
spawnl: No such file or directory c:\MinGW\pd\bin\wish85.exe: couldn't load TCL
I guess that it's just a matter of copying tcl-tk binaries and scripts at the right place:
cd /usr/local/bin && cp wish85.exe tcl85.dll /usr/local/pd/bin && cd /usr/local/pd/bin && pd.com
Good guess, pd is loading and warning up my firewall but there is a dialog box coming with an error message:
couldn't read file "c:\MinGW\pd\tcl\pd-gui.tcl": no such file or directory
I guess that I have to copy the tcl folder from the archive...
cp -r ~/pd/tcl /usr/local/pd
another error message: "can't find package dde"
I couldn't find anywhere this dde package, even the sources, but it's located into pd-vanilla binaries archive, so I copy dde folder into /usr/local/lib/tcl85
Now it's working, I open Help -> About pd to check if it's the good version, the font are tiny but it's the good one...
So this makefile.mingw works but misses externals (bonk~ and sigmund~) and doesn't copy all files at the right place
Hope this helps,
Good luck.
I must be doing something wrong because it's complaining about missing functions relating to pd-watchdog, and if I'm not mistaken pd-watchdog doesn't even run on Windows.
Thanks, Jonathan
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 07/25/2013 10:13 PM, Colet Patrice wrote:
Hello,
Le 26/07/2013 02:33, Jonathan Wilkes a écrit :
Hello list, Before I go down yet another infinitely deep rabbit hole, has anyone actually compiled a _working_ Pd 0.44 Vanilla using mingw?
If so, what did you do other than a) avoiding compiling in a directory that has spaces somewhere in the path (really? in 2013 this is still a problem?) b) ./autogen and make
last time I tried to modify the build system for having this command working successfully, it didn't work, now I couldn't find the time for another try on libtoolize, but...
If you have installed ASIOSDK2 into asio folder this command should work:
make -f makefile.mingw
compiles fine with latest pd-vanilla sources,
In addition to the autogen.sh, I tried "make -f makefile.mingw" (with ASIOSDK2 in asio folder) but I get this:
gcc -shared -o pd.dll g_canvas.o g_graph.o g_text.o g_rtext.o
g_array.o g_temp
late.o g_io.o g_scalar.o g_traversal.o g_guiconnect.o g_readwrite.o
g_editor.o g
_all_guis.o g_bang.o g_hdial.o g_mycanvas.o g_numbox.o g_toggle.o
g_hslider.o g_
vumeter.o m_pd.o m_class.o m_obj.o m_atom.o m_memory.o m_binbuf.o
m_conf.o m_glo
b.o m_sched.o s_main.o s_inter.o s_file.o s_print.o s_loader.o s_path.o
s_entry.
o s_audio.o s_midi.o s_utf8.o d_ugen.o d_ctl.o d_arithmetic.o d_osc.o
d_filter.o
d_dac.o d_misc.o d_math.o d_fft.o d_fft_mayer.o d_fftroutine.o
d_array.o d_glob
al.o d_delay.o d_resample.o x_arithmetic.o x_connective.o x_interface.o
x_midi.o
x_misc.o x_time.o x_acoustics.o x_net.o x_qlist.o x_gui.o x_list.o
d_soundfile.
o g_vslider.o g_vdial.o s_audio_pa.o s_audio_paring.o s_audio_mmio.o
s_midi_mmi
o.o ../../pd/portaudio/src/common/pa_stream.o
../../pd/portaudio/src/common/pa_t
race.o ../../pd/portaudio/src/common/pa_process.o
../../pd/portaudio/src/common/
pa_front.o ../../pd/portaudio/src/common/pa_dither.o
../../pd/portaudio/src/comm
on/pa_cpuload.o ../../pd/portaudio/src/common/pa_converters.o
../../pd/portaudio
/src/common/pa_allocation.o
../../pd/portaudio/src/common/pa_ringbuffer.o ../../
pd/portaudio/src/os/win/pa_win_coinitialize.o
../../pd/portaudio/src/os/win/pa_w
in_hostapis.o ../../pd/portaudio/src/os/win/pa_win_util.o
../../pd/portaudio/src
/os/win/pa_win_waveformat.o
../../pd/portaudio/src/hostapi/wmme/pa_win_wmme.o ..
/../pd/portaudio/src/hostapi/asio/iasiothiscallresolver.o
../../pd/portaudio/src
/hostapi/asio/pa_asio.o ../../pd/asio/ASIOSDK2/common/asio.o
../../pd/asio/ASIOS
DK2/host/asiodrivers.o ../../pd/asio/ASIOSDK2/host/pc/asiolist.o
../portmidi/pm_
common/portmidi.o ../portmidi/pm_common/pmutil.o
../portmidi/porttime/porttime.o
../portmidi/porttime/ptwinmm.o ../portmidi/pm_win/pmwin.o
../portmidi/pm_win/pm
winmm.o -lm -lwsock32 -lwinmm -lole32 -lpthreadGC2
-Wl,--export-all-symbols -Wl,--out-implib=pd.a;
../../pd/portaudio/src/hostapi/asio/iasiothiscallresolver.o:iasiothiscallresolve
r.cpp:(.rdata$_ZTI21IASIOThiscallResolver[__ZTI21IASIOThiscallResolver]+0x0):
un
defined reference to vtable for __cxxabiv1::__si_class_type_info' ../../pd/portaudio/src/hostapi/asio/iasiothiscallresolver.o:iasiothiscallresolve r.cpp:(.rdata$_ZTV8IUnknown[__ZTV8IUnknown]+0x8): undefined reference to
__cxa_
pure_virtual'
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe:
../../pd/p
ortaudio/src/hostapi/asio/iasiothiscallresolver.o: bad reloc address 0x8
in sect
ion `.rdata$_ZTV8IUnknown[__ZTV8IUnknown]'
collect2.exe: error: ld returned 1 exit status
make: *** [pd.dll] Error 1
make -f makefile.mingw install
it copies some things into mingw/pd,
cd /usr/local/pd/bin && pd.com
spawnl: No such file or directory c:\MinGW\pd\bin\wish85.exe: couldn't load TCL
I guess that it's just a matter of copying tcl-tk binaries and scripts at the right place:
cd /usr/local/bin && cp wish85.exe tcl85.dll /usr/local/pd/bin && cd /usr/local/pd/bin && pd.com
Good guess, pd is loading and warning up my firewall but there is a dialog box coming with an error message:
couldn't read file "c:\MinGW\pd\tcl\pd-gui.tcl": no such file or directory
I guess that I have to copy the tcl folder from the archive...
cp -r ~/pd/tcl /usr/local/pd
another error message: "can't find package dde"
I couldn't find anywhere this dde package, even the sources, but it's located into pd-vanilla binaries archive, so I copy dde folder into /usr/local/lib/tcl85
Now it's working, I open Help -> About pd to check if it's the good version, the font are tiny but it's the good one...
So this makefile.mingw works but misses externals (bonk~ and sigmund~) and doesn't copy all files at the right place
Hope this helps,
Good luck.
I must be doing something wrong because it's complaining about missing functions relating to pd-watchdog, and if I'm not mistaken pd-watchdog doesn't even run on Windows.
Thanks, Jonathan
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I've attached a log with all commands
Le 26/07/2013 04:30, Jonathan Wilkes a écrit :
In addition to the autogen.sh, I tried "make -f makefile.mingw" (with ASIOSDK2 in asio folder) but I get this:
gcc -shared -o pd.dll g_canvas.o g_graph.o g_text.o g_rtext.o g_array.o g_temp late.o g_io.o g_scalar.o g_traversal.o g_guiconnect.o g_readwrite.o g_editor.o g _all_guis.o g_bang.o g_hdial.o g_mycanvas.o g_numbox.o g_toggle.o g_hslider.o g_ vumeter.o m_pd.o m_class.o m_obj.o m_atom.o m_memory.o m_binbuf.o m_conf.o m_glo b.o m_sched.o s_main.o s_inter.o s_file.o s_print.o s_loader.o s_path.o s_entry. o s_audio.o s_midi.o s_utf8.o d_ugen.o d_ctl.o d_arithmetic.o d_osc.o d_filter.o d_dac.o d_misc.o d_math.o d_fft.o d_fft_mayer.o d_fftroutine.o d_array.o d_glob al.o d_delay.o d_resample.o x_arithmetic.o x_connective.o x_interface.o x_midi.o x_misc.o x_time.o x_acoustics.o x_net.o x_qlist.o x_gui.o x_list.o d_soundfile. o g_vslider.o g_vdial.o s_audio_pa.o s_audio_paring.o s_audio_mmio.o s_midi_mmi o.o ../../pd/portaudio/src/common/pa_stream.o ../../pd/portaudio/src/common/pa_t race.o ../../pd/portaudio/src/common/pa_process.o ../../pd/portaudio/src/common/ pa_front.o ../../pd/portaudio/src/common/pa_dither.o ../../pd/portaudio/src/comm on/pa_cpuload.o ../../pd/portaudio/src/common/pa_converters.o ../../pd/portaudio /src/common/pa_allocation.o ../../pd/portaudio/src/common/pa_ringbuffer.o ../../ pd/portaudio/src/os/win/pa_win_coinitialize.o ../../pd/portaudio/src/os/win/pa_w in_hostapis.o ../../pd/portaudio/src/os/win/pa_win_util.o ../../pd/portaudio/src /os/win/pa_win_waveformat.o ../../pd/portaudio/src/hostapi/wmme/pa_win_wmme.o .. /../pd/portaudio/src/hostapi/asio/iasiothiscallresolver.o ../../pd/portaudio/src /hostapi/asio/pa_asio.o ../../pd/asio/ASIOSDK2/common/asio.o ../../pd/asio/ASIOS DK2/host/asiodrivers.o ../../pd/asio/ASIOSDK2/host/pc/asiolist.o ../portmidi/pm_ common/portmidi.o ../portmidi/pm_common/pmutil.o ../portmidi/porttime/porttime.o ../portmidi/porttime/ptwinmm.o ../portmidi/pm_win/pmwin.o ../portmidi/pm_win/pm winmm.o -lm -lwsock32 -lwinmm -lole32 -lpthreadGC2
-Wl,--export-all-symbols -Wl,--out-implib=pd.a; ../../pd/portaudio/src/hostapi/asio/iasiothiscallresolver.o:iasiothiscallresolve r.cpp:(.rdata$_ZTI21IASIOThiscallResolver[__ZTI21IASIOThiscallResolver]+0x0): un defined reference tovtable for __cxxabiv1::__si_class_type_info' ../../pd/portaudio/src/hostapi/asio/iasiothiscallresolver.o:iasiothiscallresolve r.cpp:(.rdata$_ZTV8IUnknown[__ZTV8IUnknown]+0x8): undefined reference to
__cxa_ pure_virtual' c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: ../../pd/p ortaudio/src/hostapi/asio/iasiothiscallresolver.o: bad reloc address 0x8 in sect ion `.rdata$_ZTV8IUnknown[__ZTV8IUnknown]' collect2.exe: error: ld returned 1 exit status make: *** [pd.dll] Error 1
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.
-Jonathan
On 07/25/2013 10:43 PM, Colet Patrice wrote:
I've attached a log with all commands
Le 26/07/2013 04:30, Jonathan Wilkes a écrit :
In addition to the autogen.sh, I tried "make -f makefile.mingw" (with ASIOSDK2 in asio folder) but I get this:
gcc -shared -o pd.dll g_canvas.o g_graph.o g_text.o g_rtext.o g_array.o g_temp late.o g_io.o g_scalar.o g_traversal.o g_guiconnect.o g_readwrite.o g_editor.o g _all_guis.o g_bang.o g_hdial.o g_mycanvas.o g_numbox.o g_toggle.o g_hslider.o g_ vumeter.o m_pd.o m_class.o m_obj.o m_atom.o m_memory.o m_binbuf.o m_conf.o m_glo b.o m_sched.o s_main.o s_inter.o s_file.o s_print.o s_loader.o s_path.o s_entry. o s_audio.o s_midi.o s_utf8.o d_ugen.o d_ctl.o d_arithmetic.o d_osc.o d_filter.o d_dac.o d_misc.o d_math.o d_fft.o d_fft_mayer.o d_fftroutine.o d_array.o d_glob al.o d_delay.o d_resample.o x_arithmetic.o x_connective.o x_interface.o x_midi.o x_misc.o x_time.o x_acoustics.o x_net.o x_qlist.o x_gui.o x_list.o d_soundfile. o g_vslider.o g_vdial.o s_audio_pa.o s_audio_paring.o s_audio_mmio.o s_midi_mmi o.o ../../pd/portaudio/src/common/pa_stream.o ../../pd/portaudio/src/common/pa_t race.o ../../pd/portaudio/src/common/pa_process.o ../../pd/portaudio/src/common/ pa_front.o ../../pd/portaudio/src/common/pa_dither.o ../../pd/portaudio/src/comm on/pa_cpuload.o ../../pd/portaudio/src/common/pa_converters.o ../../pd/portaudio /src/common/pa_allocation.o ../../pd/portaudio/src/common/pa_ringbuffer.o ../../ pd/portaudio/src/os/win/pa_win_coinitialize.o ../../pd/portaudio/src/os/win/pa_w in_hostapis.o ../../pd/portaudio/src/os/win/pa_win_util.o ../../pd/portaudio/src /os/win/pa_win_waveformat.o ../../pd/portaudio/src/hostapi/wmme/pa_win_wmme.o .. /../pd/portaudio/src/hostapi/asio/iasiothiscallresolver.o ../../pd/portaudio/src /hostapi/asio/pa_asio.o ../../pd/asio/ASIOSDK2/common/asio.o ../../pd/asio/ASIOS DK2/host/asiodrivers.o ../../pd/asio/ASIOSDK2/host/pc/asiolist.o ../portmidi/pm_ common/portmidi.o ../portmidi/pm_common/pmutil.o ../portmidi/porttime/porttime.o ../portmidi/porttime/ptwinmm.o ../portmidi/pm_win/pmwin.o ../portmidi/pm_win/pm winmm.o -lm -lwsock32 -lwinmm -lole32 -lpthreadGC2
-Wl,--export-all-symbols -Wl,--out-implib=pd.a; ../../pd/portaudio/src/hostapi/asio/iasiothiscallresolver.o:iasiothiscallresolve r.cpp:(.rdata$_ZTI21IASIOThiscallResolver[__ZTI21IASIOThiscallResolver]+0x0): un defined reference tovtable for __cxxabiv1::__si_class_type_info' ../../pd/portaudio/src/hostapi/asio/iasiothiscallresolver.o:iasiothiscallresolve r.cpp:(.rdata$_ZTV8IUnknown[__ZTV8IUnknown]+0x8): undefined reference to
__cxa_ pure_virtual' c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: ../../pd/p ortaudio/src/hostapi/asio/iasiothiscallresolver.o: bad reloc address 0x8 in sect ion `.rdata$_ZTV8IUnknown[__ZTV8IUnknown]' collect2.exe: error: ld returned 1 exit status make: *** [pd.dll] Error 1
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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
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
On 26/07/13 15:15, Antoine Villeret wrote:
git reflog 5419183 HEAD@{0}: clone: from git:// pure-data.git.sourceforge.net/gitroot/pure-data/pure-data maybe I cloned the wrong repos ?
sf.net changed their repos URL so you need the following if you wanna try to build latest master:
$ git remote set-url origin git://git.code.sf.net/p/pure-data/pure-data $ git pull origin master
but as I don't have any windowz I have no idea if current master build with mingw :/
HTH y
ho ! shame on me ! I've copy/paste the link from http://puredata.info/docs/developer/GettingPdSource ... so i've update the link...
i'm not sure which link is the right one for SVN and pd-extended so I let who knows to update them...
regards
a
-- do it yourself http://antoine.villeret.free.fr
2013/7/26 yvan volochine yvan.pd@gmail.com
On 26/07/13 15:15, Antoine Villeret wrote:
git reflog 5419183 HEAD@{0}: clone: from git:// pure-data.git.sourceforge.net/**gitroot/pure-data/pure-datahttp://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data maybe I cloned the wrong repos ?
sf.net changed their repos URL so you need the following if you wanna try to build latest master:
$ git remote set-url origin git://git.code.sf.net/p/pure-** data/pure-data http://git.code.sf.net/p/pure-data/pure-data $ git pull origin master
but as I don't have any windowz I have no idea if current master build with mingw :/
HTH y
-- http://yvanvolochine.com http://soundcloud.com/**yvanvolochinehttp://soundcloud.com/yvanvolochine http://soundcloud.com/**elgusanorojo http://soundcloud.com/elgusanorojo http://github.com/gusano http://vimeo.com/yv
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
On 26/07/13 19:18, Antoine Villeret wrote:
i'm not sure which link is the right one for SVN and pd-extended so I let who knows to update them...
this is the one for pd-extended/svn:
$ svn checkout svn://svn.code.sf.net/p/pure-data/svn/trunk pure-data-svn
ciao y
Hello,
I'm trying to find out why portaudio doesn't work with my windows machine.
pd doesn't stuck anymore if I put Pa_Terminate() at the end of function "static void pa_init(void)" in s_audio_pa.c
I don't understand why Pa_Terminate() is not used anymore, it's under comments in function int pa_open_audio()
because by reading http://portaudio.com/docs/v19-doxydocs/initializing_portaudio.html, I see that this function must be used.
Le 27/07/2013 00:39, Colet Patrice a écrit :
Hello,
I'm trying to find out why portaudio doesn't work with my windows machine.
pd doesn't stuck anymore if I put Pa_Terminate() at the end of function "static void pa_init(void)" in s_audio_pa.c
I don't understand why Pa_Terminate() is not used anymore, it's under comments in function int pa_open_audio()
because by reading http://portaudio.com/docs/v19-doxydocs/initializing_portaudio.html, I see that this function must be used.
It doesn't matter anymore because I've partly resolved the problem, and it partly comes from portaudio...
If pa_process.c has been modified like explained in following link:
http://music.columbia.edu/pipermail/portaudio/2012-December/014649.html
audioindev audiooutdev can be forced before declaring asio like this:
pd -audioindev 13 -audiooutdev 12 -asio
Then It's possible to know which device to use with this command:
pd -audioindev 0 -audiooutdev 0 -asio -listdev
I hope someone can rewrite PaError pa_open_callback(...) in s_audio_pa.c because all those problems mainly comes from this function, and asio will certainly work better for everyone. My guess would be about making sure that p_instreamparams and p_outstreamparams aren't NULL before starting pa_stream.
cheers,
PatCo
Hi Patrice -
I actually don't have any working ASIO devices which makes it hard for me to figure out what's wrong here. I'll make another attemot to get something installed in the next week or so. Meanwhile, am I reading this right that you get different results depending on whether you put the -asio flag before or after the " -audioindev 13 -audiooutdev 12" ? I don't know why that would happen.
cheers Miller
On Sat, Jul 27, 2013 at 03:46:49AM +0200, Colet Patrice wrote:
Le 27/07/2013 00:39, Colet Patrice a écrit :
Hello,
I'm trying to find out why portaudio doesn't work with my windows machine.
pd doesn't stuck anymore if I put Pa_Terminate() at the end of function "static void pa_init(void)" in s_audio_pa.c
I don't understand why Pa_Terminate() is not used anymore, it's under comments in function int pa_open_audio()
because by reading http://portaudio.com/docs/v19-doxydocs/initializing_portaudio.html, I see that this function must be used.
It doesn't matter anymore because I've partly resolved the problem, and it partly comes from portaudio...
If pa_process.c has been modified like explained in following link:
http://music.columbia.edu/pipermail/portaudio/2012-December/014649.html
audioindev audiooutdev can be forced before declaring asio like this:
pd -audioindev 13 -audiooutdev 12 -asio
Then It's possible to know which device to use with this command:
pd -audioindev 0 -audiooutdev 0 -asio -listdev
I hope someone can rewrite PaError pa_open_callback(...) in s_audio_pa.c because all those problems mainly comes from this function, and asio will certainly work better for everyone. My guess would be about making sure that p_instreamparams and p_outstreamparams aren't NULL before starting pa_stream.
cheers,
PatCo
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Hello Miller,
When pd is started from msys console with asio flag after audioindev and audiooutdev, msys console show this:
///Assertion failed: //!bp->host(In|Out)__putIsInterleaved, //file src/common/pa_process.c, line 498/
I don't know implications of removing those 'assert()' lines from /pa_process.c/, but it's the only solution I've found out to have asio devices working again with versions of PureData using the new portaudio interface.
Also, I forgot to mention that pd doesn't crash when selecting asio if callback toggle is enabled, but it's extremely slow.
I'll try to package a version with the code modification maybe this week to see what's happening on other computers,
cheers,
PatCo
Le 11/08/2013 07:38, Miller Puckette a écrit :
Hi Patrice -
I actually don't have any working ASIO devices which makes it hard for me to figure out what's wrong here. I'll make another attemot to get something installed in the next week or so. Meanwhile, am I reading this right that you get different results depending on whether you put the -asio flag before or after the " -audioindev 13 -audiooutdev 12" ? I don't know why that would happen.
cheers Miller
On Sat, Jul 27, 2013 at 03:46:49AM +0200, Colet Patrice wrote:
Le 27/07/2013 00:39, Colet Patrice a écrit :
Hello,
I'm trying to find out why portaudio doesn't work with my windows machine.
pd doesn't stuck anymore if I put Pa_Terminate() at the end of function "static void pa_init(void)" in s_audio_pa.c
I don't understand why Pa_Terminate() is not used anymore, it's under comments in function int pa_open_audio()
because by reading http://portaudio.com/docs/v19-doxydocs/initializing_portaudio.html, I see that this function must be used.
It doesn't matter anymore because I've partly resolved the problem, and it partly comes from portaudio...
If pa_process.c has been modified like explained in following link:
http://music.columbia.edu/pipermail/portaudio/2012-December/014649.html
audioindev audiooutdev can be forced before declaring asio like this:
pd -audioindev 13 -audiooutdev 12 -asio
Then It's possible to know which device to use with this command:
pd -audioindev 0 -audiooutdev 0 -asio -listdev
I hope someone can rewrite PaError pa_open_callback(...) in s_audio_pa.c because all those problems mainly comes from this function, and asio will certainly work better for everyone. My guess would be about making sure that p_instreamparams and p_outstreamparams aren't NULL before starting pa_stream.
cheers,
PatCo
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
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
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@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 <mailto: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 <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 07/26/2013 03:44 AM, IOhannes m zmölnig wrote:
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.
I finally got things to work with "make -f makefile.mingw". But since you say it did work, I'll go back and start from scratch using the ./autogen method and post the actual errors. (I'd changed some things initially trying to get ./autogen method to work.)
-Jonathan
msdt IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 07/26/2013 03:44 AM, IOhannes m zmölnig wrote:
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.
I tried a fresh install of 0.44-3 (i.e., not including my prefs dialog revisions).
Added the asiosdk stuff.
./autogen.sh && ./configure
This is what I get:
config.status: creating extra/choice/GNUmakefile config.status: creating extra/expr~/GNUmakefile config.status: creating extra/fiddle~/GNUmakefile config.status: creating extra/loop~/GNUmakefile config.status: creating extra/lrshift~/GNUmakefile config.status: creating extra/pd~/GNUmakefile config.status: creating extra/pique/GNUmakefile config.status: creating extra/sigmund~/GNUmakefile config.status: creating extra/stdout/GNUmakefile config.status: creating pd.pc config.status: executing depfiles commands config.status: executing libtool commands === configuring in portaudio (/c/pd-0.44-3.src/pd/portaudio) configure: running /bin/sh m4/config/configure --disable-option-checking '--pref ix=/usr/local' --cache-file=/dev/null --srcdir=. /bin/sh: m4/config/configure: No such file or directory configure: error: m4/config/configure failed for portaudio
msdt IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list