Re: [PD] building Pd vanilla with mingw

2013-07-26 Thread Jonathan Wilkes

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


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] building Pd vanilla with mingw

2013-07-26 Thread yvan volochine

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

--
http://yvanvolochine.com
http://soundcloud.com/yvanvolochine
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


Re: [PD] building Pd vanilla with mingw

2013-07-26 Thread Colet Patrice
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 


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
 * branchmaster -> 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@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 mailto:zmoel...@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

Re: [PD] building Pd vanilla with mingw

2013-07-26 Thread Jonathan Wilkes

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


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] building Pd vanilla with mingw

2013-07-26 Thread Antoine Villeret
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 

> 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
>
> --
> http://yvanvolochine.com
> http://soundcloud.com/**yvanvolochine
> 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 
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] building Pd vanilla with mingw

2013-07-26 Thread yvan volochine

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

--
http://yvanvolochine.com
http://soundcloud.com/yvanvolochine
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


Re: [PD] building Pd vanilla with mingw

2013-07-26 Thread Antoine Villeret
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 

> 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
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] building Pd vanilla with mingw

2013-07-26 Thread IOhannes m zmölnig
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




signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] building Pd vanilla with mingw

2013-07-25 Thread Jonathan Wilkes

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 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





___
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


Re: [PD] building Pd vanilla with mingw

2013-07-25 Thread Jonathan Wilkes

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

Re: [PD] building Pd vanilla with mingw

2013-07-25 Thread Colet Patrice

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



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list