tried to give input from a file instead of console// did not worked, but I left it here for documentation purposes"miDebuggerArgs": "-ex 'start < arguments.Error (active) identifier "wxZipStreamLink" is undefined Kuvastin c:\Cpp\wxWidgets\include\wx\zipstrm.hĔ07Įrror LNK2001 unresolved external symbols See // for the documentation about the tasks.json format "version": "2.0.0", If the default shell int VSC terminal is bash, the following tasks.json should work. The C++ extension by Microsoft is installed in VSC.Via vsc menu: File -> Preferences -> Settings -> search for.You can see it by checking "Turn Windows features on or off" in the Control Panel. You should check that your Windows version is compatible with it. Step 1 - install WSL (just query the net…). Minimal knowledge about Linux would be nice.You should be connected to the Internet, preferably with a good speed :-).The default executables compiled with gcc or g++ under Linux are Linux native ELF - not Windows exe filesīecause my objective was mainly writing many independent programs that work using console input/output - not big projects, nor graphical ones, wsl seemed a logical approach. Please note that we are still discussing about (re)learning programming, C++ in this case.Īlso note that, when using wsl and Linux tools (such as gcc, g++) the default executables are Linux-native - so they will run on Linux, not on Windows. (Another alternative was to use the native Microsoft tools - but these seems to be too big and/or complicated - although the debugging is the best.) I tried MinGW / MSYS / Cygwin, and I thought that, since Microsoft was offering Linux natively in the latest editions of Windows 10, to use WLS (Windows Subsystem for Linux). VSC seemed to satisfy my requirements, but implied the installation of a C++ compiler & other tools needed to compile and run the programs. I was looking for some simple IDE and I was not very pleased with CodeBlocks or NetBeans. Some time ago I began to explore Visual Studio Code with the intent to re-learn C++. See a slightly updated version of the series in GitHub (
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |