ericstoneking / 42

Simulation for spacecraft attitude control system analysis and design
253 stars 83 forks source link

42 in WSL2 on Windows was very smooth #105

Open mmisbach opened 1 year ago

mmisbach commented 1 year ago

Running 42 on windows using WSL2 was surprisingly easy. All I did was follow Microsoft's directions here which are basically just install the appropriate vGPU driver and install/update WSL2. From there, I was able to open the linux/WSL prompt, apt install the needed dependencies, and compile and run 42 without any need for Xming/Xlaunch and messing around with display stuff like in the "Install Ubuntu on Win10.txt".

I am on windows 11 but the Microsoft documentation says windows 10 after a certain update should be the same. I'm just getting started but so far everything seems to be working as expected. Maybe WSL2 should be the recommended route for Windows users?

ericstoneking commented 1 year ago

Thanks for the good news. I am migrating to recommending WSL over msys. This will make that easier.

clxyder commented 1 year ago

Just a heads up, this is with respect to remote development, sshing into a machine with the wsl --update feature will not work.

https://github.com/microsoft/WSL/issues/9231