I'm not familiar with Alegro, but in general, when using libraries that are not part of the C/C++ standard library, you are going to need to add those libraries to your command line. (e.g. I'd try adding something like -lallegro) Also, if it's not in your standard library paths, you will need to include the path to it in your search paths. (e.g. -L/path/to/allegro/lib)
And if you are getting compile errors where it can't find the function definitions, it is possible your headers are not in the search path for headers. You fix this by including an option to add the path to your header to the header search path. (e.g. -I/path/to/allegro/include)
Last edited by deiussum; 12-22-2003 at 08:35 AM.
|