CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    1,689

    Why can't my compiler find a file?

    When I try to compiler jost (a JSON parser) I get a ton of errors, the first being jost/Array.hpp: No such file or directory.

    I've imported all of the jost files into my project. They are located in Project\jost

    I'm looking at the file that it says that can't be found. Why is this? Dev-C++, GNU C++ compiler. I shouldn't have to add anything to the linker because it's all source code, no library.

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: Why can't my compiler find a file?

    Check your Additional Include Directories. You may even want to put the particular directory in there even if it "should" be found normally, just to be sure.

  3. #3
    Join Date
    Jan 2009
    Location
    IN my computer,
    Posts
    24

    Re: Why can't my compiler find a file?

    did you include the files in the actual headder? also the including a dir is a good idea.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured