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 error: 'atof' was not declared in this scope (DEBUG) (Read 6614 times)
dospat
Newbies
*
Offline


Posts: 4
Joined: Feb 22nd, 2016
error: 'atof' was not declared in this scope (DEBUG)
Feb 22nd, 2016 at 1:59pm
Print Post  
Hello,
I use msp430 launchpad  ,VS 2013 and Energia. When compile this simple code with automatic debugging 

void setup() {
  
}

void loop() {
}

I get the following result:

VM_DBG.cpp:In static member function 'static void VisualMicroDebug::vmsetvar(char*, byte, float&)
VM_DBG.cpp:1327:89: error: 'atof' was not declared in this scope
VM_DBG.cpp:In static member function 'static void VisualMicroDebug::vmsetvar(char*, byte, double&)
VM_DBG.cpp:1328:82: error: 'atof' was not declared in this scope
« Last Edit: Feb 22nd, 2016 at 5:18pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: error: 'atof' was not declared in this scope (DEBUG)
Reply #1 - Feb 22nd, 2016 at 5:19pm
Print Post  
Hi,

It looks like the serial debug for msp430 is broken and will be fixed in the next release.

Please switch the tool bar from "Debug/Local windows debug" to Release then it will compile correctly.

Thanks
  
Back to top
IP Logged
 
dospat
Newbies
*
Offline


Posts: 4
Joined: Feb 22nd, 2016
Re: error: 'atof' was not declared in this scope (DEBUG)
Reply #2 - Feb 22nd, 2016 at 7:17pm
Print Post  
Thanks.
Do you know when  the next release will be available?
  
Back to top
 
IP Logged
 
dospat
Newbies
*
Offline


Posts: 4
Joined: Feb 22nd, 2016
Re: error: 'atof' was not declared in this scope (DEBUG)
Reply #3 - Mar 1st, 2016 at 1:19pm
Print Post  
In version 1602.29.0 the issue still exists.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: error: 'atof' was not declared in this scope (DEBUG)
Reply #4 - Mar 1st, 2016 at 1:23pm
Print Post  
Sorry I got confused with another report. Will try to fix tonight and publish another release
  
Back to top
IP Logged
 
dospat
Newbies
*
Offline


Posts: 4
Joined: Feb 22nd, 2016
Re: error: 'atof' was not declared in this scope (DEBUG)
Reply #5 - Mar 1st, 2016 at 2:38pm
Print Post  
OK.Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: error: 'atof' was not declared in this scope (DEBUG)
Reply #6 - Mar 1st, 2016 at 8:00pm
Print Post  
Done
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint