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 Compiling eror. Boards LGT8F328(lgt8fx_328) (Read 2332 times)
AlexGreen
Newbies
*
Offline


Posts: 3
Joined: Sep 30th, 2023
Compiling eror. Boards LGT8F328(lgt8fx_328)
Oct 1st, 2023 at 7:11pm
Print Post  
Hello! 
I have board lgt8f328 and i have a very strange addiction after adding templates to the code. I'm getting a compilation error in visual studio. It compiles correctly in Arduino IDE. I get different errors when enabling deep search.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiling eror. Boards LGT8F328(lgt8fx_328)
Reply #1 - Oct 1st, 2023 at 8:01pm
Print Post  
Thanks for the output.

You definately need to leave deep search on. the arduino ide has it on always, can't be switched off.

It looks like the issue might be be a bug in automatic prototype generation which both visual micro and arduino do.

It would help if you can zip and email (or attach here) this file. If you email it please include url to this post.

C:\ Users\ HighByte\ AppData\ Local\ Temp\ VMBuilds\ CPUMONO_BOOST_2023_LGT\ lgt8fx_328\ Release\ CPUMONO_BOOST_2023_LGT.cpp

Thanks

« Last Edit: Oct 1st, 2023 at 8:02pm by Tim@Visual Micro »  
Back to top
IP Logged
 
AlexGreen
Newbies
*
Offline


Posts: 3
Joined: Sep 30th, 2023
Re: Compiling eror. Boards LGT8F328(lgt8fx_328)
Reply #2 - Oct 2nd, 2023 at 12:04pm
Print Post  
I made a small example. I have re-attached all the necessary files. There are no templates in this example and this example compiles to a visual studio without deep search. It compiles correctly in Arduino IDE.
« Last Edit: Oct 2nd, 2023 at 3:17pm by AlexGreen »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2704
Joined: Feb 13th, 2019
Re: Compiling eror. Boards LGT8F328(lgt8fx_328)
Reply #3 - Oct 3rd, 2023 at 2:11pm
Print Post  
Thanks for the detail around this.

Please install the latest version (23.0915.02) available from the top of the below board, this should resolve the issue:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
IP Logged
 
AlexGreen
Newbies
*
Offline


Posts: 3
Joined: Sep 30th, 2023
Re: Compiling eror. Boards LGT8F328(lgt8fx_328)
Reply #4 - Oct 3rd, 2023 at 2:36pm
Print Post  
Thank you very much! Everything worked!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint