Thanks for your reply.
I am using the GitHub definition you mention.
I did remove the arduino15 directory, and pretty well everything else that referred to the Arduino and Marlin, before starting again.
I didn't post my errors because I get different collections of errors depending on whether I compile on the old or new setup, on whether I compile with the Anet V1.0 or Anet V1.0 sanguine board (I get both when I add the GitHub board file) and on whether I compile the Marlin 1.1.9 or the bugfix 1.1,x package on the Marlin Github site.
The errors mainly relate to not finding included libraries in some files such as G26_Mesh_Validation_Tool.cpp. I assumed that an Arduino library consists of pairs of .h and .cpp files in a zip file. I checked that all the top level includes in G26_Mesh_Validation_Tool.cpp were present in the Marlin package, but gave up trying to check all the included in the top level includes themselves. (Is there any easy way to find the name of the missing .h or .cpp file(s)?
The other problem is warnings about redefinitions of symbols such as Timer2 to different values, which is clearly an error even though the compiler continues and, in some cases in the original setup, produced a likely looking code file despite the errors and warnings.
Any further advice would be very much appreciated.
I cannot include the error files from the original setup as they are refused as too large (~1.2MB) but here are the error files from the current setup using both the Anet V1.0 and Anet V1.0 (optiboot) board definitions.
I am using the GitHub definition you mention.
I did remove the arduino15 directory, and pretty well everything else that referred to the Arduino and Marlin, before starting again.
I didn't post my errors because I get different collections of errors depending on whether I compile on the old or new setup, on whether I compile with the Anet V1.0 or Anet V1.0 sanguine board (I get both when I add the GitHub board file) and on whether I compile the Marlin 1.1.9 or the bugfix 1.1,x package on the Marlin Github site.
The errors mainly relate to not finding included libraries in some files such as G26_Mesh_Validation_Tool.cpp. I assumed that an Arduino library consists of pairs of .h and .cpp files in a zip file. I checked that all the top level includes in G26_Mesh_Validation_Tool.cpp were present in the Marlin package, but gave up trying to check all the included in the top level includes themselves. (Is there any easy way to find the name of the missing .h or .cpp file(s)?
The other problem is warnings about redefinitions of symbols such as Timer2 to different values, which is clearly an error even though the compiler continues and, in some cases in the original setup, produced a likely looking code file despite the errors and warnings.
Any further advice would be very much appreciated.
I cannot include the error files from the original setup as they are refused as too large (~1.2MB) but here are the error files from the current setup using both the Anet V1.0 and Anet V1.0 (optiboot) board definitions.