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 fatal error: Servo.h : No such file or dicertory (Read 6633 times)
W0t4n
Newbies
*
Offline


Posts: 2
Joined: Jun 10th, 2015
fatal error: Servo.h : No such file or dicertory
Jun 10th, 2015 at 8:26pm
Print Post  
Hi

Using VisualMicro -last version downloaded today- in Atmel studio 6.2. I am triying to compile a sketch that basically centers and moves servos.

the Atmel Studio is executed in a VMWare WS 11 Virtual Machine.  I am including 

#include <Servo.h >

as the first line in my code.

The results of the build say 

----------
Compiling 'Hexapod_Setup' for 'Arduino Mega w/ ATmega1280'
Hexapod_Setup.ino:3:20: fatal error: Servo.h : No such file or directory
Error compiling
----------

Could you please direct me in how to solve this issue?

Thanks in advance

« Last Edit: Jun 10th, 2015 at 8:27pm by W0t4n »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: fatal error: Servo.h : No such file or dicertory
Reply #1 - Jun 10th, 2015 at 8:37pm
Print Post  
Hi,

Does it compile correctly in the arduino ide?

Thanks
  
Back to top
IP Logged
 
W0t4n
Newbies
*
Offline


Posts: 2
Joined: Jun 10th, 2015
Re: fatal error: Servo.h : No such file or dicertory
Reply #2 - Jun 10th, 2015 at 9:22pm
Print Post  
No Smiley

But it was a good suggestion, a rogue space were placed before the '>'

Next time will try it instead suspecting VM

Thx a lot.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: fatal error: Servo.h : No such file or dicertory
Reply #3 - Jun 10th, 2015 at 9:33pm
Print Post  
No probs. I didn't spot the space.

You can use "Project>add/import arduino library" to insert your lib includes, or click a library in the first tab of the Micro Explorer.
« Last Edit: Jun 10th, 2015 at 9:35pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint