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 #4

Open
w9ran opened this issue Jun 15, 2024 · 0 comments
Open

CMake error #4

w9ran opened this issue Jun 15, 2024 · 0 comments

Comments

@w9ran
Copy link

w9ran commented Jun 15, 2024

Jon, when building 18_transmitter using VSCode the following error occurs. I'll wait to hear your response before hacking up the cmake.txt file on my own, thanks.

Bob

[main] Building folder: 18_transmitter
[main] Configuring project: 18_transmitter
[proc] Executing command: "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SC:/Users/User/Downloads/101Things-master(1)/101Things-master/18_transmitter -Bc:/Users/User/Downloads/101Things-master(1)/101Things-master/18_transmitter/build -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Warning (dev) in CMakeLists.txt:
[cmake] No project() command is present. The top-level CMakeLists.txt file must
[cmake] contain a literal, direct call to the project() command. Add a line of
[cmake] code such as
[cmake]
[cmake] project(ProjectName)
[cmake]
[cmake] near the top of the file, but after cmake_minimum_required().
[cmake]
[cmake] CMake is pretending there is a "project(Project)" command on the first
[cmake] line.
[cmake] This warning is for project developers. Use -Wno-dev to suppress it.
[cmake]
[cmake] -- The C compiler identification is unknown
[cmake] -- The CXX compiler identification is unknown
[cmake] CMake Error in CMakeLists.txt:
[cmake] No CMAKE_C_COMPILER could be found.
[cmake]
[cmake] Tell CMake where to find the compiler by setting either the environment
[cmake] variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
[cmake] the compiler, or to the compiler name if it is in the PATH.
[cmake]
[cmake]
[cmake] CMake Error in CMakeLists.txt:
[cmake] No CMAKE_CXX_COMPILER could be found.
[cmake]
[cmake] Tell CMake where to find the compiler by setting either the environment
[cmake] variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
[cmake] to the compiler, or to the compiler name if it is in the PATH.
[cmake]
[cmake]
[cmake] CMake Warning (dev) in CMakeLists.txt:
[cmake] No cmake_minimum_required command is present. A line of code such as
[cmake]
[cmake] cmake_minimum_required(VERSION 3.25)
[cmake]
[cmake] should be added at the top of the file. The version specified may be lower
[cmake] if you wish to support older CMake versions for this project. For more
[cmake] information run "cmake --help-policy CMP0000".
[cmake] This warning is for project developers. Use -Wno-dev to suppress it.
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "C:/Users/User/Downloads/101Things-master(1)/101Things-master/18_transmitter/build/CMakeFiles/CMakeOutput.log".
[cmake] See also "C:/Users/User/Downloads/101Things-master(1)/101Things-master/18_transmitter/build/CMakeFiles/CMakeError.log".
[proc] The command: "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SC:/Users/User/Downloads/101Things-master(1)/101Things-master/18_transmitter -Bc:/Users/User/Downloads/101Things-master(1)/101Things-master/18_transmitter/build -G Ninja exited with code: 1

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