Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Sat Apr 27, 2024 7:46 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Nov 06, 2005 11:04 am 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Hi again, the new update doesn't compiles to me!!!.
I get this error message in the compile.log:
Code:
raydium/sound.c:17:2: aviso: #warning You must use OpenAL 1.1 or greater ! See configure script.
raydium/sound.c: En la función `raydium_sound_init':
raydium/sound.c:406: error: error sintáctico before '*' token
raydium/sound.c:407: error: `ALCdevice' undeclared (first use in this function)
raydium/sound.c:407: error: (Each undeclared identifier is reported only once
raydium/sound.c:407: error: for each function it appears in.)
raydium/sound.c:407: error: `pDevice' undeclared (first use in this function)
raydium/sound.c:408: error: `ALCcontext' undeclared (first use in this function)
raydium/sound.c:408: error: `pContext' undeclared (first use in this function)
raydium/sound.c:474: aviso: implicit declaration of function `alcGetCurrentContext'
raydium/sound.c:475: aviso: implicit declaration of function `alcGetContextsDevice'
raydium/sound.c:476: error: `tempString' undeclared (first use in this function)
raydium/sound.c:476: aviso: implicit declaration of function `alcGetString'
raydium/sound.c:476: error: `ALC_DEVICE_SPECIFIER' undeclared (first use in this function)

I use (linux) debian sarge and there is no openAL 1.1 package, so it may be a problem. retrocompatibility?

I have done
make clean_f
./configure
make

Finally i have removed -lalut in makefile, but the error persist.
I have tried to remove the openal in the makefile and the error persist.
And without compiling i can't advance.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 06, 2005 5:06 pm 
Offline

Joined: Sun Mar 16, 2003 10:27 am
Posts: 404
have you try to compile the source for install openal 1.1.
you can get it here on the cvs repository:
http://www.openal.org/downloads.html


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 06, 2005 5:32 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Thanks, fixed. You must still remove -lalut from Makefile and *comp* scripts (may try to do it automatically from configure script).


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 06, 2005 7:09 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
which was the problem?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 06, 2005 7:25 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Me. I've switched to OpenAL 1.1 to write the "new" sound.c, and I've done the "retrocompatibility" to OpenAL 1.0 by memory only, and missed some OpenAL 1.1 only features.

OpenAL 1.1 is absolutely not compatible with OpenAL 1.0 (and it's better like this), that's why I want to stop to support OpenAL 1.0 now.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 06, 2005 7:48 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
hmmm, ok i understand... but maybe maintain the retrocompatiblity during a few motnhs coul dbe reasonable... until the new versions of the distros support natvely openal 1.1


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 06, 2005 8:21 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
It's now done, thanks to your post ;) (for Linux, at least). The only "new" thing I can make is to autodetect OpenAL 1.0 at configure time and get Makefile and comp scripts to take care to link to alut or not.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 198 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group