私はEclipseとArduinoライブラリをセットアップしようとしています。この URL にある指示に従いました。 http://arduino.cc/playground/Code/Eclipse
私が抱えている問題は、プロジェクトがシリアルを解決できないことです。なぜこれが考えられるのか誰にも分かりますか?私は Arduino 1.0 を使用していますが、説明は 1.0 より前のバージョン用に書かれています。
私はEclipseとArduinoライブラリをセットアップしようとしています。この URL にある指示に従いました。 http://arduino.cc/playground/Code/Eclipse
私が抱えている問題は、プロジェクトがシリアルを解決できないことです。なぜこれが考えられるのか誰にも分かりますか?私は Arduino 1.0 を使用していますが、説明は 1.0 より前のバージョン用に書かれています。
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.
ここのプラグイン FAQ に書かれていることを実行することは正しいですが、十分ではありません。少なくとも Windows で作業している場合はそうではありません。
Project->Properties->C/C++ General->Path and symbolsへのパスを追加する必要があります。
path to Arduino
IDE installation directory\hardware\tools\avr\avr\include
私の場合、パスはC:\Program Files (x86)\Arduino\hardware\tools\avr\avr\include
このEclipseの後、インデックスを再構築するかどうかを尋ねられ、すべての標準シンボルが正しく解決されます