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 Intel - Project build issue (Read 4122 times)
Richard-D
Junior Member
**
Offline


Posts: 12
Joined: Dec 21st, 2014
Intel - Project build issue
Jan 8th, 2015 at 8:43pm
Print Post  
I've got the same issues in several files. I've installed Visual Micro in Visual Studio 2013, but I've got 6 error running e.g. SerialEvent sample file:

     1      IntelliSense: expected a '{'      l.h      40      34      SerialEvent
     2      IntelliSense: cannot open source file "unistd.h"      c:\arduino-1.5.3-Intel.1.0.3\hardware\arduino\edison\cores\arduino\interrupt.h      15      1      SerialEvent
     3      IntelliSense: cannot open source file "pthread.h"      c:\arduino-1.5.3-Intel.1.0.3\hardware\arduino\edison\cores\arduino\TTYUART.h      8      1      SerialEvent
     4      IntelliSense: cannot open source file "unistd.h"      c:\arduino-1.5.3-Intel.1.0.3\hardware\arduino\edison\cores\arduino\UtilTime.h      9      1      SerialEvent
     5      IntelliSense: expected a '{'      c:\arduino-1.5.3-Intel.1.0.3\hardware\arduino\edison\cores\arduino\WCharacter.h      26      38      SerialEvent
     6      IntelliSense: cannot open source file "unistd.h"      nt.h      9      1      SerialEvent

The project won't build and therefore won't run. Since this are just the sample files, I'm afraid of problems with other apps.

Do you have a solution for these errors?
« Last Edit: Jan 9th, 2015 at 1:58pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Intel - Project build issue
Reply #1 - Jan 8th, 2015 at 9:25pm
Print Post  
Hi,

I have moved this post because it doesn't really relate to the Arduino ISR() discussion you posted against

Please ignore the intellisense errors for now, close that window so we can concentrate on the build and the output from the build.

The intellisense is just a prompt but the build/compile uses the actual intel tool chain so gives very accurate and informative results.

So please build and post the error that appears in the output window after the build. If it is very long you can email it to info [at] visualmicro.com if you want.

If the error is unhelpful then switch on "tools>visual micro>verbose messages", then click Build>clean then build and email the output

Please also confirm your sketch builds in the Intel Ide just so I know your setup and libraries are correct.

Thanks
  
Back to top
IP Logged
 
Richard-D
Junior Member
**
Offline


Posts: 12
Joined: Dec 21st, 2014
Re: Intel - Project build issue
Reply #2 - Jan 9th, 2015 at 1:56pm
Print Post  
I've cleaned the solution, when I press F5 the project is build and uploaded. 

But it does not break to Visual Studio Community 2013 nor gives any messages in the Micro Debug Trace / Message window. I've set the build config to debug and (Micro Debug) to Full.

The program seems to stop though.
« Last Edit: Jan 9th, 2015 at 1:58pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intel - Project build issue
Reply #3 - Jan 9th, 2015 at 2:01pm
Print Post  
Hi Richard,

Good to hear the build is working.

You didn't need to set debug=full because automatic debug is enabled by default for all projects allowing you to use the configuration combobox in the toolbar to switch between Release/debug. You can see that automatic debugging is on by looking at the "Tools>Visual Micro" menu

As concerns debug I suggest we use a new thread to discuss that otherwise it will confuse the forum because this report was a build issue.

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