![](/img/trans.png)
[英]What causes the Eclipse CDT Unresolved inclusion: <iostream>
[英]Eclipse CDT not recognizing <iostream>
現在我知道這意味着我需要在某處添加我的包含路徑。 所以我去了屬性,C / C ++通用,路徑和符號,GNU C ++,然后我添加了/usr/include/c++/4.8(調試和發布),但intellisense仍然無法檢測到它並沒有項目沒有建立。
我的include路徑是否適用於Linux上的標准默認安裝,是否在正確的Eclipse設置中輸入?
這是在Linux Mint 16和Eclipse Kepler上。
請確保在您的linux中安裝了build-essential
sudo dpkg --get-selections | grep build-essential | wc -l
如果輸出為0,則安裝build-essential
sudo apt-get install build-essential
然后安裝gcc
sudo apt-get install gcc
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.