full functionality of this site and enable such things as forum posting.
ullix:
Using the lib SafeString in version 1.0.6 works well in uecide. But when using version 2.0.2, it fails with reference errors.
Both libs run well on Arduino.
The naming of the lib is the same as the header file, so this can’t be the problem.
Compiling...
• Preprocessing...
• Converting binary files
• Compiling sketch...
◦ SafeStringAssignmentAndConcatOperator_combined.cpp
• Compiling core...
‣ base64
‣ esp32
• Compiling libraries...
‣ SafeString [/home/ullix/Code/Arduino/libraries/SafeString]
• Linking sketch...
/tmp/build-133eed99-fded-4ccd-912b-61acf236a518/SafeStringAssignmentAndConcatOperator_combined.cpp.o:(.literal._Z5setupv+0xac): undefined reference to SafeString::concat(SafeString&)' /tmp/build-133eed99-fded-4ccd-912b-61acf236a518/SafeStringAssignmentAndConcatOperator_combined.cpp.o:(.literal.startup._GLOBAL__sub_I_stringOne_SAFEBUFFER+0x18): undefined reference to
SafeString::SafeString(unsigned int, char*, char const*, char const*, bool, bool)'
/tmp/build-133eed99-fded-4ccd-912b-61acf236a518/SafeStringAssignmentAndConcatOperator_combined.cpp.o: In function setup()': /home/ullix/Code/Arduino/libraries/SafeString/examples/SafeStringAssignmentAndConcatOperator/SafeStringAssignmentAndConcatOperator.ino:55: undefined reference to
SafeString::concat(SafeString&)'
/tmp/build-133eed99-fded-4ccd-912b-61acf236a518/SafeStringAssignmentAndConcatOperator_combined.cpp.o: In function _GLOBAL__sub_I_stringOne_SAFEBUFFER': /home/ullix/Code/Arduino/libraries/SafeString/examples/SafeStringAssignmentAndConcatOperator/SafeStringAssignmentAndConcatOperator.ino:109: undefined reference to
SafeString::SafeString(unsigned int, char*, char const*, char const*, bool, bool)'
/home/ullix/Code/Arduino/libraries/SafeString/examples/SafeStringAssignmentAndConcatOperator/SafeStringAssignmentAndConcatOperator.ino:112: undefined reference to `SafeString::SafeString(unsigned int, char*, char const*, char const*, bool, bool)'
collect2: error: ld returned 1 exit status
Compiling Failed