On 02/19/2018 10:42 PM, Miller Puckette wrote: > 'libtool' has a library dependency, -lmsvcrt , which breaks compilation. It > works just to delete it. > > Somehow a 32-bit version of libwinpthread-1.dll gets installed - I have to > manually replace it with a 64-bit one.
could it be (as lucas suspected) that both problems come from the 32bit libraries embedded in the msw/pdprototype.tgz? or put otherwise: when do the problems occur? during the `make` step or during the `msw-app.sh` step? > > When I try this for 8.6.8 I change the configuration line as follws: > $s/configure --host=x86_64-w64-mingw32 \ > --with-wish=wish86.exe \ > CPPFLAGS='-DPD_LONGINTTYPE=__int64 -DWISH=\"wish86.exe\"' > > It all builds fine and I'm able to run wish86.exe all right; but when I try > to test it as in: > > wine pd-0.48-1test2-ia64/bin/wish86.exe > `pwd`/pd-0.48-1test2-ia64/tcl/pd-gui.tcl how about "wine pd-0.48-1test2-ia64/bin/pd.exe"? > > I get signs of memory corruption that I haven't been able to track down (my > debugging statements in pd-gui.tcl generate binary garbage). This seems to > be an interaction between wine and tcl/tk and is almost certainly too deep > for me to figure out. "puts" never really worked for me on windows (not even in a proper VM). i think this is related to char/widechar. you might have more luck with logging to a file, something like ~~~ set logfile [open "pd-gui.log" "w" ] # ... puts $logfile "foo" # ... puts $logfile "bar" ~~~ fgmsadr IOhannes
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev