Closed RAJzxS closed 1 year ago
after deleting the build i got >>>>>>>>>>>>>>>
[variant] Loaded new set of variants [kit] Successfully loaded 2 kits from C:\Users\nbpatil\AppData\Local\CMakeTools\cmake-tools-kits.json [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --version [proc] Executing command: "C:\VSARM\armcc\10 2021.10\bin\arm-none-eabi-gcc.exe" -v [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -SF:/SGB_Pico -Bf:/SGB_Pico/build -G "MinGW Makefiles" [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" -SF:/SGB_Pico -Bf:/SGB_Pico/build -G "MinGW Makefiles" exited with code: 1 [main] Configuring project: SGB_Pico [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug "-DCMAKE_C_COMPILER:FILEPATH=C:\VSARM\armcc\10 2021.10\bin\arm-none-eabi-gcc.exe" "-DCMAKE_CXX_COMPILER:FILEPATH=C:\VSARM\armcc\10 2021.10\bin\arm-none-eabi-g++.exe" -SF:/SGB_Pico -Bf:/SGB_Pico/build -G "MinGW Makefiles" [cmake] Not searching for unused variables given on the command line. [cmake] PICO_SDK_PATH is C:/VSARM/sdk/pico/pico-sdk [cmake] PICO platform is rp2040. [cmake] CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. [cmake] CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. [cmake] -- Configuring incomplete, errors occurred! [cmake] CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug "-DCMAKE_C_COMPILER:FILEPATH=C:\VSARM\armcc\10 2021.10\bin\arm-none-eabi-gcc.exe" "-DCMAKE_CXX_COMPILER:FILEPATH=C:\VSARM\armcc\10 2021.10\bin\arm-none-eabi-g++.exe" -SF:/SGB_Pico -Bf:/SGB_Pico/build -G "MinGW Makefiles" exited with code: 1
my every working code is having same issue what should i do?
[build] [ 8%] Linking CXX executable slbio.elf [build] mingw32-make.exe[2]: [CMakeFiles\slbio.dir\build.make:2684: slbio.elf] Error -1073741515 [build] mingw32-make.exe[2]: Deleting file 'slbio.elf' [build] mingw32-make.exe[1]: [CMakeFiles\Makefile2:1400: CMakeFiles/slbio.dir/all] Error 2 [build] mingw32-make.exe: [Makefile:90: all] Error 2 [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --build f:/SGB_Pico/build --config Debug --target all -j 6 -- exited with code: 2 [driver] Build completed: 00:00:02.865 [build] Build finished with exit code 2 [main] ======================================================= [main] No executable target was found to launch. Please check: [main] - Have you called add_executable() in your CMake project? [main] - Have you executed a successful CMake configure? [main] No program will be executed