在SublimeClang中包含文件/标题

时间:2014-04-30 14:40:56

标签: sublimetext2 sublimetext sublimetext3

我在Ubuntu 14.04上运行并使用SublimeText 3.对于我的硕士论文,我将使用logging-API Pantheios,所以我想将它包含在SublimeClang中。 Everyhting工作正常,但Pantheios不会整合。以下是SublimeClang的用户设置:

{
"enabled": true,
"dont_prepend_clang_includes": true,
"show_output_panel": true,
"hide_output_when_empty": true,
"show_status": true,
"show_visual_error_marks": true,
"auto_complete": true,
"tab_completion": true,
"additional_language_options": 
{
  "c++" : ["-std=c++11"]
},
"options":
[
    "-I/usr/include/c++/4.6",
    "-I${folder:${project_path:rmf.sublime-project}}/source/**",
]
}

错误:

/media/tobias/Data/Dropbox/Masterarbeit/RateMeasurementFramework/source/measurementMethods/../pantheios/pantheiosHeader.h:5,10 - Fatal - 'pantheios/pantheios.hpp' file not found
Did you configure the include path used by clang properly?
See http://github.com/quarnster/SublimeClang for more details on how to configure SublimeClang.

pantheios.hpp的路径是

/media/tobias/Data/Dropbox/Masterarbeit/RateMeasurementFramework/source/pantheios/pantheios.hpp

最后的互动文件可能是pantheios标题本身:

/* FILE: pantheiosHeader.h */
#ifndef _pantheiosHeader_
#define _pantheiosHeader_

#include <pantheios/pantheios.hpp>
#include <pantheios/inserters/integer.hpp>
#include <pantheios/inserters/real.hpp>
#include <pantheios/backends/bec.file.h>
#include <pantheios/backends/bec.fprintf.h>

extern int pantheois_logLevel;  // Reference to "rmf.cpp" to control the loglevel

#endif /* PANTHEIOSFRONTEND_H_ */

0 个答案:

没有答案