platformio / platformio-core-installer

PlatformIO Core Installer
https://docs.platformio.org/en/latest/core/installation/index.html
Apache License 2.0
86 stars 54 forks source link

This package removed all system PATH environment vars on windows 10 and rendered it completely useless #2970

Open xahon opened 1 year ago

xahon commented 1 year ago

I regretted that I have installed this package

xahon commented 1 year ago

I also started experiencing problems with cmake configuration, it can't check if my compiler works with

cmake --debug-trycompile output

cmake_minimum_required(VERSION 3.21.4.0)  # <- look at this weird version
cmake_policy(SET CMP0091 NEW)
project(CMAKE_TRY_COMPILE C)
set(CMAKE_VERBOSE_MAKEFILE 1)
set(CMAKE_C_FLAGS "/DWIN32 /D_WINDOWS")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMPILE_DEFINITIONS}")
set(CMAKE_C_FLAGS_DEBUG "/Zi /Ob0 /Od /RTC1")
set(CMAKE_EXE_LINKER_FLAGS "/machine:x64")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${EXE_LINKER_FLAGS}")
include_directories(${INCLUDE_DIRECTORIES})
set(CMAKE_SUPPRESS_REGENERATION 1)
link_directories(${LINK_DIRECTORIES})
cmake_policy(SET CMP0065 NEW)
cmake_policy(SET CMP0083 NEW)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "<my temp directory>")
add_executable(cmTC_95c52 "<my test file.c>")
target_link_libraries(cmTC_95c52 ${LINK_LIBRARIES})
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.