Game Development Community

OpenSuse 11.0 and Torque 1.5.2 -- compiling issues.

by Keith Mc Dowell JR · in Torque Game Engine · 09/11/2008 (12:24 pm) · 1 replies

Attempting to compile 1.5.2; after I saw that it work with OpenSuse 10.3 :) But no go..
OpenAL -- deve installed
NASM installed
SDL installed

However I get the following error messages:
--> Compiling audio/audio.cc
'-mcpu=' is deprecated. Use '-mtune=' or '-march=' instead.

^^^^ -- I've change the con.GCC.mk and con.Linux.mk to which to CFLAGS += -mtune=i686
Using gcc and g++ 4.3.1

In file included from ./platform/platformAL.h:25,
from ./platform/platformAudio.h:16,
from ./audio/audio.h:10,
from audio/audio.cc:6:
../lib/openal/LINUX/al/al_func.h:18: error: '' has incomplete type
../lib/openal/LINUX/al/al_func.h:18: error: invalid use of 'ALvoid'
In file included from ./platform/platformAL.h:26,
from ./platform/platformAudio.h:16,
from ./audio/audio.h:10,
from audio/audio.cc:6:
../lib/openal/LINUX/al/alc_func.h:11: error: '' has incomplete type
../lib/openal/LINUX/al/alc_func.h:11: error: invalid use of 'ALCvoid'
audio/audio.cc: In function 'bool cullSource(U32*, F32)':
audio/audio.cc:252: error: too few arguments to function
audio/audio.cc: In function 'AUDIOHANDLE alxCreateSource(const Audio::Description*, const char*, const MatrixF*, AudioSampleEnvironment*)':
audio/audio.cc:731: error: too few arguments to function
audio/audio.cc: In function 'void alxLoopingUpdate()':
audio/audio.cc:1732: error: too few arguments to function
audio/audio.cc: In function 'void alxStreamingUpdate()':
audio/audio.cc:1833: error: too few arguments to function
audio/audio.cc: In function 'bool Audio::OpenALInit()':
audio/audio.cc:2414: error: too few arguments to function
audio/audio.cc:2419: error: too few arguments to function
audio/audio.cc:2441: error: too few arguments to function
make[1]: *** [out.GCC4.3.1.RELEASE/audio/audio.obj] Error 1