Using Visual C++ (VS2019) in Linux subsystem

  • Thread starter Thread starter spkay31
  • Start date Start date
S

spkay31

Guest
I have some code which builds and runs fine with VC++ using Vis Studio 2019 and building from Makefiles. Unfortunately the testing system is built around Unix shell scripts and unix test binaries. So in the past I have used Cygwin in a command prompt. I first setup the dev environment using the VS2019 C++ vcvars bat scripts and then run the cygwin to start the bash shell. That works fine but I assumed I could do the same with WSL but I can't seem to figure out how to inherit the environment. Also I am new to WSL so not sure if it is actually a *mixed* environment like Cygwin where I can run both windows binaries as well as Linux binaries and scripts?

TIA,

-Scott Kay

Continue reading...
 
Back
Top