I'm brand new to CEDET and trying to get going with it, but am running
into a few problems, although I've read the cmake info page and the "Gentle
Introduction to CEDET" page.
My test environment is a 32-bit Fedora Core 10 system, gcc-4.3.2, very recent
emacs-23 from CVS, with cedet-1.0pre6.
What I've done is the following:
1) Configure CEDET based on information in the info pages:
;; NOTE: in my ~/.emacs file
;; Load CEDET.
;; See cedet/common/cedet.info for configuration details.
;; Enable EDE (Project Management) features
;; Enable EDE for a pre-existing C++ project
:name "Test Boost Project"
:system-include-path '("/usr/include" "/usr/local/include/boost_1_38"))
;; Enabling Semantic (code-parsing, smart completion) features
;; Select one of the following:
;; * This enables the database and idle reparse engines
;; * This enables some tools useful for coding, such as summary mode
;; imenu support, and the semantic navigator
;; * This enables even more coding tools such as intellisense mode
;; decoration mode, and stickyfunc mode (plus regular code helpers)
;; * This enables the use of Exuberent ctags if you have it installed.
;; If you use C++ templates or boost, you should NOT enable it.
;; Enable SRecode (Template management) minor-mode.
;; (global-srecode-minor-mode 1)
2) Create a test C++ project using the standard library (headers in
/usr/lib/c++/4.3.2) and boost (headers in /usr/local/lib/boost) to
ensure things are working.
// NOTE: main.cpp file in ~/development/playground/cedet/TestBoostProject
boost::shared_ptr<std::string> ps(new std::string("world"));
std::cout << s << ", " << *ps << "!\n";
3) At this point I believe I'm set, but When I load my main.cpp file I
notice the following:
a) the #include <boost/shared_ptr.hpp> line is highlighted in red, which
I assume is indicating that the path is unknown to the project.
b) I cannot complete any symbols coming from the standard library. If I
start to type 'std::st' and invoke 'semantic-ia-complete-symbol' I don't
see any completions, nor any errors. As may be expected, completing
boost::shared_ptr doesn't work either.
I'm sure the problem is user error, but don't know how to get any
additional information out of CEDET at this point. Any and all thoughts
are greatly appreciated.
Many thanks in advance,
Senior Server Programmer, BioWare