Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

i download latest versino from here with git in cmd but can not found cmake !!!! #8

Open
karadevnet opened this issue Mar 10, 2022 · 1 comment

Comments

@karadevnet
Copy link

karadevnet commented Mar 10, 2022

hi, i download latest version from here with git command in cmd, following MD file for help, but can not found cmake nor in cmd nor in vs code. when you make all to be simple to use for begginers. always some 5000 things need to do to get some small result for one example. patches, matches, scratches all is like to make you quit for ever from electronics and programmming :(

vs code say >>> not found cmake, cmd say same, try to make at least one example, nothing happend. all cmake list files always are missing something command inside.
can you make a more helpfull article and step by step to do list for beginers ???!?!?!?! can you do that at last.
here link in you tube some idiot click 5000 options in second for that fast, no one can see what is going on in this video in all chines text and letters :(
in 21 century big company like you can make a simple 50 mb software example to work at first compile !!!!!
E:\RP2040-HAT-C\examples>cd dhcp_dns

E:\RP2040-HAT-C\examples\dhcp_dns>cmake build
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
No CMAKE_C_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error in CMakeLists.txt:
No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "E:/RP2040-HAT-C/examples/dhcp_dns/build/CMakeFiles/CMakeOutput.log".
See also "E:/RP2040-HAT-C/examples/dhcp_dns/build/CMakeFiles/CMakeError.log".

E:\RP2040-HAT-C\examples\dhcp_dns>cmake --version
cmake version 3.23.0-rc2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

E:\RP2040-HAT-C\examples\dhcp_dns>C:\Program Files\CMake\bin
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

E:\RP2040-HAT-C\examples\dhcp_dns>

here is a what cmd say

@simryang
Copy link

simryang commented Mar 9, 2023

E:\RP2040-HAT-C\examples\dhcp_dns>C:\Program Files\CMake\bin
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Why did you typed bin path?
And anyway if you need that path, it includes ' ' space in it. Enclose in double quotes like this "C:\Program Files\CMake\bin"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants