Announcement

Collapse
No announcement yet.

Problems compiling after updating UECIDE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems compiling after updating UECIDE

    We recently updated UECIDE and can't compile a sketch we had previously been compiling fine using version 0.8.7 The sketch we developed for a college project was compiling and working fine, but we updated the IDE because in the previous version the plugin manager didn't have any of the libraries that the current one has. The version we are currently using is: 0.8.8alpha22. After updating we get the following error below when trying to compile. We have uninstalled the program and deleted the directories and then reinstalled the program completely from scratch. Any help would be hugely appreciated.

    We are using a Picadillo 35-T.


    Code:
    Compiling...
    • Compiling sketch...
    In file included from C:\Users\Admin\AppData\Local\UECIDE\cores\chipKIT\libraries\SD/SD.h:21:0,
                     from C:\Users\Admin\Documents\UECIDE\Sketch\interface\interface.h:6,
                     from C:\Users\Admin\Documents\UECIDE\Sketch\interface\interface.ino:1:
    • Error at line 285 in file SdFat.h:
    ‣ conflicting return type specified for 'virtual void SdFile::write(uint8_t)'
       void write(uint8_t b);
            ^
    In file included from C:\Users\Admin\AppData\Local\UECIDE\cores\chipKIT\pic32/HardwareSerial.h:56:0,
                     from C:\Users\Admin\AppData\Local\UECIDE\cores\chipKIT\pic32/WProgram.h:20,
                     from C:\Users\Admin\AppData\Local\Temp\build-fb8b06ab-1630-456a-a93b-4284f4aa7385\interface.cpp:9:
    • Error at line 49 in file Print.h:
    ‣ overriding 'virtual size_t Print::write(uint8_t)'
         virtual size_t write(uint8_t) = 0;
                        ^
    In file included from C:\Users\Admin\Documents\UECIDE\Sketch\interface\interface.h:6:0,
                     from C:\Users\Admin\Documents\UECIDE\Sketch\interface\interface.ino:1:
    • Error at line 37 in file SD.h:
    ‣ conflicting return type specified for 'virtual void File::write(uint8_t)'
             virtual void write(uint8_t);
                          ^
    In file included from C:\Users\Admin\AppData\Local\UECIDE\cores\chipKIT\pic32/HardwareSerial.h:56:0,
                     from C:\Users\Admin\AppData\Local\UECIDE\cores\chipKIT\pic32/WProgram.h:20,
                     from C:\Users\Admin\AppData\Local\Temp\build-fb8b06ab-1630-456a-a93b-4284f4aa7385\interface.cpp:9:
    • Error at line 49 in file Print.h:
    ‣ overriding 'virtual size_t Print::write(uint8_t)'
         virtual size_t write(uint8_t) = 0;
                        ^
    In file included from C:\Users\Admin\Documents\UECIDE\Sketch\interface\interface.h:6:0,
                     from C:\Users\Admin\Documents\UECIDE\Sketch\interface\interface.ino:1:
    • Error at line 38 in file SD.h:
    ‣ conflicting return type specified for 'virtual void File::write(const uint8_t*, size_t)'
             virtual void write(const uint8_t *buf, size_t size);
                          ^
    In file included from C:\Users\Admin\AppData\Local\UECIDE\cores\chipKIT\pic32/HardwareSerial.h:56:0,
                     from C:\Users\Admin\AppData\Local\UECIDE\cores\chipKIT\pic32/WProgram.h:20,
                     from C:\Users\Admin\AppData\Local\Temp\build-fb8b06ab-1630-456a-a93b-4284f4aa7385\interface.cpp:9:
    • Error at line 54 in file Print.h:
    ‣ overriding 'virtual size_t Print::write(const uint8_t*, size_t)'
         virtual size_t write(const uint8_t *buffer, size_t size);
                        ^
    Failed compiling sketch

  • #2
    It looks to me like you have the old dregs of the old core still hanging around - that is, the old core's libraries, which are incompatible with the current core.

    Delete the folder C:\Users\Admin\AppData\Local\UECIDE\cores\chipKIT\libraries and all should be well.

    In fact, in general, when doing a version upgrade like this, if things don't work right, it is usually best to delete the entirity of the UECIDE data folder (C:\Users\Admin\AppData\Local\UECIDE) and reinstall all the plugins you need.

    Comment


    • #3
      Of course, that was exactly the problem. Thank you very much for your quick reply and help.

      Comment

      Working...
      X