Problem compiling!

  • Videogamer555
    10th Apr 2011 Member 0 Permalink
    I now have the dev environment COMPLETELY set up. But now on my FIRST COMPILE, NO EDITING DONE AT ALL (I just straight away pressed F9 to compile) I get an error message saying it can't find air.h though it IS listed in the project files under includes, and it DOES exist in the directory that it thinks it should be in. So it's like something's just not clicking right when the actual act of compiling happens.
  • Pilihp64
    10th Apr 2011 Developer 0 Permalink
    obviously the folder with the headers is not linked correctly, seems to be a common error, just mess around some more and you'll get it.
    also what are you using to compile. code blocks or visual studio?
  • Videogamer555
    10th Apr 2011 Member 0 Permalink
    Code Blocks + MinGW

    I heard that takes less space on my HDD than a full VStudio install. So that's what I'm using.

    what do you mean not "linked" correctly?



    Still need help. I can't find anything wrong with any of the file paths. Don't abandon me now. I can't figure out what to do next.

    The message says:
    C:\TPTproject\src\air.c|2|fatal error: air.h: No such file or directory|
    ||=== Build finished: 1 errors, 0 warnings ===|

    and the line in the code that's highlighted is:
    # include [air.h]

    actually it's < not [ but the forum thinks I'm posting HTML and blocks it.
    And the # is actually right next to "include" but without the space it thinks it's some kind of hyperlink.
  • tommig
    10th Apr 2011 Member 0 Permalink
    the "# include [air.h]" means to look for air.h, which should be in your includes file, when you linked the includes in the setup, check you have given the right location for the folder