0

when I try to install irony server on windows 10 the following output pops up.

-*- mode: compilation; default-directory: "c:/Users/opimenov/AppData/Local/Temp/build-irony-server-1.3.1/" -*-
Compilation started at Fri Feb  8 16:32:40

cmake -DCMAKE_INSTALL_PREFIX\=c\:/Users/opimenov/AppData/Roaming/.emacs.d/irony/  c\:/Users/opimenov/AppData/Roaming/.emacs.d/elpa/irony-20190125.1234/server && cmake --build . --use-stderr --config Release --target install
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: D:/msys64/mingw64/bin/cc.exe
CMake Error: Generator: execution of make failed. Make command was: "nmake" "/NOLOGO" "cmTC_10c4e\fast"
-- Check for working C compiler: D:/msys64/mingw64/bin/cc.exe -- broken
CMake Error at D:/msys64/mingw64/share/cmake-3.11/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "D:/msys64/mingw64/bin/cc.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: C:/Users/opimenov/AppData/Local/Temp/build-irony-server-1.3.1/CMakeFiles/CMakeTmp

    Run Build Command:"nmake" "/NOLOGO" "cmTC_10c4e\fast"
    The system cannot find the file specified
    Generator: execution of make failed. Make command was: "nmake" "/NOLOGO" "cmTC_10c4e\fast"

I have installed cmake and clang and renamed clang.dll into libclang.dll

and Path contains the following

 D:\msys64\mingw64\bin

running

cmake -DCMAKE_INSTALL_PREFIX\=c\:/Users/opimenov/AppData/Roaming/.emacs.d/irony/  c\:/Users/opimenov/AppData/Roaming/.emacs.d/elpa/irony-20190125.1234/server && cmake --build . --use-stderr --config Release --target install

in minGW64 shell and windows cmd produces the same result.

It must be doing some setup wrong. Any Ideas? Any help on correct settings is greatly appreciated.

  • where is nmake installed? – nega Feb 10 at 17:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.