First of all, hi! :D I'm beginning to program in c++ using allegro and I ran into some early trouble.
You see, these two questions don't actually stop me from programming but they're just frustrating annoyances. First of all I'm running Mac OS 10.4 and these are my problems: How do you compile a small program with allegro on the command line, I mean, I've been using xCode but I like the command-line better for now
so I tried "gcc example.cpp -framework Allegro" and it returns the oddest of bugs:
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status
(What the hell?)
Note that I can use the command line to compile pure c++ programs and xCode to compile allegro applications.
Secondly when I have to put a path in an allegro application I see many examples that just use "example.bmp" but the only way I can get it to work is by putting the full path even thought the file is in the same directory as the code. How could I make it so that I don't have to go around looking for full paths?
Anyways thanks very much in advance, congratulations for the great site!