make error

You have a problem with TA3D, it doesn't run or it crashes...
/
Vous avez un problème avec TA3D, il ne se lance pas ou plante...
Post Reply
Maric604
Posts: 4
Joined: Wed Dec 03, 2008 9:10 am

make error

Post by Maric604 » Wed Dec 03, 2008 9:22 am

I love ta and would really like to try this version of it but I cannot complete a successful make after ./configure. I am running ubuntu 8.10 and have installed the allegro libraries. This is what I get:

james@james-desktop:~/games/ta3d$ make
make all-recursive
make[1]: Entering directory `/home/james/games/ta3d'
Making all in src
make[2]: Entering directory `/home/james/games/ta3d/src'
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include -ffast-math -mmmx -MT ta3d.o -MD -MP -MF .deps/ta3d.Tpo -c -o ta3d.o ta3d.cpp
In file included from /usr/local/include/allegrogl/gl_ext.h:27,
from /usr/local/include/alleggl.h:73,
from stdafx.h:80,
from ta3d.cpp:22:
/usr/local/include/allegrogl/GLext/gl_ext_api.h:1827: error: ‘<anonymous>’ has incomplete type
/usr/local/include/allegrogl/GLext/gl_ext_api.h:1827: error: invalid use of ‘GLvoid’
In file included from TA3D_Audio.h:33,
from TA3D_NameSpace.h:33,
from ta3d.cpp:23:
tools/linux/FMOD/inc/fmod_errors.h: In function ‘char* FMOD_ErrorString(FMOD_RESULT)’:
tools/linux/FMOD/inc/fmod_errors.h:25: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:26: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:27: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:28: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:29: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:30: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:31: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:32: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:33: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:34: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:35: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:36: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:37: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:38: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:39: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:40: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:41: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:42: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:43: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:44: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:45: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:46: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:47: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:48: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:49: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:50: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:51: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:52: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:53: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:54: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:55: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:56: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:57: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:58: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:59: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:60: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:61: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:62: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:63: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:64: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:65: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:66: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:67: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:68: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:69: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:70: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:71: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:72: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:73: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:74: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:75: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:76: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:77: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:78: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:79: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:80: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:81: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:82: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:83: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:84: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:85: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:86: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:87: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:88: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:89: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:90: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:91: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:92: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:93: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:94: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:95: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:96: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:97: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:98: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:99: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:100: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:101: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:102: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:103: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:104: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:105: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:106: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:107: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:108: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:109: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:110: warning: deprecated conversion from string constant to ‘char*’
tools/linux/FMOD/inc/fmod_errors.h:111: warning: deprecated conversion from string constant to ‘char*’
In file included from TA3D_NameSpace.h:33,
from ta3d.cpp:23:
TA3D_Audio.h: At global scope:
TA3D_Audio.h:64: warning: ‘typedef’ was ignored in this declaration
TA3D_Audio.h:151: warning: ‘typedef’ was ignored in this declaration
TA3D_Audio.h:163: warning: ‘typedef’ was ignored in this declaration
In file included from ta3d.h:215,
from ta3d.cpp:28:
3do.h: In member function ‘void MODEL::save_3dm(char*, bool)’:
3do.h:820: warning: deprecated conversion from string constant to ‘char*’
In file included from ta3d.h:218,
from ta3d.cpp:28:
EngineClass.h: In member function ‘void MAP::init()’:
EngineClass.h:356: warning: deprecated conversion from string constant to ‘char*’
EngineClass.h:356: warning: deprecated conversion from string constant to ‘char*’
In file included from fbi.h:34,
from UnitEngine.h:30,
from ta3d.h:219,
from ta3d.cpp:28:
weapons.h: In member function ‘void INGAME_WEAPONS::init(bool)’:
weapons.h:419: warning: deprecated conversion from string constant to ‘char*’
In file included from ta3d.h:219,
from ta3d.cpp:28:
UnitEngine.h: In member function ‘int SCRIPT_ENV::pop()’:
UnitEngine.h:144: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h: In member function ‘int UNIT::get_script_index(int)’:
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h:702: warning: deprecated conversion from string constant to ‘char*’
UnitEngine.h: In member function ‘int UNIT::launch_script(int, int, int*, bool)’:
UnitEngine.h:725: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp: In function ‘int play(GAME_DATA*)’:
ta3d.cpp:43: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:58: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:65: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:73: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:82: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:90: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:96: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:102: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:111: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:149: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:164: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:174: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:194: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:198: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:205: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:208: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:215: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:219: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:346: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:347: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:406: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:406: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:407: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:407: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:408: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:408: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:409: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:409: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:410: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:410: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1794: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1795: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1796: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1797: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1801: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1802: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1803: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1804: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1904: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1905: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1906: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1907: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1908: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1916: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1917: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1918: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1919: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1920: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:1921: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2820: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2918: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2918: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2920: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2920: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2922: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2922: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2924: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2924: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2926: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2926: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2928: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:2928: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3059: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3110: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3111: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3229: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3232: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3234: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3236: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3238: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3240: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3242: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3244: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3247: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3250: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3253: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3256: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3262: warning: deprecated conversion from string constant to ‘char*’
ta3d.cpp:3203: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make[2]: *** [ta3d.o] Error 1
make[2]: Leaving directory `/home/james/games/ta3d/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/james/games/ta3d'
make: *** [all] Error 2
james@james-desktop:~/games/ta3d$

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Wed Dec 03, 2008 7:07 pm

hm, yes that's a common error using AllegroGL with recent GCC. To get rid of it you must edit gl_ext_api.h and replace GLvoid with void.

Since you use configure I assume you are trying to build version 0.4.2, you may be interested in 0.5.0 (current development branch) which is now very close to be released (it's stable and all features expected in 0.5.0 are present). Also we now have an apt repository with all required dependencies (for more info see http://ta3d.darkstars.co.uk/linuxdl-en.php), currently they only contain 0.5.0 packages since 0.4.2 wasn't ready for packaging (0.5.0 has much better OS integration :) ).
=>;-D Penguin Powered

Maric604
Posts: 4
Joined: Wed Dec 03, 2008 9:10 am

repositories

Post by Maric604 » Thu Dec 04, 2008 4:46 am

Thank you zuzuf. Using the repositories was my first choice but I am new to linux and I must be doing something wrong. I added the following lines to 'third party software' in software sources:

deb http://ta3d.darkstars.co.uk/apt/ stable main
deb http://ta3d.darkstars.co.uk/apt/ testing main

Then I reloaded the package information and nothing happened so I when back to software sources and deactivated the 'stable' line and reloaded again. Still nothing happened so I went to add/remove programs and looked for something like 'ta3d' but nothing was there.

After that I gave up and decided to try to compile it myself but the newest version that I could actually download was 0.4.2 so I tried that one. After reading on this site about the need for allegroGL I figured out how to use synaptic to get the libraries and finally made it past configure but then got stuck on make so I made this post. I would prefer to use the repos if I could but I cannot figure out how to install it.

I know this must be way easier than I am making it so any help on installing using the repos would be appreciated.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Thu Dec 04, 2008 8:19 am

do you use Ubuntu or Kubuntu ?
I've just tested with both adept and synaptic, adept doesn't list TA3D packages when it runs in "applications only mode" but if you run it through the link in system menu it works (it works too if you run it with a sudo adept). Synaptic list correctly the packages (since I only use KDE I only tested running it with the KDE synaptic link which may be different from GNOME links).

if neither adept nor synaptic work you can install the packages from the command line :
sudo apt-get install ta3d
=>;-D Penguin Powered

MarcusIronfist
Posts: 3
Joined: Fri Jan 09, 2009 5:00 pm
Location: Winston-Salem, NC
Contact:

What's the deal with make?

Post by MarcusIronfist » Fri Jan 09, 2009 5:08 pm

I've got the same problem with running make, and I'm using openSuSE, which you don't have a binary package for.

So with your instruction of changing "GLvoid" to just "void", should I do that with the AllegroGL package and recompile it, or do that to the .h in /usr/local/include/allegrogl ?

And btw, there's TONS of references to "GLvoid" in all the .h files for the AllegroGL package...

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Sat Jan 10, 2009 12:43 pm

we've made a package which contains several fixes:
http://ta3d.org/files/libraries/alleggl-0.4.4.tar.bz2
=>;-D Penguin Powered

MarcusIronfist
Posts: 3
Joined: Fri Jan 09, 2009 5:00 pm
Location: Winston-Salem, NC
Contact:

Post by MarcusIronfist » Thu Jan 15, 2009 1:06 am

Thanks, that new allegrogl solved the problem.

I have all the Windows TA cd sets... original, Core Contingency, and Battle Tactics.

Can't wait to play them on my linux laptop.

Argh, compile worked with no errors (but some warnings), and I copied the .hpi files from my original TA and TA:BT cd's (couldn't find any .hpi files on the TA:CC disc), and when I run the binary, I get just a bright white window, no images...

And the stderr has 2 sets of error listings:

[tdf] Unable to open `/home/marcus/.ta3d/ta3d.cfg`
 [error] [settings] Impossible to load the settings from `/home/marcus/.ta3d/ta3d.cfg`

and

[error] [tdf] Unable to open `gui/main.area`

Plus a _TON_ of warnings... HELP!

My machine is an HP laptop with a 1.6Ghz AMD Mobile Sempron, an ATI Mobility 200 onboard vid, 768mb of ram (with 128mb being allocated to the vid), and an 800mb swap partition. I have the most recent non-OSS ATI driver from their website (which works fine for games like WarZone 2100 and NeverWinter Nights).

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Thu Jan 15, 2009 8:12 am

the config file error is not critical, it should disappear once the game has created it.

Now if it does find its files, that means it tries to use the wrong paths.
There are 2 ways to build/run the game:
* build and install the package:

Code: Select all

cmake ./
make
cpack ./
sudo dpkg -i TA3D-*.deb
* build the game and run it without installing it (I use it that for development):

Code: Select all

cmake ./
# edit config.h and undef the TA3D_OVERRIDE_PATHS
make
./ta3d :)
but if you have the repositories configured you can install the game this way:
sudo apt-get install ta3d
=>;-D Penguin Powered

MarcusIronfist
Posts: 3
Joined: Fri Jan 09, 2009 5:00 pm
Location: Winston-Salem, NC
Contact:

Post by MarcusIronfist » Thu Jan 15, 2009 4:48 pm

Ok, I did the config.h edit and recompiled.

The game plays fine if I use "./ta3d" in the svn download folder, but still acts goofy if I try running the copy "make install" put into /usr/local/games.

And is there a way to make all that stderr output go away (like maybe to a log file instead)?

As far as using a repo copy, the packman.de repo only has v0.5.1 available, whenever I find an svn of something I like with a newer ver than the repo, i like to go with the svn copy.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Thu Jan 15, 2009 5:51 pm

currently the "make install" command works only if you tell cmake to install it in /usr and not /usr/local. But you can create your own RPM package with cpack (by default it'll try to build a DEB and a RPM package).
=>;-D Penguin Powered

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests