I want to add the path to the headers of the openMPI library. So, after I discovered that 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 normal, but it does not work!
This is the result of the semantic-c-describe-envirnoment command:
This file system includes the path:
/ USR / enable
/ USR / local / enable /
/ usr / lib / gcc / i 486-linux-gnu / 4.4.3 / include /
/ usr / lib / gcc / i 486-linux-gnu /4.4.3/include-fixed/
/ usr / include /
I can not understand what happened or what I am missing
thank
source
share