Page 1 of 1

Compiling error thrown

Posted: 13 Mar 2020 23:15
by karlbaker
What is the compiler trying to tell me with this error message?

Code: Select all

error: uCxx:Can't find method __cxx__ZUNO_TSL2591__init01rZUNO_TSL2591 for object tsl of class ZUNO_TSL2591
I have created the class for the lumina sensor and am not understanding what the compiler is trying to tell me.

Thanks,

Karl Baker

Re: Compiling error thrown

Posted: 15 Mar 2020 05:31
by PoltoS
Please show the code

Re: Compiling error thrown

Posted: 16 Mar 2020 18:44
by karlbaker
Hi PoltoS,

Please see attached adapted files.

I'm probably missing something very basic to C++ development, and don't have enough experience to catch what needs to be done.

Thanks,

Karl

Re: Compiling error thrown

Posted: 17 Mar 2020 11:40
by PoltoS
The code looks too complex. Please look on BMP280 and BH1850 libraries to see how it should look like. Too complex C++ code is not well supported - especially nested structures and unions.

The code should be minimized to shortness the stack footprint and simplify the code itself