I've never run stuff directly in VSCode as I am not sure how it works. How does it know which libraries to link, etc? You might have more luck using CMake with VSCode. Even then I have issues with VSCode not being able to see the symbols to give intellisense etc. I would recommend another editor like Xcode or CLion.
↧