cplusplus.com cplusplus.com
cplusplus.com   C++ : Forums : Beginners : Allegro
  Search:
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forums
Forums
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programm...
Articles
Lounge
Jobs

-

post  Allegro

bluegray (34)
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?
|
Zaita (1562)
You need to link your application to the allegro library by the look.
|

This topic is archived - New replies not allowed.
Home page | Privacy policy
© cplusplus.com, 2000-2009 - All rights reserved - v2.2
Spotted an error? contact us