Problem of compilation of ARDUINO IDE Client.ino

6 posts / 0 new
Last post
prasad
Problem of compilation of ARDUINO IDE Client.ino

C:\Users\Ajit\AppData\Local\Temp\arduino_build_722696\sketch\src\client.c:70:9: error: implicit declaration of function 'bb_init' [-Werror=implicit-function-declaration]

bb_init(reply);

^

I am getting the below error while Compiling the Client.ino, I had uncommented the #define DLMS_IGNORE_SERVER and #define DLMS_IGNORE_IP6_SETUP , Thanks for the support in advance

Kurumi
Kurumi's picture

Hi,

What version from Arduino IDE you are using and what board you are using?
I did test this and it worked without problems with Arduino IDE 1.8.12.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

prasad

I am using the Arduino IDE 1.8.5 and using esp8266 board Nodemcu

Kurumi
Kurumi's picture

Hi,

open gxignore.h file and add this line:
#define ESP_PLATFORM

bb_init is used elsewhere in ESP platform.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

prasad

Thank you i am able to Compile the code

Kurumi
Kurumi's picture

Hi,

This is now improved and define settings are set automatically. Get the latest version.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi