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
Hot Topic (More than 8 Replies) Can't build empty project (Read 6932 times)
Raykos1
Newbies
*
Offline


Posts: 6
Joined: Oct 14th, 2016
Can't build empty project
Oct 14th, 2016 at 2:03pm
Print Post  
I'm using vs2015 Update 3.  When I start a new Arduino project, it will not build a debug.exe because of errors. Looking at the output "Error List" tag:

identifier__SIZE_TYPE__undefined   c++config.h line 188
identifier__PTRDIFF__undefined c++config.h line 189

I have no clue as to what causing these error? Help?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Online


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't build empty project
Reply #1 - Oct 14th, 2016 at 3:24pm
Print Post  
Hi,

It's the Micro Build or Build output window that should contain the information we need.

Please switch the tool bar from Debug to Release and then click Build on the vMicro menu.

Then post the output as a .txt file or email to info[at]visualmicro.com

Thanks
  
Back to top
IP Logged
 
Raykos1
Newbies
*
Offline


Posts: 6
Joined: Oct 14th, 2016
Re: Can't build empty project
Reply #2 - Oct 14th, 2016 at 8:28pm
Print Post  
OK,
  Text attached
  

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't build empty project
Reply #3 - Oct 14th, 2016 at 8:43pm
Print Post  
That's building perfectly.

Maybe you are just seeing some intellisense errors or does the build fail when you switch back to debug?

If so then please post the output as .txt when it fails

  
Back to top
IP Logged
 
Raykos1
Newbies
*
Offline


Posts: 6
Joined: Oct 14th, 2016
Re: Can't build empty project
Reply #4 - Oct 14th, 2016 at 8:46pm
Print Post  
Whoops,

    Had  'Verbose' checked.  Also, the errors show in the 'ErrorList' when 'Build& intellisense' is the output
  

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't build empty project
Reply #5 - Oct 14th, 2016 at 9:03pm
Print Post  
Yes it was useful to see verbose.

Some item in the error list are warnings some are intellisense that we might be able to resolve however for the time being close the error list and use the build output to see the build completed correctly.

Can you confirm you agree that build and upload is working?
  
Back to top
IP Logged
 
Raykos1
Newbies
*
Offline


Posts: 6
Joined: Oct 14th, 2016
Re: Can't build empty project
Reply #6 - Oct 14th, 2016 at 11:45pm
Print Post  
Yes,,

   It appears to be building OK, but it isn't...see attached .jpg

Those 2 "Intellisense errors" are preventing a .exe from being created, both Release & Debug
  

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


Posts: 6
Joined: Oct 14th, 2016
Re: Can't build empty project
Reply #7 - Oct 14th, 2016 at 11:50pm
Print Post  
Also, if you want me to, I could zip my Vs2015, put it in 'OneDrive' and send you a ink?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Online


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't build empty project
Reply #8 - Oct 15th, 2016 at 1:05pm
Print Post  
Hello,

Please don't confuse the visual studio error list with the build process. The visual studio error list is a general view of intellisense errors and build warnings/errors.

As I have said previously, please close the error list and use the "Micro Build" output which appears when building and uploading arduino projects. 

The Micro Build output gives the same output you will see when using the Arduino IDE. If you click "vMicro>Build and Upload" or use the Visual Studio "Start" commands you should see Visual Micro build and upload your program to the ESP8266.

Please confirm an understanding of this message and that you have closed the error list while you learn the basics or building and uploading Arduino/Esp code.

Thanks
  
Back to top
IP Logged
 
Raykos1
Newbies
*
Offline


Posts: 6
Joined: Oct 14th, 2016
Re: Can't build empty project
Reply #9 - Oct 19th, 2016 at 5:45pm
Print Post  
Hello, Tim,

   Thanks for your help; I think I'm going to walk away from VS2015 for awhile...my frustration level is awfully high.
 
VS2015 has me jumping through endless hoops, has me going in circles, and I can't understand the answers even if 
I do manage to find one.   

All's I want to do is learn how to debug a ardunio sketch in VS2015...But, VS2015 is turning that simple desire into a Herculean task.

So, like I said, it's time to walk away and take a break, before my blood pressure breaks.

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Online


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't build empty project
Reply #10 - Oct 19th, 2016 at 6:23pm
Print Post  
Okay

If you come back to it, make sure the toolbar is set to release and then press F5 and see if the code uploads correctly. Ignore the intellisense/error list for now.

Based on your earlier report I think it will upload fine, same as arduino ide.

Only after you have seen and understood what an upload looks like should you try to use the Debug option

There is also a debugger fix in the next release for people who have installed the Microsoft Cross Platform tools.

Link here
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint