

Let's take a simple Hello World program: #include Ĭout << "hello Michael.

I wanted to play with and test Visual Studio Code's ( VSCode) features for doing C++ development on the Mac platform.Īt work and in the past 20+ years I've mainly been using Windows, so this is somewhat different and new interesting territory for me. Using Visual Studio Code and Building and Debugging with C++ on Mac OS X Saturday, August 6th, 2016 Log reports Error: Not a supported test executable: a library/DLL might be missing.News Archive 2016 > Using Visual Studio Code and Building and Debugging C++ on Mac OS X | Still not listed? Set in settings.json and check log.Įxecutable name might not fit (check glob pattern in ). It pays to Run CTest to build all test targets.Īfter this, you should see all tests in the testing pane on the left. Testmate discovers tests only after they are built. This information is retrieved from the current debug configuration. Potential sources for missing DLLs are C:\msys64\mingw64\bin, C:\msys64\mingw64\x86_64-w64-mingw32\lib, and the build folder itself.įor test discovery, C++ Testmate needs to know the location of all additional dependencies.

When executing the program via command line or explorer a message box should prompt which DLLs are missing.Ī simple solution is to copy the according DLLs into the folder of the executable.Īnother solution is to make the path available by extending the PATH environment variable. The most effective way to debug startup issues is by means of the Process Monitor.īut normally, its a missing DLL.
