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 'MicroDebug' was not declared in this scope (Read 2442 times)
Sax1234
Newbies
*
Offline


Posts: 3
Joined: Apr 5th, 2018
'MicroDebug' was not declared in this scope
Apr 13th, 2018 at 8:01am
Print Post  
When i choose in config.h - 

//#define DEVICE_MODE_TX
#define DEVICE_MODE_RX

i have this error. But when i choose

#define DEVICE_MODE_TX
//#define DEVICE_MODE_RX

All is ok.
How i can solve it?


« Last Edit: Apr 13th, 2018 at 8:02am by Sax1234 »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Sax1234
Newbies
*
Offline


Posts: 3
Joined: Apr 5th, 2018
Re: 'MicroDebug' was not declared in this scope
Reply #1 - Apr 13th, 2018 at 10:13am
Print Post  
I find this after IFDEF

"#ifdef DEVICE_MODE_TX

#include <VM_DBG.h>"

How i can put  #include <VM_DBG.h> before IFDEF?
  
Back to top
 
IP Logged
 
Sax1234
Newbies
*
Offline


Posts: 3
Joined: Apr 5th, 2018
Re: 'MicroDebug' was not declared in this scope
Reply #2 - Apr 13th, 2018 at 10:15am
Print Post  
I put int dummy; 

at the top of crossbow.ino, and everything ok))
« Last Edit: Apr 14th, 2018 at 12:12pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: 'MicroDebug' was not declared in this scope
Reply #3 - Apr 13th, 2018 at 12:26pm
Print Post  
Great, yes that allows the insertion point for the arduino.h and prototypes to be determined.

There is an update due over the next month that should add better intelligence and avoid need for this.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint