The Compiler can not find the Peggy2.h file

Home Evil Mad Scientist Forums Ask an Evil Mad Scientist The Compiler can not find the Peggy2.h file

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20103
    Mongo Hi Power
    Participant

    The project is a Peggy2 programmed via USB from a PC, by a Unix/Linux programmer.

    The files are located:  ~/Desktop/CUT/Dispatch_Board/Arduino-1.0.1/libraries/Peggy2/Peggy2

    The Peggy2.h and the .cpp files are contained therein.

    When I compile the source code I get the Peggy2.h file not found in the verbose output.
    This is followed by “‘Peggy2’ does not name a type”

    I understand the #include function in a compiler, but the filepath is a bit of a mystery.

    TIA

    #20886
    Windell Oskay
    Keymaster

    It looks like you’ve got an extra Peggy2 folder inside your Peggy2 folder.  Put the files directly inside the libraries/Peggy2 folder.  

    Please let me know if this helps.
    #20887
    Mongo Hi Power
    Participant

    Yep.

    Did the trick.
    The compiler ran successfully.

    Many Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.