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 Compile fails... (Read 3092 times)
Goran D.
Newbies
*
Offline


Posts: 3
Location: Austin, Texas, USA
Joined: Jan 23rd, 2013
Compile fails...
Jan 24th, 2013 at 2:21am
Print Post  
Hi,
I have installed the newest debugger version (VisualMicroDebugUpgrade_1301_14.msi) on MSVC 2010. My project is a simple example file that uses serial port. In Release mode it compiles, downloads and works well, but in Debug mode I am getting this error withing VM_DBG. (I took a screen shot, but don't know how to attach it to this post...)
Code
Select All
Compiling 'current_only' for 'Arduino Mega (ATmega1280)'
Binary sketch size: 6744 bytes (of a 126976 byte maximum) (0.449 secs)
Compiling debug version of 'current_only' for 'Arduino Mega (ATmega1280)'
current_only.ino : In file included from
VM_DBG.h : ISO C++ forbids declaration of 'usb_serial_class' with no type
VM_DBG.h : expected ';' before '*' token
VM_DBG.h : 'usb_serial_class' has not been declared
VM_DBG.h : 'usb_serial_class' has not been declared
VM_DBG.cpp : In file included from
VM_DBG.h : ISO C++ forbids declaration of 'usb_serial_class' with no type
VM_DBG.h : expected ';' before '*' token
VM_DBG.h : 'usb_serial_class' has not been declared
VM_DBG.h : 'usb_serial_class' has not been declared
VM_DBG.cpp : variable or field 'begin' declared void
VM_DBG.cpp : 'usb_serial_class' was not declared in this scope
VM_DBG.cpp : 'theSerial' was not declared in this scope
Error compiling
 


Is this a known problem? How to get around it? Thanks!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compile fails...
Reply #1 - Jan 24th, 2013 at 7:35am
Print Post  
Hi, I think you installed the wrong debug upgrade. If running 1212.30 you need 3.3.
  
Back to top
IP Logged
 
Goran D.
Newbies
*
Offline


Posts: 3
Location: Austin, Texas, USA
Joined: Jan 23rd, 2013
Re: Compile fails...
Reply #2 - Jan 24th, 2013 at 2:55pm
Print Post  
Thank you - that version worked!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint