allgero

hello


i am trying to write a program in C++ that has allegro functions in it.
I have downloaded it off the internet and saved in on a file on my computer. Now how do i let Visual Studios C++ (my compiler) know that i have it and let me use the allgero functions in my programs. when im try to compile programs with those functions in it it gives me an error, ( Cannot open include file: 'allegro.h': No such file or directory )


how do i do this.
please give me good instructions on how.

NiCk!

I have never used allegro but...

If you say it is a single file I suspect you need to extract/install it.

Somewhere in that installation will be a directory of header files. In the project compiler properties in VS, you need to add that directory to the directories the compiler looks through for headers used in #include statements.

The same is true for the directory with the library files. It will need to be added to the linker properties.

I haven't got VS to hand so I can't be more specific about where in properties you need to make the changes.
Topic archived. No new replies allowed.