tags:

views:

151

answers:

1

Hello everyone,
I'd like to add path to the openMPI library headers. So, after i found all openMPI headers are in /usr/lib/openmpi/include/* i added these two lines to my .emacs:

(semantic-add-system-include "/usr/lib/openmpi/include" 'c-mode)
(semantic-add-system-include "/usr/lib/openmpi/include" 'c++-mode)

I think this is ok, but it's not working!
This is the result of semantic-c-describe-envirnoment command:

This file's system include path is:
/usr/include
/usr/local/include/
/usr/lib/gcc/i486-linux-gnu/4.4.3/include/
/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/
/usr/include/

Can't figure out what's wrong or what i'm missing

Thanks

A: 

I've given this example a try, and find that it "works for me". Your best bet is to join the cedet-devel mailing list where it will be easier to help your through the process of debugging the issue in your Emacs.

https://lists.sourceforge.net/lists/listinfo/cedet-devel

Eric