rl_json icon indicating copy to clipboard operation
rl_json copied to clipboard

Any plans to make this work on windows?

Open ecky-l opened this issue 4 years ago • 5 comments

There is still no way to build the extension on windows. I am rather unsuccessful in doing so with the latest master revision.

ecky-l avatar May 18 '21 14:05 ecky-l

Unfortunately Windows gets a bit neglected as it's not a platform I work on or have access to. From time to time I merge windows build fixes that people send, but I can't verify that they work. Mingw should definitely work though.

I've just merged such a fix, so it seems like it's building for someone at least, maybe you could give it another go and let me know?

cyanogilvie avatar Nov 23 '21 21:11 cyanogilvie

Using 0.11.1 with my latest patches (see issues) I am able to compile under Windows (w10 32bit with Tcl 8.6.10) using cygwin & VSC (no gcc). would it be helpful for you if I provide a Makefile that you can tailor for your needs?

wkechel avatar Nov 25 '21 09:11 wkechel

it's easy to build the extension following TIP 477:

https://core.tcl-lang.org/tips/doc/trunk/tip/477.md

I only needed to add TIP445_SHIM to PRJ_DEFINES

Kazmirchuk avatar Nov 15 '22 08:11 Kazmirchuk

it's easy to build the extension following TIP 477:

https://core.tcl-lang.org/tips/doc/trunk/tip/477.md

I only needed to add TIP445_SHIM to PRJ_DEFINES

That sounds very promising, trying to keep this thing building on Windows is a constant headache. Is there anything I need to do to support this?

If you could write up a short paragraph on how to build it using the TIP 477 approach I'd love to add it to the README.md (I don't have access to the platform to test it myself)

cyanogilvie avatar Dec 09 '22 16:12 cyanogilvie

you already have an open pull request from Ashok, Could you merge that first? It looks like he has done a better job than me (I didn't bother fixing MSVC warnings). Then I can check if there are any issues left on Windows, and create a PR for README

Kazmirchuk avatar Dec 13 '22 15:12 Kazmirchuk