* problem with semantic database
@ 2009-12-16 9:27 kiani45
0 siblings, 0 replies; only message in thread
From: kiani45 @ 2009-12-16 9:27 UTC (permalink / raw)
To: Help-gnu-emacs
hi, all
I am new to the emacs and use it for C++ programming
I have two problems with semantic
I've read this:
http://xtalk.msk.su/~ott/en/writings/emacs-devenv/EmacsCedet.html#fn.3
but still cannot solve them, can any one help me @@
1.
when I put my header files and source files in different directories
semantic cannot find the tag so the command
"semantic-complete-analyze-inline" doesn't work
it says "cannot find types for XX"
only when I explicitly add the path enables semantic to work
(semantic-add-system-include "~/MyProjects/C++/C++-3/HW2/header" 'c++-mode)
from
http://xtalk.msk.su/~ott/en/writings/emacs-devenv/EmacsCedet.html#fn.3
it says that I can add my cscope info into the semantic database by using
command
"semanticdb-create-cscope-database"
the problem is that I don't have this command @@
how can I connect cscope with semantic??
2.
the second problem is:
how can I grab the tag information from standard library?
(for example,
vector<int> v ;
v. ) <- "semantic-complete-analyze-inline" can show me some member and
functions of vector
http://xtalk.msk.su/~ott/en/writings/emacs-devenv/EmacsCedet.html#fn.3
from the above link, it says that you can do this by add one line in your
,emacs: (require 'semantic-gcc)
but I still have trouble message "cannot find types for v"
Can any one help me???
Thanks
--
View this message in context: http://old.nabble.com/problem-with-semantic-database-tp26808419p26808419.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-16 9:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-16 9:27 problem with semantic database kiani45
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.