Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Error running GCC-E during prototype extraction (Read 1359 times)
AlexBraun
Newbies
*
Offline


Posts: 4
Location: Ukraine
Joined: Nov 7th, 2018
Error running GCC-E during prototype extraction
Mar 20th, 2020 at 5:21pm
Print Post  
Hello everybody.
All March releases when compiling firmware on ESP32 controllers give an error - Error running GCC-E during prototype extraction

Has anyone else flashed ESP32 is there a problem?
I rolled back to VisualMicro on version 20.02.16 sp1 and the problem is gone.
« Last Edit: Mar 20th, 2020 at 5:22pm by AlexBraun »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error running GCC-E during prototype extraction
Reply #1 - Mar 20th, 2020 at 5:27pm
Print Post  
Hi

There is sometimes a false error, but the compile works okay

To be sure, can you please post the error you see and also email a code example to the email shown in yelow above.

Also make sure you are using the 20.03.18.1 which resolves an issue with prototypes.

Thanks
« Last Edit: Mar 20th, 2020 at 5:36pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
AlexBraun
Newbies
*
Offline


Posts: 4
Location: Ukraine
Joined: Nov 7th, 2018
Re: Error running GCC-E during prototype extraction
Reply #2 - Mar 20th, 2020 at 8:55pm
Print Post  
Hi admin
When compiling, the compiler writes:
"error: 'checkTemperatures' was not declared in this scope
   checkTemperatures ()
Error compiling project sources "
Although the function is present in the file code.
The situation is corrected if I declare a function before running setup () {
...
}
just adding the declaration at the beginning of the file:
void checkTemperatures (void);
But I have more than 50 functions and it’s not convenient for me to declare all of them at the beginning of the file.
Before the March updates, everything was compiled and flashed perfectly.
And in Arduino IDE, everything compiles and flashes perfectly.
Moreover, this error does not allow to compile the project only on the ESP32 controller. On the ATMega328 controller, this error does not occur.
Yes, I updated VisualMicro from the VisualStudio shell to the version - Visual.Micro.Arduino.Studio_20_03_18_1.vsix
Then he rolled back to the previous version - Visual.Micro.Arduino.Studio_20_03_01_6.vsix
Then to - Visual.Micro.Arduino.Studio_20_03_01_7.vsix
But the compiler’s performance only returned - Visual.Micro.Arduino.Studio_20_02_16_1.vsix
VisualStudio displays it as - 2020.216.1
This one is working fine.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error running GCC-E during prototype extraction
Reply #3 - Mar 20th, 2020 at 9:00pm
Print Post  
If you set a local project board.txt file to the project and add the following property it disables the new ctags system to generate prototypes and falls back to the older way of doing things. 

vm.ctags=false

It would be handy to have your ino/project code if possible so we can review the build output. or please follow the guide in yellow above and maybe that will give us the info we need.

Thanks
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error running GCC-E during prototype extraction
Reply #4 - Mar 22nd, 2020 at 12:13am
Print Post  
Resolved in 20.03.21. + There is no need to disable ctags

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint