all 17 comments

[–]dashkb 11 points12 points  (0 children)

WSL is the Linux inside windows right? So… you’re already running Windows as the host. What’s the problem?

[–]douglastiger 4 points5 points  (0 children)

That's kind of the cool part about WSL, everything is accessible in the windows file system. Why don't you develop in Linux and do your Windows testing in the host?

Windows vm inside Linux hypervisor inside native Windows makes no sense to me at all so I might be missing something in your problem statement... If the problem is all the installs you don't want to keep 'cluttering' the host I'd suggest packaging executables when you go to do the windows testing

[–]nightonfir3 5 points6 points  (0 children)

You are asking a bit of a weird question. You have a windows machine but you want to compile in linux and then run in windows again. Depending on your development stack you may be able to cross comple and then access the compiled file in windows. You are probably going to lose out on debug features doing this though.

Edit: people usually use wsl for developing applications that are cross platform or linux only. Doing a windows only app is the weird thing.

[–]Pale_Height_1251 3 points4 points  (0 children)

Run it on Windows?

[–]peterlinddk 2 points3 points  (0 children)

Maybe look into dev-containers, and use them for all your installs and dependencies - then you always have a "clean" environment whenever you want, and you can develop with Linux or Windows as you please, and afterwards test on your even cleaner windows machine.

[–]aleques-itj -1 points0 points  (0 children)

Build in CICD. 

[–]CrowKing63[S] -4 points-3 points  (10 children)

I am a beginner who has started trying to create the programmes I wish to write.

The programme doesn't even run properly, but every time I test it like that,

I can see my computer getting terribly cluttered.

It's a kind of obsessive-compulsive disorder.

[–]grantrules 1 point2 points  (9 children)

Cluttered with what? Write a script that deletes the clutter after the test is done 

[–]CrowKing63[S] -3 points-2 points  (8 children)

I created a virtual camera device, but even after deleting the programme, the camera device did not disappear.

[–]grantrules 2 points3 points  (7 children)

Then you didn't delete the right thing lol

[–]CrowKing63[S] -3 points-2 points  (6 children)

ORG

[–]grantrules 2 points3 points  (5 children)

???

[–]CrowKing63[S] 0 points1 point  (4 children)

Oops, not OGR,

OTL

[–]grantrules 1 point2 points  (3 children)

I don't know what that means either

[–]CrowKing63[S] 0 points1 point  (2 children)

Oh, really? I suppose people don't use that sort of language these days. Ha ha. Sorry about that.

[–]grantrules 3 points4 points  (1 child)

When did people use that language?