[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

Update problems RSS feed
Forum Index » tcMenu Arduinio library
Author Message
NewOne


Joined: Oct 21, 2020
Messages: 19
Offline
Hey there,
since the newest update, i have some problems / compiler errors. What can i do ?

F:\Users\Karlheinz\Dokumente\Arduino\libraries\TaskManagerIO\src/TaskManagerIO.h:86:7: note: array types have different bounds
class TaskManager {
^
F:\Users\Karlheinz\Dokumente\Arduino\libraries\TaskManagerIO\src/TaskBlock.h:27:7: note: array types have different bounds
class TaskBlock {
^
F:\Users\Karlheinz\Dokumente\Arduino\libraries\TaskManagerIO\src/TaskManagerIO.h:86:7: note: type 'struct TaskManager' itself violates the C++ One Definition Rule
class TaskManager {
^
F:\Users\Karlheinz\Dokumente\Arduino\libraries\TaskManagerIO\src/TaskTypes.h:58:7: note: type 'struct BaseEvent' itself violates the C++ One Definition Rule
class BaseEvent : public Executable {
^
F:\Users\Karlheinz\Dokumente\Arduino\libraries\TaskManagerIO\src\TaskTypes.h:58:7: note: the incompatible type is defined here
class BaseEvent : public Executable {
^
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
Can you check if the taskManager.h and cpp are empty in the IoAbstraction library directory. And that IoAbstraction was also updated.

TaskManager became so big that we moved it into another library quite a while back now, given this was many moons ago, I imagine this is an update issue..

We left empty shell files in Ioabstraction so that updating should avoid compile errors for existing users. However, we’ve had one case a few months ago where the files did not update properly. let’s rule this out first.

If all is not well after that, please let me know what board you’re targeting and library versions for taskManager, IoAbstraction and tcMenu.
NewOne


Joined: Oct 21, 2020
Messages: 19
Offline
ioAbstraction is version 1.6.7,
taskManager is 1.1.0
IoAbstraction is also 1.6.7
TcMenuDesigner is 1.7.12

Target is Arduino Nano
taskManager.cpp is empty

content of taskManager.h is

#ifndef COMPAT_TASKMGR_H
#define COMPAT_TASKMGR_H

#include <TaskManagerIO.h>

#endif //COMPAT_TASKMGR_H
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
Do you have two IoAbstraction libraries. That doesn’t look right.

Please ensure there is only one copy there, probably best to remove both and let library manager replace it.

We test AVR very heavily so it’s highly unlikely that.
NewOne


Joined: Oct 21, 2020
Messages: 19
Offline
ok, i rermoved everything and have installed everything new
now it works


thanks for trying to help
 
Forum Index » tcMenu Arduinio library
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.