I'm having some trouble trying to activate irony-mode.
So i followed the steps:
- My version of gcc is 5.3.0 so I installed -> clang 3.7.1
- I installed CMake
- Then irony from MELPA
After that added this configuration to my init.el:
(add-hook 'c++-mode-hook 'irony-mode) (add-hook 'c-mode-hook 'irony-mode) (add-hook 'objc-mode-hook 'irony-mode) ;; replace the `completion-at-point' and `complete-symbol' bindings in ;; irony-mode's buffers by irony-mode's function (defun my-irony-mode-hook () (define-key irony-mode-map [remap completion-at-point] 'irony-completion-at-point-async) (define-key irony-mode-map [remap complete-symbol] 'irony-completion-at-point-async)) (add-hook 'irony-mode-hook 'my-irony-mode-hook) (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)
Then I was asked to install irony-server,so I did it.And....nothing!
What could be the problem?