Allegro

OK so im using an intel Mac and downloaded and installed Allegro as the instructions said to:

chmod +x fix.sh
./fix.sh macosx
make
sudo make install

1
2
3
4
5
6
7
8
9
#include "allegro.h"

int main(int argc, char *argv[])
{
       allegro_init();

	return 0;
}
END_OF_MAIN();


Undefined symbols:
"__install_allegro_version_check", referenced from:
_mangled_main(int, char**)in ccsy61TC.o
"___gxx_personality_v0", referenced from:
___gxx_personality_v0$non_lazy_ptr in ccsy61TC.o
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Any idea why it's not working?
You need to link your application to the allegro library by the look.
Topic archived. No new replies allowed.