CMake Error: The current CMakeCache.txt directory #### is different than the directory #### CMake has a cache which will have wrong paths after you move or rename a project. To clear it in Visual Studio Code: Settings icon > Command Pallet > Enter “CMake:Delete Cache and Reconfigure”
Category: Visual Studio Code
Moving or renaming a project
CMake has a cache which will have wrong paths after you move or rename a project. To clear it in Visual Studio Code: Settings icon > Command Pallet > Enter “CMake:Delete Cache and Reconfigure”
Creating a Visual Studio Code project
Create a new project As you follow these steps for the first time after install, Visual Studio may prompt you to do various setup things – when it does just click the default option it is asking you. Click top left “Explorer” button > Open Folder Create a folder somewhere you want to store your […]
.Setting up Visual Studio Code
Unfortunately the setup for programming it in C using a Windows PC is pretty horrible. Assuming this hasn’t been solved by the time you read this, there’s a horrible set of steps you’re expected to jump through. If you want to program in Windows that’s just the way it is. There’s lots of guides online […]