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 New instalation - unable to compile project (Read 5514 times)
CSilva
Newbies
*
Offline


Posts: 2
Joined: Aug 12th, 2014
New instalation - unable to compile project
Aug 12th, 2014 at 10:40pm
Print Post  
Hi,

I just installed Visual micro to use with AVR Studio 6.2

I am unable to compile, no matter if I choose external programmer or the arduino board itsel, I get an instant error 

Compiling 'BlinkWithoutDelay' for 'Arduino Uno'
Error compiling


Anything I should check?
  

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


Posts: 12218
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New instalation - unable to compile project
Reply #1 - Aug 13th, 2014 at 11:28am
Print Post  
Hi,

Sorry to hear of this issue. please switch on "Tools>Visual micro>verbose messages". then click "Build>Clean Solution" then press F5 or build.

Please copy and email the resulting output to info[at]visualmicro.com

Thank you
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12218
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New instalation - unable to compile project
Reply #2 - Aug 14th, 2014 at 2:23pm
Print Post  
Hi thanks for the email.

1)
Firstly please switch the tool bar from Debug to Release. Your email asks questions about debug but these can be answered later on. Yes it is possible to change the debug speed but Arduino 115200 should be the correct speed whatever you use. However before using the debugger you should be able to upload and use the serial in anormal Arduino project without issue.

2)
In my previous message I requested that you click "Build>Clean Solution" and then compile. The output you supplied in the email suggested this had not been done because only one file was compiled when a full compile should many files.

3)
Please also confirm the version number of Visual Micro in tools>options>visual micro>version>version


Thanks
  
Back to top
IP Logged
 
CSilva
Newbies
*
Offline


Posts: 2
Joined: Aug 12th, 2014
Re: New instalation - unable to compile project
Reply #3 - Aug 26th, 2014 at 10:55am
Print Post  
Tim@Visual Micro wrote on Aug 14th, 2014 at 2:23pm:
Hi thanks for the email.

1)
Firstly please switch the tool bar from Debug to Release. Your email asks questions about debug but these can be answered later on. Yes it is possible to change the debug speed but Arduino 115200 should be the correct speed whatever you use. However before using the debugger you should be able to upload and use the serial in anormal Arduino project without issue.

2)
In my previous message I requested that you click "Build>Clean Solution" and then compile. The output you supplied in the email suggested this had not been done because only one file was compiled when a full compile should many files.

3)
Please also confirm the version number of Visual Micro in tools>options>visual micro>version>version


Thanks


Apparently Visual micro is not compatible with arduino IDE 1.5.7, this is the only version the above happens, working fine up to 1.5.6.

Version is 1.1407.10.

Can you indicate what is required to change the debug speed? I run arduino at custom clock speeds on some projects, therefore the default speed will not be correct.

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


Posts: 12218
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New instalation - unable to compile project
Reply #4 - Aug 26th, 2014 at 11:01am
Print Post  
Hi there,

Visual Micro is working okay with 1.5.7 for most people. 

However, we are looking into a report from another user who has other programs that use cygwin and have a windows PATH statement that points to a different version of cygwin that is supplied with the Arduino IDE. We suspect that if the upload fails your pc is trying to use the wrong cygwin version.

The cygwin was a problem when we first tested 1.5.7 so we added the arduino.exe path where the cygwin.exe is stored to the local process path. This worked well but appears to fail if windows is configured with a PATH environment variable for cygwin. It would be useful if you could confirm this to be the case with your pc and we expect to release an update that excludes global windows paths from the equation.

To change the debug speed you just need to change the RemoteSpeed project property which is shown here http://www.visualmicro.com/page/User-Guide.aspx?doc=Debugging-With-Different-Por...

I hope this makes sense, thanks
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12218
Location: United Kingdom
Joined: Apr 10th, 2010
Re: New instalation - unable to compile project
Reply #5 - Sep 20th, 2014 at 11:45am
Print Post  
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint