self compiling: 'Goto_Rules_Root' was not declared

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
megamarco83
Normal user
Posts: 119
Joined: 13 Apr 2017, 23:09

self compiling: 'Goto_Rules_Root' was not declared

#1 Post by megamarco83 » 05 Dec 2018, 01:29

Hi, i download two plugin from playground
i added them on src folder and renamed it as ESPEasy

now i want to compile, so i change on global.sh, setting the DEV and comment the NORMAL

i not able / understand how use platformio, so i continue to use arduino IDE that on november nightly espeasy was working good

now i try to create the bin file with arduino ide 1.8.7 (last version) copy the libraries inside arduino folder and run the compiling.

i receive this error:

exit status 1
'Goto_Rules_Root' was not declared in this scope

what i can do to solve this issue?
it seams that there is an error inside the code? is it possible?
thanks
Last edited by megamarco83 on 05 Dec 2018, 19:14, edited 1 time in total.

User avatar
grovkillen
Core team member
Posts: 3152
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: self compiling: 'Goto_Rules_Root' was not declared

#2 Post by grovkillen » 05 Dec 2018, 06:56

You renamed the "src" folder to "ESPEasy"? That is not what you should do.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

megamarco83
Normal user
Posts: 119
Joined: 13 Apr 2017, 23:09

Re: self compiling: 'Goto_Rules_Root' was not declared

#3 Post by megamarco83 » 05 Dec 2018, 19:01

grovkillen wrote:
05 Dec 2018, 06:56
You renamed the "src" folder to "ESPEasy"? That is not what you should do.
ehm....why not?
on the previous version it was needed....and if i'm not wrong also arduino IDE require that ESPEasy.ino should be contained in a folder that has its name: "ESPEasy"
what name i should give to the folder "src" ?
thanks Grovkillen, your help is every time appreciate and usefull :)

User avatar
grovkillen
Core team member
Posts: 3152
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: self compiling: 'Goto_Rules_Root' was not declared

#4 Post by grovkillen » 05 Dec 2018, 20:11

Ok, I must have missed that part of Arduino IDE. We're using PlatformIO as our official IDE.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

megamarco83
Normal user
Posts: 119
Joined: 13 Apr 2017, 23:09

Re: self compiling: 'Goto_Rules_Root' was not declared

#5 Post by megamarco83 » 05 Dec 2018, 20:29

grovkillen wrote:
05 Dec 2018, 20:11
Ok, I must have missed that part of Arduino IDE. We're using PlatformIO as our official IDE.
Yes i know.. And i download it but still unable to use it... Can you help me?

User avatar
grovkillen
Core team member
Posts: 3152
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: self compiling: 'Goto_Rules_Root' was not declared

#6 Post by grovkillen » 05 Dec 2018, 20:30

Did you read the wiki on setting up the PlatformIO environment?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

megamarco83
Normal user
Posts: 119
Joined: 13 Apr 2017, 23:09

Re: self compiling: 'Goto_Rules_Root' was not declared

#7 Post by megamarco83 » 05 Dec 2018, 20:46

grovkillen wrote:
05 Dec 2018, 20:30
Did you read the wiki on setting up the PlatformIO environment?
i read the wiki but related to arduino IDE...
https://www.letscontrolit.com/wiki/inde ... are_Upload

waspie
Normal user
Posts: 110
Joined: 09 Feb 2017, 19:35

Re: self compiling: 'Goto_Rules_Root' was not declared

#8 Post by waspie » 05 Dec 2018, 21:18

I self compile fairly regularly and I use 1.8.7 and I haven't had any troubles. I think I did one a couple days ago without issue...

megamarco83
Normal user
Posts: 119
Joined: 13 Apr 2017, 23:09

Re: self compiling: 'Goto_Rules_Root' was not declared

#9 Post by megamarco83 » 05 Dec 2018, 21:24

waspie wrote:
05 Dec 2018, 21:18
I self compile fairly regularly and I use 1.8.7 and I haven't had any troubles. I think I did one a couple days ago without issue...
can you please try with last release?
i try one month ago or a bit later without any problems...but with last release i find this error :(
i copy paste the library inside arduino folder, and sice that i find this error..i do not know it is linked

waspie
Normal user
Posts: 110
Joined: 09 Feb 2017, 19:35

Re: self compiling: 'Goto_Rules_Root' was not declared

#10 Post by waspie » 05 Dec 2018, 21:32

megamarco83 wrote:
05 Dec 2018, 21:24
waspie wrote:
05 Dec 2018, 21:18
I self compile fairly regularly and I use 1.8.7 and I haven't had any troubles. I think I did one a couple days ago without issue...
can you please try with last release?
i try one month ago or a bit later without any problems...but with last release i find this error :(
i copy paste the library inside arduino folder, and sice that i find this error..i do not know it is linked
i will try tonight about 4-5 hours from now

megamarco83
Normal user
Posts: 119
Joined: 13 Apr 2017, 23:09

Re: self compiling: 'Goto_Rules_Root' was not declared

#11 Post by megamarco83 » 05 Dec 2018, 22:44

waspie wrote:
05 Dec 2018, 21:32
waspie wrote:
05 Dec 2018, 21:18
I self compile fairly regularly and I use 1.8.7 and I haven't had any troubles. I think I did one a couple days ago without issue...
can you please try with last release?
i try one month ago or a bit later without any problems...but with last release i find this error :(
i copy paste the library inside arduino folder, and sice that i find this error..i do not know it is linked


i will try tonight about 4-5 hours from now
thanks, i compile right now a version ESPEasy_mega-20181128
and works perfectly

i try to compile the last version: ESPEasy_mega-20181204
but i receive the error:

Code: Select all

C:\Users\Marco\Desktop\2222\source\ESPEasy\WebServer.ino: In function 'void WebServerInit()':

WebServer:519:30: error: 'Goto_Rules_Root' was not declared in this scope

   WebServer.on(F("/rules/"), Goto_Rules_Root);


WebServer:525:36: error: 'handle_rules_delete' was not declared in this scope

   WebServer.on(F("/rules/delete"), handle_rules_delete);
   exit status 1
'Goto_Rules_Root' was not declared in this scope
   

User avatar
grovkillen
Core team member
Posts: 3152
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: self compiling: 'Goto_Rules_Root' was not declared

#12 Post by grovkillen » 05 Dec 2018, 22:52

megamarco83 wrote:
05 Dec 2018, 20:46
grovkillen wrote:
05 Dec 2018, 20:30
Did you read the wiki on setting up the PlatformIO environment?
i read the wiki but related to arduino IDE...
https://www.letscontrolit.com/wiki/inde ... are_Upload
https://www.letscontrolit.com/wiki/inde ... platformio
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

megamarco83
Normal user
Posts: 119
Joined: 13 Apr 2017, 23:09

Re: self compiling: 'Goto_Rules_Root' was not declared

#13 Post by megamarco83 » 05 Dec 2018, 23:03

grovkillen wrote:
05 Dec 2018, 22:52
megamarco83 wrote:
05 Dec 2018, 20:46
grovkillen wrote:
05 Dec 2018, 20:30
Did you read the wiki on setting up the PlatformIO environment?
i read the wiki but related to arduino IDE...
https://www.letscontrolit.com/wiki/inde ... are_Upload
https://www.letscontrolit.com/wiki/inde ... platformio
thanks, i red also this one, installing platformio successfull and open the project using folder where is placed .ini file, but i do not succed on compiling.
if i press F7 nothing is apparing...
and i'm not able to complile


using arduino ide:
since the version of 20181128 is ok, using last version 20181204 i receve the error that i reported in previous message

Domosapiens
Normal user
Posts: 280
Joined: 06 Nov 2016, 13:45

Re: self compiling: 'Goto_Rules_Root' was not declared

#14 Post by Domosapiens » 05 Dec 2018, 23:23

30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

megamarco83
Normal user
Posts: 119
Joined: 13 Apr 2017, 23:09

Re: self compiling: 'Goto_Rules_Root' was not declared

#15 Post by megamarco83 » 06 Dec 2018, 00:32

Domosapiens wrote:
05 Dec 2018, 23:23
Also seen here:
https://github.com/letscontrolit/ESPEas ... t-31532972
Hope this helps
yes! it helps so much my friend!
i simply delete the /* arguments */ that are present in three rows and substitue with ()
they are in Web Interface rules page

now the compiling is doing good

if you can remove from the code, it will be perfect also for arduino processing, thanks!

waspie
Normal user
Posts: 110
Joined: 09 Feb 2017, 19:35

Re: self compiling: 'Goto_Rules_Root' was not declared

#16 Post by waspie » 06 Dec 2018, 03:45

here's the error i'm seeing:

WebServer_Rules:256:25: error: 'Goto_Rules_Root' was not declared in this scope

Goto_Rules_Root();

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests