I have been struggling for days and read so many boards and can not fix my error, I am not versed in this at all and that's the majority of the issue. I have zero clue how to fix the error. I have a 3d project I need done and I can't get matter hackers to talk to my robo since I tried to update the firmware. Here is the error
Arduino: 1.6.9 (Mac OS X), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
rosetta error: overlapping Mach-O segments:
arduino-builder returned 134
Error compiling for board Arduino Mega or Mega 2560.
The post that said use 1.6.9 says it was updated 3 days ago. It is a super old machine I just bought it to do a hobby. It was communicating really well with mattercontrol prior to me trying to make sure the Arduino firmware was up to date. Now I can’t even use my printer bc it wants to talk to Arduino and won’t let me connect to mattercontrol. I just need to use it again… stressing me out
Hi @teniller. There is a good chance the "Arduino 1.6.10+ has an error compiling our firmware" was referring to some bug in Arduino IDE that was fixed in the years since that time. Some of the Arduino IDE releases during the 1.6.x version series had significant bugs due to a major reworking of some of the underlying systems that was being done by the IDE developers during that time. These were resolved in later releases and the IDE became pretty stable again during the 1.8.x version series.
My recommendation is for you to just give it a try with a modern version of Arduino IDE.
Ok I will do that. Do I just need to download the latest version and try the same steps or do I need to remove any of the old 1.6.9? Just want to try with as little user error as possible. I really appreciate your help
No. You can have multiple different versions of Arduino IDE installed on your computer without any problems so you are welcome to leave your 1.6.9 installation in place in case you run into problems with the newer version and find you have to go back to 1.6.9 again.
K so I added the latest version and now my error is:
/Users/tenillerollins/Documents/Arduino/ROBO3DR1PLUSV2/SdBaseFile.cpp: In member function 'void SdBaseFile::getpos(fpos_t*)':
/Users/tenillerollins/Documents/Arduino/ROBO3DR1PLUSV2/SdBaseFile.cpp:298:8: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
pos->position = curPosition_;
^~~~~~~~
/Users/tenillerollins/Documents/Arduino/ROBO3DR1PLUSV2/SdBaseFile.cpp:299:8: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
pos->cluster = curCluster_;
^~~~~~~
/Users/tenillerollins/Documents/Arduino/ROBO3DR1PLUSV2/SdBaseFile.cpp: In member function 'void SdBaseFile::setpos(fpos_t*)':
/Users/tenillerollins/Documents/Arduino/ROBO3DR1PLUSV2/SdBaseFile.cpp:1496:23: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
curPosition_ = pos->position;
^~~~~~~~
/Users/tenillerollins/Documents/Arduino/ROBO3DR1PLUSV2/SdBaseFile.cpp:1497:22: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
curCluster_ = pos->cluster;
^~~~~~~
exit status 1
Compilation error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'
I found a zip to replace the error stuff and then tired agin and now I have succeeded!!!!! Thank you so much!!!!! You don't know how much I appreciate all of the help!