Compiling error thrown

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
karlbaker
Posts: 13
Joined: 03 Mar 2019 12:04

Compiling error thrown

Post 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
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Compiling error thrown

Post by PoltoS »

Please show the code
karlbaker
Posts: 13
Joined: 03 Mar 2019 12:04

Re: Compiling error thrown

Post 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
Attachments
ZUNO_TSL2591 - Adapted.zip
(10.78 KiB) Downloaded 291 times
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Compiling error thrown

Post 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
Post Reply