   Help with setting up Allegro?
  Hi,I have Visual C++ 2008 Express Edition. I tried downloading allegro today, and when i tried to compile this example program:#include <allegro.h>int main(){allegro_init();install_keyboard();set_gfx_mode( GFX_AUTODETECT, 640, 480, 0, 0);readkey();return 0;} END_OF_MAIN(); I get this error: fatal error C1083: Cannot open include file: 'allegro.h': No such file or directoryI'm a beginner, but I did the thing where you go to Tools-Options-VC++ Directories, and I added the include and lib folders to their right places. I also went to project properties and added "alleg.lib"I'm thinking maybe I installed the wrong version or something. I have Windows Vista, and Visual C++ 2008. If this is the case, can someone give me a link to the right thing I should download?Thanks   
  Follow these steps.   ;Quote:Original post by ChocolateI did the thing where you go to Tools-Options-VC++ Directories, and I added the include and lib folders to their right places.You can try changing #include <allegro.h> to #include <allegro/allegro.h> (this is the format for the Allegro 5 release candidates I think).If that doesn't work, then you must not have added the include folder properly.  Ensure you added C:\allegro\inc\ instead of C:\allegro\, where C:\allegro\ is your installation path.   ;  No luck...I've done EVERYTHING, I don't know what else I can do. Can someone PLEASE help me...   ;  Are you absolutely positive you have "path_to_allegro\include\" for the include directory?  And are you absolutely positive you have "path_to_allegro\lib\" for the library directory?   ;  Absolutley. I've checked at least 50 times by now. I think I'm going to try reinstalling Visual C++. I wont have to re register, will I?   ;  There's no need to re-install, that won't do anything.  In fact, you'll end up having to retype the include directory and the lib directory again; which makes me suspect you might have a typo.  Try using windows explorer to navigate to the actual directory location of allegro.h then copy-paste the directory into visual studio.And are you absolutely sure that you added Allegro's include directory under "Show directories for:  Include files"?  And are you absolutely sure that you added Allegro's library directory under "Show directories for:  Library files"?   ;  I've tried all of it, what makes me think I need to reinstall is when I first got it I didnt understand it at all and I was messing with a lot of the settings, when I was setting up SDL. Will i have to register again?   ;  If you do need to register, and for some reason or another it won't allow to register, call up Microsoft and explain to them what happened and ask them for another key.  Otherwise, you could install the express version of Visual Studio.[Edited by - _fastcall on June 26, 2009 7:09:37 PM];  Didn't work... I guess I should just give up and go back to SDL   