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 Problem with C++ class in Visual Studio 2015 (Read 3038 times)
To Nite
Newbies
*
Offline


Posts: 2
Joined: Dec 12th, 2015
Problem with C++ class in Visual Studio 2015
Dec 12th, 2015 at 3:23pm
Print Post  
Installation is ok: compile and upload .ino sketch works.
After adding class with "Visual Micro/Add Code/Addd new Arduino Class and Header" project compile with errors, first is:
'size_t': redefinition; different basic types <MyProject> c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.8.1\include\stddef.h      212

Some idea? Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with C++ class in Visual Studio 2015
Reply #1 - Dec 12th, 2015 at 6:12pm
Print Post  
Hi,

Pls post your header code

Thanks
  
Back to top
WWW  
IP Logged
 
To Nite
Newbies
*
Offline


Posts: 2
Joined: Dec 12th, 2015
Re: Problem with C++ class in Visual Studio 2015
Reply #2 - Dec 12th, 2015 at 6:25pm
Print Post  
Well.. I am so stupid... I was compiling Win32...
Sorry
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with C++ class in Visual Studio 2015
Reply #3 - Dec 12th, 2015 at 6:36pm
Print Post  
okĀ thanks for update Smiley
« Last Edit: Dec 12th, 2015 at 11:33pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint