Open gizmo1904 opened 6 years ago
Your .emacs.d may not be in your load-path? What does C-h v load-path show?
On Feb 22, 2018, at 9:12 AM, gizmo1904 notifications@github.com wrote:
I am using emacs 24.5.1 ob Ubuntu 16.04. I've build emacs-clang-complete-async and put the auto-complete-clang-async.el and the clang-complete executable into my emacs directory at ~/.emacs.d/. Furthermore, I copied the code below at the end of my init.el file.
(require 'auto-complete-clang-async)
(defun ac-cc-mode-setup () (setq ac-clang-complete-executable "~/.emacs.d/clang-complete") (setq ac-sources '(ac-source-clang-async)) (ac-clang-launch-completion-process) )
(defun my-ac-config () (add-hook 'c-mode-common-hook 'ac-cc-mode-setup) (add-hook 'auto-complete-mode-hook 'ac-common-setup) (global-auto-complete-mode t))
(my-ac-config) Sadly, I am getting an error message when starting emacs:
Warning (initialization): An error occurred while loading `/home/user/.emacs.d/init.el':
File error: Cannot open load file, no such file or directory, auto-complete-clang-async
To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. Any help is greatly appreciated.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I am using emacs 24.5.1 ob Ubuntu 16.04. I've build emacs-clang-complete-async and put the auto-complete-clang-async.el and the clang-complete executable into my emacs directory at ~/.emacs.d/. Furthermore, I copied the code below at the end of my init.el file.
Sadly, I am getting an error message when starting emacs:
Any help is greatly appreciated.