Hallo,
ich bekomme folgende Fehlermeldungen, wenn ich das SD Beispiel aus der Bibliothek versuche in Eclipse zu "hämmern".
Ich benutze das "baeyens" Pluging für Eclipse (http://www.baeyens.it/eclipse/UsethePlugin.html).
Description Resource Path Location Type
'curCluster_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 34 C/C++ Problem
'curCluster_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 38 C/C++ Problem
'curCluster_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 50 C/C++ Problem
'dirFile' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 129 C/C++ Problem
'F_FILE_DIR_DIRTY' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 39 C/C++ Problem
'FAT_FILE_TYPE_CLOSED' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 76 C/C++ Problem
'fileSize_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 55 C/C++ Problem
'firstCluster_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 37 C/C++ Problem
'firstCluster_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 93 C/C++ Problem
'firstCluster_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 95 C/C++ Problem
'flags_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 39 C/C++ Problem
'SdFile' has not been declared SdFile.cpp /Test_SD/SD/utility line 25 C/C++ Problem
'SdFile' has not been declared SdFile.cpp /Test_SD/SD/utility line 33 C/C++ Problem
'SdFile' has not been declared SdFile.cpp /Test_SD/SD/utility line 46 C/C++ Problem
'SdFile' has not been declared SdFile.cpp /Test_SD/SD/utility line 74 C/C++ Problem
'SdFile' has not been declared SdFile.cpp /Test_SD/SD/utility line 91 C/C++ Problem
'SdFile' has not been declared SdFile.cpp /Test_SD/SD/utility line 129 C/C++ Problem
'SdFile' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 129 C/C++ Problem
'SdVolume' has not been declared SdFile.cpp /Test_SD/SD/utility line 52 C/C++ Problem
'sync' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 75 C/C++ Problem
'type_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 76 C/C++ Problem
'vol_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 34 C/C++ Problem
'vol_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 50 C/C++ Problem
'vol_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 97 C/C++ Problem
'vol_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 102 C/C++ Problem
'vol_' was not declared in this scope SdFile.cpp /Test_SD/SD/utility line 103 C/C++ Problem
expected ',' or ';' before '{' token SdFile.cpp /Test_SD/SD/utility line 130 C/C++ Problem
expected constructor, destructor, or type conversion before '*' token SdFile.cpp /Test_SD/SD/utility line 61 C/C++ Problem
expected primary-expression before 'const' SdFile.cpp /Test_SD/SD/utility line 130 C/C++ Problem
expected primary-expression before 'size' SdFile.cpp /Test_SD/SD/utility line 130 C/C++ Problem
initializer expression list treated as compound expression SdFile.cpp /Test_SD/SD/utility line 130 C/C++ Problem
make: *** [SD/utility/SdFile.o] Error 1 Test_SD C/C++ Problem
SdFat.h: No such file or directory SdFile.cpp /Test_SD/SD/utility line 20 C/C++ Problem
HIer das Beispiel, das die Probleme verursacht:
//Do not remove the include below
#include "Test_SD.h"
/*
* Sketch to compare size of Arduino SD library with SdFat V2.
* See SdFatSize.pde for SdFat sketch.
*/
#include <SPI.h>
#include <SD.h>
File file;
//------------------------------------------------------------------------------
void setup() {
Serial.begin(9600);
while (!Serial) {} // wait for Leonardo
if (!SD.begin()) {
Serial.println("begin failed");
return;
}
file = SD.open("TEST_SD.TXT", FILE_WRITE);
file.println("Hello");
file.close();
Serial.println("Done");
}
//------------------------------------------------------------------------------
void loop() {}
Irgendjemand eine Idee wo die Ursache liegt?