platformio-core-installer icon indicating copy to clipboard operation
platformio-core-installer copied to clipboard

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

Open xahon opened this issue 2 years ago • 2 comments

I regretted that I have installed this package

xahon avatar Jun 03 '23 09:06 xahon

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})

xahon avatar Jun 03 '23 10:06 xahon

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.

stale[bot] avatar Aug 12 '23 03:08 stale[bot]