self compiling: 'Goto_Rules_Root' was not declared
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
self compiling: 'Goto_Rules_Root' was not declared
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
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.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: self compiling: 'Goto_Rules_Root' was not declared
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: self compiling: 'Goto_Rules_Root' was not declared
ehm....why not?grovkillen wrote: ↑05 Dec 2018, 06:56 You renamed the "src" folder to "ESPEasy"? That is not what you should do.
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
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: self compiling: 'Goto_Rules_Root' was not declared
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: self compiling: 'Goto_Rules_Root' was not declared
Yes i know.. And i download it but still unable to use it... Can you help me?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.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: self compiling: 'Goto_Rules_Root' was not declared
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: self compiling: 'Goto_Rules_Root' was not declared
i read the wiki but related to arduino IDE...grovkillen wrote: ↑05 Dec 2018, 20:30 Did you read the wiki on setting up the PlatformIO environment?
https://www.letscontrolit.com/wiki/inde ... are_Upload
Re: self compiling: 'Goto_Rules_Root' was not declared
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...
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: self compiling: 'Goto_Rules_Root' was not declared
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
Re: self compiling: 'Goto_Rules_Root' was not declared
i will try tonight about 4-5 hours from nowmegamarco83 wrote: ↑05 Dec 2018, 21:24can 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
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: self compiling: 'Goto_Rules_Root' was not declared
thanks, i compile right now a version ESPEasy_mega-20181128waspie wrote: ↑05 Dec 2018, 21:32can 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
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
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: self compiling: 'Goto_Rules_Root' was not declared
https://www.letscontrolit.com/wiki/inde ... platformiomegamarco83 wrote: ↑05 Dec 2018, 20:46i read the wiki but related to arduino IDE...grovkillen wrote: ↑05 Dec 2018, 20:30 Did you read the wiki on setting up the PlatformIO environment?
https://www.letscontrolit.com/wiki/inde ... are_Upload
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: self compiling: 'Goto_Rules_Root' was not declared
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.grovkillen wrote: ↑05 Dec 2018, 22:52https://www.letscontrolit.com/wiki/inde ... platformiomegamarco83 wrote: ↑05 Dec 2018, 20:46i read the wiki but related to arduino IDE...grovkillen wrote: ↑05 Dec 2018, 20:30 Did you read the wiki on setting up the PlatformIO environment?
https://www.letscontrolit.com/wiki/inde ... are_Upload
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
-
- Normal user
- Posts: 307
- Joined: 06 Nov 2016, 13:45
Re: self compiling: 'Goto_Rules_Root' was not declared
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.
-
- Normal user
- Posts: 230
- Joined: 13 Apr 2017, 23:09
Re: self compiling: 'Goto_Rules_Root' was not declared
yes! it helps so much my friend!Domosapiens wrote: ↑05 Dec 2018, 23:23 Also seen here:
https://github.com/letscontrolit/ESPEas ... t-31532972
Hope this helps
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!
Re: self compiling: 'Goto_Rules_Root' was not declared
here's the error i'm seeing:
WebServer_Rules:256:25: error: 'Goto_Rules_Root' was not declared in this scope
Goto_Rules_Root();
WebServer_Rules:256:25: error: 'Goto_Rules_Root' was not declared in this scope
Goto_Rules_Root();
Who is online
Users browsing this forum: No registered users and 0 guests