This is kind of long, yes. If you feel like skipping most of this and going straight to the problem, go ahead and scroll down past this block. --------------------------------------------------------------- I am having some issues getting a game programming library known as Allegro to work properly on my system. Even if you have never heard of Allegro before, that isn't really necessary information to help me out. C++ is not one of my strongest points, so some of what I am about to say may not be useful. I am using Dev-C++ as my editor, and I think that I have installed Allegro correctly, because when I do File > New Project, the "Allegro Application" type shows up as an option. Anyways, once I choose that application type, it loads up a file with some "default" code, the first line being "#include <allegro.h>". When I try to compile, I get the error: allegro.h: No such file or directory. If I go to Tools > Package Manager, there is an "Allegro" package there, if that has anything to do with that. Just to test things out, I decided to give the absolute pathname to the allegro.h file, and so I changed that include line to look like this: #include "C:\Dev-Cpp\include\allegro.h" Now this caused the above error to disappear, but this also destroyed the functionality of the entire include system nested within that allegro.h file, as dozens more errors appeared. -------------------------------------------------------------- This is sort of difficult to explain, but basically I got several errors like these: allegro/dubug.h: No such file or directory. allegro/platform/al386gcc.h: No such file or directory. etc... All of the files I got errors for *do* exist in those above listed paths, but the include system goes to the relative path from the file it seems, which makes sense to me I suppose. If the file included is within the same folder, then it will simply include just the name of the file, but if the file is located elsewhere, it will include the file from the allegro directory. This is where my problem lies. Lets say, for example, we are in this folder: allegro/inline/draw.inl Now let's say that this file has an include like this: #include "allegro/internal/aintern.h" Instead of assuming the path "allegro/internal/aintern.h", it will view it as "allegro/inline/allegro/internal/aintern.h". Is this because I changed it from "#include <allegro.h>" to the absolute path of allegro.h? If so, then how would I get my compiler to recognize <allegro.h>. Also, what exactly is the difference between using "<>" instead of quotes in the include lines. Thanks for bearing with my limited C++ knowledge.
<> will search in standard path, " " will search in your INCLUDE_PATH , better add that directory in your include path .