Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Arduinio library » Update problems

Author: NewOne
25/01/2021 21:25:43
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 {
^

Author: davetcc
25/01/2021 22:23:41
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.

Author: NewOne
26/01/2021 07:37:52
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

Author: davetcc
26/01/2021 07:50:38
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.

Author: NewOne
26/01/2021 07:55:47
ok, i rermoved everything and have installed everything new
now it works


thanks for trying to help




Register / Login  |  Desktop view  |  Jump to top of page