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
Hot Topic (More than 8 Replies) vMicro in V studio 2019 (Read 1723 times)
JonR
Junior Member
**
Offline


Posts: 10
Joined: Jul 30th, 2020
vMicro in V studio 2019
Oct 24th, 2020 at 2:56pm
Print Post  
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.
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro in V studio 2019
Reply #1 - Oct 24th, 2020 at 4:17pm
Print Post  
Thanks for the output. Can you please ensure that  vMicro > Compiler >  Verbose is enabled? If not then repost the output.
« Last Edit: Oct 24th, 2020 at 4:18pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
JonR
Junior Member
**
Offline


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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro in V studio 2019
Reply #3 - Oct 24th, 2020 at 8:02pm
Print Post  
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
WWW  
IP Logged
 
JonR
Junior Member
**
Offline


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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro in V studio 2019
Reply #5 - Oct 24th, 2020 at 9:45pm
Print Post  
No email has arrived. Please check for fail report.

Thanks
  
Back to top
WWW  
IP Logged
 
JonR
Junior Member
**
Offline


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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro in V studio 2019
Reply #7 - Oct 24th, 2020 at 11:07pm
Print Post  
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
WWW  
IP Logged
 
JonR
Junior Member
**
Offline


Posts: 10
Joined: Jul 30th, 2020
Re: vMicro in V studio 2019
Reply #8 - Oct 25th, 2020 at 12:07am
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: vMicro in V studio 2019
Reply #9 - Oct 25th, 2020 at 1:16am
Print Post  
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
Select All
#include "configuration.h"
#include <EEPROM.h>
#include "configuration_EEPROM.h""
 



should be ....

Code
Select All
#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.



« Last Edit: Oct 25th, 2020 at 1:16am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
JonR
Junior Member
**
Offline


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