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 Arduino Nano Every not compiling (Read 1537 times)
Steve__
Newbies
*
Offline


Posts: 2
Joined: Mar 28th, 2023
Arduino Nano Every not compiling
Mar 28th, 2023 at 1:06pm
Print Post  
Hi,
just trying out Arduino with Micro visual
Arduino UNO works fine, and breakpoints work etc

tried Arduino Nano Every 
keep getting same error

no such file or directory "api/common.h"

(common.h = LOW and HIGH definitions etc)

IDE selected Arduino 2.0
board = Arduino Nano Every (nona4809)

any advice woud be great 
Thanks
« Last Edit: Mar 28th, 2023 at 1:08pm by Steve__ »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2709
Joined: Feb 13th, 2019
Re: Arduino Nano Every not compiling
Reply #1 - Mar 28th, 2023 at 7:06pm
Print Post  
Please attach the full build output with the settings enabled as shown at the top of the page in the yellow box.
  
Back to top
IP Logged
 
Steve__
Newbies
*
Offline


Posts: 2
Joined: Mar 28th, 2023
Re: Arduino Nano Every not compiling
Reply #2 - Mar 30th, 2023 at 3:27pm
Print Post  

Compiling debug version of 'Sketch1' for 'Arduino Nano Every(nona4809)'
Error compiling variant
Debug build failed for project 'Sketch1'

TRIAL Version of Visual Micro (Expires On 07 May 2023)
(Existing customer? CTRL+click Or go to this link (https://www.visualmicro.com/page/Trial-Mode-VS2022.aspx)
 
variant.c: 4:10: fatal error: api\Common.h: No such file or directory
   #include "api\Common.h"
   ^~~~~~~~~~~~~~
   compilation terminated
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino Nano Every not compiling
Reply #3 - Mar 30th, 2023 at 3:28pm
Print Post  
Please provide the information requested in yellow above as a .txt file
« Last Edit: Apr 3rd, 2023 at 8:45pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint