diffworld
V2EX  ›  问与答

vim 使用语法检查插件总是提示找不到头文件,怎么解决

  •  
  •   diffworld · Feb 13, 2017 · 2779 views
    This topic created in 3379 days ago, the information mentioned may be changed or developed.

    在 linux 系统下, vim 使用 syntastic ,或者是 ale 做语法检查时,总是会报错,比如 'iostream' file not found ,但是我使用 gcc/g++ 可以编译程序并执行, c++的库文件在 /usr/include/c++ 中,请问我应该怎么设置才能让 vim 读取到这些库文件

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1043 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 23:31 · PVG 07:31 · LAX 16:31 · JFK 19:31
    ♥ Do have faith in what you're doing.