Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
vMicro in V studio 2019 (Read 168 times)
JonR
Junior Member
**
Offline



Posts: 10
vMicro in V studio 2019
Oct 24th, 2020 at 3:56pm
 
I have been working on an Arduino project and everything was going fine.  Using Vmicro in Vstudio 2019.  Also using git for CM.  Vstudio did an update, then I started getting errors during compile about illegal characters in path.  I tried to compile other projects that I know compiled ok the last time I made changes to them and they also gave the same errors.  I updated vMicro but that did not help.  verbose output attached. Any hints would be appreciated.
Back to top
 

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



Posts: 10895
United Kingdom
Re: vMicro in V studio 2019
Reply #1 - Oct 24th, 2020 at 5:17pm
 
Thanks for the output. Can you please ensure that  vMicro > Compiler >  Verbose is enabled? If not then repost the output.
Back to top
« Last Edit: Oct 24th, 2020 at 5:18pm by Visual Micro »  

Tim Leek
home
WWW  
IP Logged
 
JonR
Junior Member
**
Offline



Posts: 10
Re: vMicro in V studio 2019
Reply #2 - Oct 24th, 2020 at 7:45pm
 
Yes "verbose" was checked under vmicro/compiler
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10895
United Kingdom
Re: vMicro in V studio 2019
Reply #3 - Oct 24th, 2020 at 9:02pm
 
Okay thanks.

If build>clean solution doesn't fix it then please zip and email your .vcxproj file from the current sketch folder. The email address is available above in the yellow box.

Thanks
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
JonR
Junior Member
**
Offline



Posts: 10
Re: vMicro in V studio 2019
Reply #4 - Oct 24th, 2020 at 10:17pm
 
Clean build did not help.  Sent email
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10895
United Kingdom
Re: vMicro in V studio 2019
Reply #5 - Oct 24th, 2020 at 10:45pm
 
No email has arrived. Please check for fail report.

Thanks
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
JonR
Junior Member
**
Offline



Posts: 10
Re: vMicro in V studio 2019
Reply #6 - Oct 24th, 2020 at 11:27pm
 
email went out to sales@visualmicro.com 6:26 PM.  No error message.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10895
United Kingdom
Re: vMicro in V studio 2019
Reply #7 - Oct 25th, 2020 at 12:07am
 
Thanks, arrived 30 mins ago.

It looks like we need to extend our error reporting. Some sort of issue resolving library paths.

Do you get the problem if you create a new project? If not then please zip and email the entire jr_rotor_control folder and sub folders if there are any.

Thanks

Back to top
 

Tim Leek
home
WWW  
IP Logged
 
JonR
Junior Member
**
Offline



Posts: 10
Re: vMicro in V studio 2019
Reply #8 - Oct 25th, 2020 at 1:07am
 
I created a new project with a simple hello world program. It worked ok.  Just sent you the zip for whole project directory.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10895
United Kingdom
Re: vMicro in V studio 2019
Reply #9 - Oct 25th, 2020 at 1:16am
 
Thanks for sending the code. The problem is reported if you switch between boards or do anything that attempts to refresh intellisense but the error doesn't give much away. We will improve the error.

The problem is caused by an extra double quote on the #include "configuration_EEPROM.h"". The Arduino IDE reports the error as "stray '\357' in program"

A second problem with the code which you would encounter after fixing the first is that "configuration.h" should actually be #include "src\configuration.h".

Code:
#include "configuration.h"
#include <EEPROM.h>
#include "configuration_EEPROM.h""
 



should be ....

Code:
#include "src\configuration.h"
#include <EEPROM.h>
#include "configuration_EEPROM.h"
 



Another tip would be to click the small icon above the solution explorer called "show all files". It will show you that one of your files is not included in the project. You can right click and include the file. The file is in the root of the project therefore Visual Micro would compile the file however it is good practise to ensure all your sources are included properly in the solution explorer. This will avoid other confusion later on and also allow you to use source control in the future.



Back to top
« Last Edit: Oct 25th, 2020 at 1:16am by Visual Micro »  

Tim Leek
home
WWW  
IP Logged
 
JonR
Junior Member
**
Offline



Posts: 10
Re: vMicro in V studio 2019
Reply #10 - Oct 25th, 2020 at 3:29am
 
Thank you for your time Tim.
Smiley
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print