Trying to install Platformio into VSCode, but it can't find Python, even though it is onboard!

I don’t want to learn Linux. I resent it.

It’s only for experienced coders. Inaccessible.

What command, exactly please, did you type in?

You know the brown stuff bulls leave behind? Well that.

Linux is just like Windows. My wife dumped Win 10 because she wanted to send a quick email and started up her laptop. Window wouldnt let her in until it had downloaded and applied patches.

24 hours later, still applying. Linux Mint 18 was installed, powered up and she’s had zero problems with it. Plus, patching takes next to no time and doesn’t need a reboot just because the pdf viewer has been upgraded!

My wife is not an experienced coder – unless you mean COBOL.

Cheers,
Norm.

1 Like

I used this.

Wow- COBOL.

The brown stuff to which you refer is not to be used as fertilizer, but wow is horse brown good.

I’m very willing to consider that most of the problems I’ve had are specific to Windows, but observation indicates it’s been mostly not knowing specific things.

When Arduino stopped working, that was Windows. When an update destroys something, it’s not Windows. Windows knows how to update.
I’m blaming the only thing that changed, which is the update. It’s the only independent variable.
I have another PC upstairs, but this one has 2TB, 15.9 usable GB of RAM, 64 bits. That’s for something else, not memory or performance intensive.

The opacity of Windows doesn’t really matter, because I wouldn’t know what I’d be seeing. My friends like to toggle out to the source code and change things while they’re working, but I’ve never spent an hour in lecture. Just lab, just here. But spread across 50 years of scavenging. I was the regular substitute teacher for the local community college programming teacher. And BASIC! HTML whiz though.

But I’ve been using Windows and Mac for forty years- I had a Tandy and a Commodore Vic24. It all kinda made sense.

Nothing in Linux has been intuitive (I’ve ONLY installed Arduino unsuccessfully). That’s their very real advantage in the marketplace of lifestyles. I’m approaching this with a lot of wisdom, and it’s all irrelevant.

I haven’t had any joy of using an application. Just Firefox, to download Arduino, which should have installed itself.
I’m still wrestling with turning the machine on.
Won’t connect? It’s serial, USB. Why have that? Is that a feature, or is the chore of setting it up the feature?

So when I emerge from the rabbit hole of installing VSCode and PIO… Ugh.
I’m going to look for a David Bowie song about doing something awful because you’re addicted to something.

Scanning for kits doesn’t get me far:

“Bad CMake executable “”. Is it installed or settings contain the correct path (cmake.cmakePath)?”

Indications are that I don’t have compilers, or that they aren’t organized correctly. I know there can only be a handful of thousands of users, but am I the only one having problems caused by this update?
Cuz I am. This problem is this update.

I was hoping that you would have realised that you should replace <username> with joe, not in angle brackets, or whatever your username was. Mine was:

sudo usermod -a -G dialout norman

Maybe I should have quoted the instructions better?

Now we just need to add our user to the group:

sudo usermod -a -G dialout <username>

where <username> is your Linux user name. You will need to log out and log in again for this change to take effect.

There are still more COBOL tranactions in a day than Google searches – according to New Scientist.

In the UK, we mainly use it for “dung” where it is rotted down with bedding straw to for an organic fertiliser. We don’t have enough horses!

Windows has fscked up more updates than I care to remember actually. There are numerous posts on microsoft.com with details. I’ve been updating Windows since version 3.0 first arrived at my work, and Linux for over 20 years. So far Linux had borked an update only once. (My jobs in IT have always been in some form of support. Or development.)

I started in 1982 with a Sinclair ZX-81 with a single solitary kilobyte of RAM. That’s minimalist!

Brown stuff again! Using Linux is as intuitive as using Windows. My one bugbear with Linux is the weird names some developers give to their applications. Bbb for a DVD/CD burner? (Burn baby burn!) But other than that, double-click icons to execute applications – same as windows. You managed to run Firefox after all? Arduino is the same on Window and Linux, no?

Cheers,
Norm.

Something you did in your reorganise seems to have borked your cmake installation. Or, changed where bits of it live.

You need to find out where cmake.exe lives and make sure that the settings reflect that. On Linux that would be a simple locate cmake.exe – on Windows, i think you need the indexer thingy. (Which I always disable!)

Cheers,
Norm.

I think the only sensible thing is to reinstall again, hope physics works differently this time.

The reorganization was only moving folders inside the Projects folder. I didn’t do anything outside that folder. I deleted unused folders/projects.

I searched C for cmake.exe and found this CMake cache:

This is the CMakeCache file.

For build in directory: c:/Users/joema/Documents/PlatformIO/Projects/ESP_HTTP_Server2_WeMos/.pio/build/wemos_d1_mini32/bootloader

It was generated by CMake: C:/Users/joema/.platformio/packages/tool-cmake/bin/cmake.exe

You can edit this file to change values found and used by cmake.

If you do not want to change any of the values, simply exit the editor.

If you do want to change a value, simply edit, save, and exit the editor.

The syntax for the file is as follows:

KEY:TYPE=VALUE

KEY is the name of a variable in the cache.

TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.

VALUE is the current value for the KEY.

########################

EXTERNAL cache entries

########################

//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-addr2line.exe

//Path to a program.
CMAKE_AR:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-ar.exe

//A wrapper around ‘ar’ adding the appropriate ‘–plugin’ option
// for the GCC compiler
CMAKE_ASM_COMPILER_AR:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc-ar.exe

//A wrapper around ‘ranlib’ adding the appropriate ‘–plugin’ option
// for the GCC compiler
CMAKE_ASM_COMPILER_RANLIB:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc-ranlib.exe

//Flags used by the ASM compiler during all build types.
CMAKE_ASM_FLAGS:STRING=

//Flags used by the ASM compiler during DEBUG builds.
CMAKE_ASM_FLAGS_DEBUG:STRING=-g

//Flags used by the ASM compiler during MINSIZEREL builds.
CMAKE_ASM_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the ASM compiler during RELEASE builds.
CMAKE_ASM_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the ASM compiler during RELWITHDEBINFO builds.
CMAKE_ASM_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel …
CMAKE_BUILD_TYPE:STRING=

//A wrapper around ‘ar’ adding the appropriate ‘–plugin’ option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc-ar.exe

//A wrapper around ‘ranlib’ adding the appropriate ‘–plugin’ option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc-ranlib.exe

//C++ Compiler Base Flags
CMAKE_CXX_FLAGS:STRING=-mlongcalls -Wno-frame-address

//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//A wrapper around ‘ar’ adding the appropriate ‘–plugin’ option
// for the GCC compiler
CMAKE_C_COMPILER_AR:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc-ar.exe

//A wrapper around ‘ranlib’ adding the appropriate ‘–plugin’ option
// for the GCC compiler
CMAKE_C_COMPILER_RANLIB:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc-ranlib.exe

//C Compiler Base Flags
CMAKE_C_FLAGS:STRING=-mlongcalls -Wno-frame-address

//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/bootloader

//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-ld.exe

//Program used to build from build.ninja files.
CMAKE_MAKE_PROGRAM:FILEPATH=C:/Users/joema/.platformio/packages/tool-ninja/ninja.exe

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-nm.exe

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-objcopy.exe

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-objdump.exe

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=bootloader

//Path to a program.
CMAKE_RANLIB:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-ranlib.exe

//Path to a program.
CMAKE_READELF:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-readelf.exe

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=C:/Users/joema/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-strip.exe

//The CMake toolchain file
CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Users/joema/.platformio/packages/framework-espidf/tools/cmake/toolchain-esp32.cmake

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//No help, variable specified on the command line.
EXTRA_COMPONENT_DIRS:UNINITIALIZED=C:\Users\joema.platformio\packages\framework-espidf\components\bootloader

//Git command line client
GIT_EXECUTABLE:FILEPATH=C:/Program Files/Git/cmd/git.exe

//No help, variable specified on the command line.
IDF_PATH:UNINITIALIZED=C:\Users\joema.platformio\packages\framework-espidf

//IDF Build Target
IDF_TARGET:STRING=esp32

//No help, variable specified on the command line.
LEGACY_INCLUDE_COMMON_HEADERS:UNINITIALIZED=

//No help, variable specified on the command line.
PYTHON:UNINITIALIZED=C:\Users\joema.platformio\penv\Scripts\python.exe

//No help, variable specified on the command line.
PYTHON_DEPS_CHECKED:UNINITIALIZED=1

//No help, variable specified on the command line.
SDKCONFIG:UNINITIALIZED=c:\Users\joema\Documents\PlatformIO\Projects\ESP_HTTP_Server2_WeMos\sdkconfig

//Dependencies for the target
__idf_bootloader_support_LIB_DEPENDS:STATIC=general;__idf_log;

//Dependencies for the target
__idf_efuse_LIB_DEPENDS:STATIC=general;__idf_log;

//Dependencies for the target
__idf_main_LIB_DEPENDS:STATIC=general;__idf_log;

//Dependencies for the target
__idf_micro-ecc_LIB_DEPENDS:STATIC=general;__idf_log;

//Dependencies for the target
__idf_soc_LIB_DEPENDS:STATIC=general;__idf_log;general;__idf_esp_rom;general;__idf_esp_common;general;__idf_xtensa;

//Dependencies for the target
__idf_spi_flash_LIB_DEPENDS:STATIC=general;__idf_log;

//Value Computed by CMake
bootloader_BINARY_DIR:STATIC=C:/Users/joema/Documents/PlatformIO/Projects/ESP_HTTP_Server2_WeMos/.pio/build/wemos_d1_mini32/bootloader

//Value Computed by CMake
bootloader_SOURCE_DIR:STATIC=C:/Users/joema/.platformio/packages/framework-espidf/components/bootloader/subproject

//Value Computed by CMake
esp-idf_BINARY_DIR:STATIC=C:/Users/joema/Documents/PlatformIO/Projects/ESP_HTTP_Server2_WeMos/.pio/build/wemos_d1_mini32/bootloader/esp-idf

//Value Computed by CMake
esp-idf_SOURCE_DIR:STATIC=C:/Users/joema/.platformio/packages/framework-espidf

########################

INTERNAL cache entries

########################

//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_COMPILER_AR
CMAKE_ASM_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_COMPILER_RANLIB
CMAKE_ASM_COMPILER_RANLIB-ADVANCED:INTERNAL=1
CMAKE_ASM_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_FLAGS
CMAKE_ASM_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_FLAGS_DEBUG
CMAKE_ASM_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_FLAGS_MINSIZEREL
CMAKE_ASM_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_FLAGS_RELEASE
CMAKE_ASM_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ASM_FLAGS_RELWITHDEBINFO
CMAKE_ASM_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=c:/Users/joema/Documents/PlatformIO/Projects/ESP_HTTP_Server2_WeMos/.pio/build/wemos_d1_mini32/bootloader
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=16
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=4
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/Users/joema/.platformio/packages/tool-cmake/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/joema/.platformio/packages/tool-cmake/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/joema/.platformio/packages/tool-cmake/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=C:/Users/joema/.platformio/packages/framework-espidf/components/bootloader/subproject
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=16
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Users/joema/.platformio/packages/tool-cmake/share/cmake-3.16
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding Git
FIND_PACKAGE_MESSAGE_DETAILS_Git:INTERNAL=[C:/Program Files/Git/cmd/git.exe][v2.21.0.windows.1()]
//ADVANCED property for variable: GIT_EXECUTABLE
GIT_EXECUTABLE-ADVANCED:INTERNAL=1

Does that file exist? That’s listed as the executable which created the cmake cache.

Cheers,
Norm.

CMake is not in my list of programs, and there is no ‘cmake.exe’ on my PC.

I reinstalled VSCode and PIO, and it still has “No active kit” in the status bar with the toolbar button.
VSCode told me to scan for compilers and found none.

PIO loaded, or VSCode loaded without compilers?

And the alien head is missing from the button bar on left.

  • Does PlatformIO show up in the list of installed extensions now?
  • Did you delete the other C++ stuff like I asked - in case it’s interfereing? You only need the Microsoft C/C++ 1.1.0 extension for PlatformIO.
  • Have you tried to compile a simpel sketch? Start with an Arduino Uno one - just the default blink will be fine – does it work.

I think the the ESP stiff needs/uses/installs the cmake tools – but don’t quote me on that as I still haven’t unboxed my WEMOS D1 Minis yet.

Cheers,
Norm.

The D1 Mini is a +/- thing. It’s fast, flashes reliably, tiny.
But it’s tiny. Only one analog pin. It’s ESP, so you can reassign GPIOs, but there are only 16, including 5V, 3V, Gnd.
It doesn’t fit well into a breadboard. I pulled the rail off one and leave the pins hanging to get another I2C slot without daisy chaining.

But I keep buying them.
I ordered a 6-pack of 8266 to make ISS trackers for Christmas gifts.

I can’t build:
“Build failed: Unable to configure the project”

CMake is in the extensions.

I uninstalled C/C++ Themes.

Intellisense?

and:
“Cannot uninstall ‘C/C++ Extension Pack’ extension . It includes uninstalling ‘C/C++’ extension and ‘PlatformIO IDE’ extension depends on this.”

So, in summary:

  • You decided to reorganise your projects folder;
  • After you did so, things stopped working. The problem being “0 kits available” whihc is comiing from cmake.exe for the ESP boards you use;
  • When you scan for kits, you get "Bad CMake executable. Is it installed or settings contain the correct path (cmake.cmakePath)?”;
  • You don’t appear to have cmake installed for PlatformIO;
  • You cannot run a build to get it to download the tools required;
  • You wiped out VSCode and PlatformIO IDE, and reinstalled;
  • Same problem, “0 kits installed” but with added problem of “no PlatformIO alien/bug head on the left toolbar”.
  • All extraneous C/C++ extensions are no longer installed, other t han Microsoft C/C++ extension 1.1.0.

I wonder if @maxgerhardt or @manuelbl have any ideas because, quite seriously, this has gone beyond me. :frowning_face: Gents, can you help here please?

Cheers,
Norm.

The alien head came back, with new icons in the left bar.

CMake and a second CMake are listed in the PlatformIO extensions.

My shuffling of folders within /Projects happened the same day as the update. I’d opened VSCode by opening a file in one of the folders to see if I wanted to keep it, and I saw release notes I chose to ignore because I was organizing my project folders.

The Win10 PC was restarted.

Wednesday update: I started this morning by uninstalling all the extensions in VSCode.

I uninstalled and reinstalled PIO three times, and now the button bar is back. I can compile.
Thank you for helping me feel less alone.

I spoke too soon.
This can’t be right. When I hit the Build button, PIO asks me what the heck I want to do. Like it doesn’t have a compiler attached again. This is a new file. I want to turn on a Neopixel RGB LED.

I had the same problem. No matter how many times in uninstalled and reinstalled the platformio extension, Platformio could not connect to the platformio home server. What I found out by accident was when I reinstalled platformio extension from within VSCode was it did not install the python folder. So what I ended up doing was uninstalling the extension and then installing platformio from the command shell in Windows like this, pip install platformio. Then when I reinstalled the platformio extension in VSCode, it was able to find the platformio home server.

Hi,

I had the same problem, then I tried to install an earlier version of PlatformIO (v2.3.3) and i got a different error notification (don’t remember what exactly)… But it suggested that I installed the following (i am using ubuntu):

“sudo apt install -y python3-venv”

Did that and then restarted VScode then PlatformIO (v2.3.3) installed successfully. After the successful installation and checking it all worked i upgrade PlatformIO to the latest version and it worked (for me at least).

Hope this helps!