Split from: Atmel Studio 7.0.1416/1417

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

how can I answer  it ?

   err

leeeunglae

Last Edited: Fri. Apr 21, 2017 - 03:34 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well the error is fairly clear - it cannot find a header file called Servo.h in any of the searched locations.

 

Either put the Servo.h it is looking for into one of the places it is already looking. Or alternatively tell it the additional place it should look in order to find it.

 

Clearly this is an Arduino originated project. Did you use the AS7 tool to import the Arduino sketch?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Can you actually read the error message in that image??

 

Posting a screenshot is a really unhelpful way to do this.

 

A much better way is to post the code as text - as described here: http://www.avrfreaks.net/wiki/ad... (see the 'edit draft' tab for a picture)

 

And post the error by copy-paste from the Studio 'Output' window.

 

I think the error says

 

Servo.h - no such file or directory

Which means

  • Either: there is no file called  'Sevo.h' anywhere on your machine at all;
  • Or: the file 'Sevo.h' is present, but is not in any of the locations where the compiler is looking for it.

 

You tell the compiler where to search for include files by using the Include Paths setting ...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:
Can you actually read the error message in that image??

Yes.

awneil wrote:
Posting a screenshot is a really unhelpful way to do this.

I tend to disagree.

 

awneil wrote:
A much better way is to post the code as text - as described here: http://www.avrfreaks.net/wiki/ad... (see the 'edit draft' tab for a picture)

As always, "it depends".  I often post a screenshot here.  The problem sometimes is getting full context.  If the above question boils down to the details in the full invocation sequence, then a screenshot may not capture it all.

 

And I guess if you are having problems seeing the 'important' part, then it could be a rendering situation.

 

But then I run my browser with a magnification level 100% or more.  In this situation, what do you see after a couple Ctrl  +  combinations?

 

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.