Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Library file is not found if it's not #included in the sketch #3456

Closed
Labels
Component: CompilationRelated to compilation of Arduino sketches
Milestone
@JulyJim

Description

This is just a question why, being posted here because I am tired of Arduino.cc forum morons personal insults, beside they are not qualified to intelligently answer my question anyway. .

But if you have a problem with me posting my question here just skip this post.

I have x.ino file with #include "CMain.h" where I have int main () function processing my application code. It all works just fine, no problem.

When I add #include<address.h> (#include left less than address.h right greater than) as first line in my x.ino my application compiles and still works.

When I move the #include<address.h> (#include left less than address.h right greater than) as first line in / into my CMain.h the compiler cannot find the file anymore, so I get "No such file or directory".

What , why or who is stopping the Windows OS / compiler (?) search for the (#include left less than address.h right greater than) file ?

Just a question , I got no problem putting all my includes in x.ino file.

Thanks for your time
Vaclav

PS I can see #include left less than address.h right greater than during editing but when I post / save it the file name is missing !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CompilationRelated to compilation of Arduino sketches

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /