Sarcasm / irony-mode

A C/C++ minor mode for Emacs powered by libclang
GNU General Public License v3.0
901 stars 98 forks source link

Unable to build server #491

Closed jhert0 closed 5 years ago

jhert0 commented 5 years ago

After the latest update I am unable to build the irony server, I run irony-install-server and get the following output:

cmake -DCMAKE_INSTALL_PREFIX\=/home/endoffile/.emacs.d/irony/  /home/endoffile/.emacs.d/elpa/irony-20180703.1040/server && cmake --build . --use-stderr --config Release --target install
CMake Error: The source "/home/endoffile/.emacs.d/elpa/irony-20180703.1040/server/CMakeLists.txt" does not match the source "/home/endoffile/.emacs.d/elpa/irony-20180519.422/server/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.

List package says the version is: 20180703.1040. But for some reason it looks for a folder named: irony-20180519.422 which does not exist. I have restarted Emacs and tried deleting irony and reinstalling it but this problem still persists.

EDIT: I just tried to install it again and it worked this time, I don't know what was causing the issue but it seems fixed now.