Closed LittleZi closed 3 years ago
the issue is provided by the error message:
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE):
The CMAKE_C_COMPILER:
cl
is not a full path and was not found in the PATH.
To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).
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.
... This is telling you that you either don't have a compiler, or the build system cannot find it. Try the steps suggested by the error message, which are to first make sure you have a compiler (Visual Studio is great). StackOverflow has many threads on this particular kind of error, as CMake is a common tool with lots of community support.
looks like this particular one was fixed, given #73
I was trying to install owa-epanet library using the code
pip install owa-epanet
. But it returned the error shown below:Appreicate a lot if any advices!