Managed to get ./configure to work.
First, in a console you need to type:
Code:
sudo ln -s /usr/local/lib/allegro /lib/allegro
I ran into another error in the ./configure which said AllegroGL was missing.
Dowload AllegroGL (search google), extract to a directory, cd to it, then:
Code:
./configure
make
sudo make install
This should install AllegroGL and allow ./configure (of TA3D) to run successfully.
I have run into yet ANOTHER error while running 'make' (after a successful ./configure )
Code:
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
main.cpp: In function ‘void install_TA_files(String)’:
main.cpp:436: error: ‘file_size_ex’ was not declared in this scope
make[2]: *** [main.o] Error 1
After a brief look at the main.cpp source, it seems that the line 436:
Code:
int limit = file_size_ex( ( path_to_TA_cd + "totala2.hpi" ).c_str() ); )
could be replaced (IF you have the original TA cds) with:
Code:
int limit = FILE_SIZE_IN_BYTES ;
where FILE_SIZE_IN_BYTES is the exact size in bytes of the totala2.hpi file. This is the only occurance of this function. Perhaps someone more knowledgeable in c++ could help out on this error.
I had originally thought that this was a freeware game, but it seems you need the original TA cds. May be worth buying if someone here who owns them can get this working!
Bookmarks