C++ Linux Development on Windows
-
I've never done anything crazy in it but I use VirtualBox with Debian for some linux stuff. Aside from some of the convenience options sometimes bugging out (like cut/paste between VM and host) it's been pretty solid. You HAVE to install the Guest Additions though - lots of QoL improvements. Ubuntu didn't run the best on it for me but that also might be my setup because I know it has for others. I'll have to check out VMWare Player though. Maybe I just don't know what I'm missing :-D
It's been five years, but I found VirtualBox better for running Linux and VMWare better for running Windows. (And I found both problematic with USB so never bothered.)
-
In this thread[^] from yesterday, Linux development on Windows was discussed. I want to do this eventually and would appreciate any pointers so I don't bang my head against the wall, let alone get it nailed to the floor. I currently build C++ console applications on Windows, and that's all I need on Linux for now. So... 1. Which Linux do you run? Debian? Ubuntu? RedHat? 1. How do you run it on your Windows machine? In a VM? If so, which one? Or using WSL? 1. How do you edit? VS2017? VS2019? VS Code? vi? :laugh: 1. How do you build? Within Linux? From within VS?[^] 1. Which compiler do you use? g++? clang? 1. How do you debug? Within Linux? If so, which debugger? Or remotely, from within VS? 1. How do you interface to GitHub? Within Linux? Using the VS plug-in? 1. What should be avoided? Thanks.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.1. Anything Debian-based can be considered a "typical" Linux 2. WSL when you don't need X11 or Wayland or specific device drivers, VM when you do 3. VS Code if you just want to get the job done, Visual Studio if you prefer IntelliSense 4. using the Clang support in VS Code or Clang support in Visual Studio 5. Clang 6. Waiting for debugger support in WSL, I just build for Windows and debug that instead. YYMV 7. VS plugin because it's easy to use, does everything, and prevents me from making typo's