Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. C++ Linux Development on Windows

C++ Linux Development on Windows

Scheduled Pinned Locked Moved The Lounge
linuxdebuggingc++asp-netvisual-studio
22 Posts 19 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Jon McKee

    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

    J Offline
    J Offline
    Joe Woodbury
    wrote on last edited by
    #21

    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.)

    1 Reply Last reply
    0
    • Greg UtasG Greg Utas

      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.

      K Offline
      K Offline
      KateAshman
      wrote on last edited by
      #22

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups