2012-06-11 22 views
6

私はEclipseとArduinoライブラリを設定しようとしています。 このURLの指示に従っています。 http://arduino.cc/playground/Code/EclipseArduino Eclipseが解決できないシリアル

問題は、自分のプロジェクトでシリアルを解決できないことです。 これがなぜ起こったのか誰でも知ることができますか? 私はArduino 1.0を使用しており、命令は1.0より前のバージョン用に書かれています。

答えて

11
Setting the preference windows->preferences->C/C++->indexer->index unused headers. 

Setting the preference windows->preferences->C/C++->indexer->index source and header files opened in the editor. 

Setting the preference windows->preferences->C/C++->indexer->Files to index upfront . Add arduino.h and or WProgram.h. 

Do next four in this sequence 
Right click the project->index->Search for unresolved includes. 
Right click the project->index->Freshen all Files. 
Right click the project->index->Update with modified files. 
Right click the project->index->Rebuild. 
+1

「ファイルをチェックします – lode

2

プラグインのよくある質問hereの言うことを行うと、Windowsで動作し、少なくともいない場合は、正しいが、十分ではありません。あなたはタブでプロジェクト - >プロパティ - > C/C++一般 - >パスおよびシンボル

  • へのパスを追加する必要があります

    はフラグを選択し追加

  • をクリックして、「含まれます」
  • タイプこのパス「すべて の構成に追加」:私の場合はpath to Arduino IDE installation directory\hardware\tools\avr\avr\include

をパスですあなたは、インデックスを再構築したいし、すべての標準的な記号が正しく「ArduinoのEclipseの拡張機能」ヘルプ - でアップグレードが>アップデート

0

を解決する場合は、この日食はあなたを聞いてきます後210

最新版のEclipseでは利用できません。

関連する問題