BTT_TF_Cloud_AFW icon indicating copy to clipboard operation
BTT_TF_Cloud_AFW copied to clipboard

Error Compiling

Open aardel opened this issue 3 years ago • 3 comments

I am trying to compile this firmware but I am getting allot of errors am I doing something wrong or I am missing something?'sdfat::FatFile* sdfat::FatVolume::vwd()' is private within this context

......... an a lot more errors

Any Ideas please

aardel avatar Nov 24 '21 15:11 aardel

Perhaps AlbrechtL could provide the SDFat library version he used as it seems to be the root cause of the compilations problems you face. A specific library version can be forced by describing it in the file "platformio.ini". See https://docs.platformio.org/en/latest/core/userguide/lib/cmd_install.html#cmd-lib-install

DonJuanito99 avatar Nov 29 '21 17:11 DonJuanito99

Same for me, compiling end with a lot of error

some major errors: *** [.pio/build/esp12e/src/ESPWebDAV.cpp.o] Error 1 *** [.pio/build/esp12e/src/ESPFtpServer.cpp.o] Error 1 *** [.pio/build/esp12e/src/BTT_TF_CLOUD_AFW.cpp.o] Error 1 src/ESPFtpServer.cpp:1135:51: error: no matching function for call to 'sdfat::SdFat32::begin(int&, SPISettings&)' src/ESPWebDAV.cpp:422:38: error: 'sdfat::FatFile* sdfat::FatVolume::vwd()' is private within this context src/ESPFtpServer.cpp:536:9: error: 'dir_t' was not declared in this scope; did you mean 'div_t'?

and more similar error, everything seems to lead to a change in the SdFat class, which seems to be different from the one used in the sources.

alebarra avatar Feb 25 '22 10:02 alebarra

Edit platformio:.ini

platform = espressif8266 @ ~2.6.3

deividAlfa avatar Dec 21 '22 07:12 deividAlfa