- Mon Sep 28, 2015 1:23 pm
#30059
Success
I added the type def __FlashStringHelper made on March 15 2015 to the Arduino Wstring.h and it now compiles........I have a PIC IDE that uses WString.h and an Atmel IDE plus the Arduino IDE so deleting all WString.h files was not an option.
It is true the Arduino IDE is not contained within a single directory and oozes out to User/...../Appdata ........ This also true of board.txt and other txt files that support the Arduino IDE. There are also *.xml files that give the Arduino GUI choices for the user.
The PIC IDE is the most obvious in that it never oozes out of its directly unless the user makes it happen.
Lazarus like Arduino makes choices of where to place files without disclosure but Lazarus has an option to give control to the user to select a single directory. IMHO there should be an option to contain all code in single directory " program files(86)/Arduino" I kept the WString.h files the other IDE's use and delete as many duplicate references that I could find within the Arduino IDE.
It is unfortunate that WString is such a much used file for C compilers and also is MCU specific to the esp8266 within Arduino. The oozing that is a part of the Arduino IDE makes back up and restore of a specific version complicated due to the oozing into other directories with resultant dependencies.
Anyway thanks to advice from Kas............ I have success
Again the new type def that was added to WString.h for the Arduino IDE on March 31 2015 messed things up for me.