Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake error after some kind of refresh update #124

Closed
RAJzxS opened this issue Mar 21, 2023 · 1 comment
Closed

cmake error after some kind of refresh update #124

RAJzxS opened this issue Mar 21, 2023 · 1 comment

Comments

@RAJzxS
Copy link

RAJzxS commented Mar 21, 2023

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

@RAJzxS
Copy link
Author

RAJzxS commented Mar 21, 2023

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

@RAJzxS RAJzxS closed this as completed Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant