Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12090

Re: Marlin Error code 'fpos_t' after 'struct'

$
0
0
Your using an old version of marlin firmware with a new arduino IDE

The old firmware uses the variable name fpos_t unfortunately this is now a reserved word in the newer arduino IDE.

You have to edit two files SdBaseFile.h and SdBaseFile.cpp

find all occurrences of fpos_t and change it to something else eg FatPos_t

If your using linux you can just
sed -i 's/fpos_t/FatPos_t/' SdBaseFile.h
sed -i 's/fpos_t/FatPos_t/' SdBaseFile.cpp

otherwise your going to have manually search and replace in what ever editor you have

Viewing all articles
Browse latest Browse all 12090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>