Re: [PD-dev] pd 0.50-0 test1 on win64/tk64 and Pdfontloader

2019-08-12 Thread Miller Puckette
Better yet (I think) - just include a 64 bit DLL with the 64-bit Pd and
a 32-bit one otherwise.

If anyone wants to volunteer to compile a 64-bit one I'll gladly include it
in teh 64-bit release (otherwise I'll try my own hand at it later this week).

I'm hoping to get the final version out Saturday :)

M

On Mon, Aug 12, 2019 at 02:37:22PM +, Lucas Cordiviola wrote:
> Hi Miller,
> 
> I've detected that your "0.50-0 test1" for win64 is built with an 64-bit 
> wish86.exe. This one does not ship, nor load the current pdfonloader.dll 
> that it's for 32-bit only.
> 
> I see 2 solutions:
> 
> - Build and use wish86.exe for 32bit.
> 
> - Build an 64bit "pdfontloader64.dll" and include some lines in 
> pd-gui.tcl to auto-detect the current wish* architecture and then load 
> the correct pdfontloader.
> 
> 
> 
> Mensaje telepatico asistido por maquinas.
> 
> 



___
Pd-dev mailing list
Pd-dev@lists.iem.at
https://lists.puredata.info/listinfo/pd-dev


[PD-dev] pd 0.50-0 test1 on win64/tk64 and Pdfontloader

2019-08-12 Thread Lucas Cordiviola
( writing this again as it was in a wrong thread and i have more info)


I've detected that your "0.50-0 test1" for win64 is built with an 64-bit
wish86.exe. This one does not ship, nor load the current pdfonloader.dll
that it's for 32-bit only.

I see 2 solutions:

1 - Build and use wish86.exe for 32bit.

2 - Build an 64bit "pdfontloader64.dll" and include some lines in
pd-gui.tcl to auto-detect the current wish* architecture and then load
the correct pdfontloader.




As for solution 2 to I did:



To compile an 64bit pdfontloader I did add these packages to MinGW with:

pacman -S mingw64/mingw-w64-x86_64-tcl

pacman -S mingw64/mingw-w64-x86_64-tk

then I did "make" in pdfontloder dir. and rename the dll to pdfontloader64.dll.



And included this lines in "pd-gui.tcl" (Line 407) :

set arch $::tcl_platform(pointerSize)
switch -- $arch {
4 { load [file join "$::sys_libdir" 
"bin/pdfontloader.dll"]  }
8 { load [file join "$::sys_libdir" 
"bin/pdfontloader64.dll"] }
}

-- 
Mensaje telepatico asistido por maquinas.

___
Pd-dev mailing list
Pd-dev@lists.iem.at
https://lists.puredata.info/listinfo/pd-dev