[cedet-semantic] problems with ede and c++
Brought to you by:
zappo
From: scianagoryczy <sci...@wp...> - 2008-03-08 08:00:19
|
hi! I'm new to cedet, I read previous mails about c++ with cedet and I hardly try it to use, yesterday I installed CVS cedet version and I have problem with ede, I mean I created Project.ede in main project dir and when I enter source file or try . to see whats inside object or when I use M-x semantic-ia-complete-symbol I get: idle error: "#<buffer aaa.cpp> - Opening input file: no such file or directory, /home/tomek/Projects/test2/.deps/Project.ede" Why does it want to search Project.ede in .deps ?!?! Project dir is: test2 /aaa aaa.cpp /bbb bbb.cpp bbb.h Project.ede Makefile My .emacs file is easy: (setq semantic-load-turn-everything-on t) (load-file "~/cedet/common/cedet.el") (global-ede-mode 1) (ede-cpp-root-project "test2" :file "~/Projects/test2/Makefile" :include-path '("./aaa" "./bbb")) (defun my-c-mode-common-hook () (semantic-default-c-setup)) (add-hook 'c-mode-common-hook 'my-c-mode-common-hook) (semantic-load-enable-minimum-features) (semantic-load-enable-code-helpers) And my Project.ede is: (ede-proj-project "ede-proj-project" :name "test2" :file "Project.ede" :targets (list (ede-proj-target-makefile-program "test2" :name "test2" :path "" :source '("aaa/aaa.cpp" "bbb/bbb.cpp") :configuration-variables '(("")) ) ) :variables '(("CPPFLAGS" . "-I aaa -I bbb -I .")) :configuration-variables 'nil ) What is wrong ? What am I missing ? I will be really thankfull for help beacuse I've spent lots of time on this! :) One more thing: when ede-cpp-root-project is defined Project menu dosn't work properly! Tomek |