Discussion:
Errors durning compile of OpenAL EFX - Right one
Qba O
2012-04-04 13:30:43 UTC
Permalink
Sorry for my latest message with html attachment this is the right one.

I installed openAL tried to compile sources but i get this error:

In file included from /usr/include/AL/alFilter.h:5:0,
from /usr/include/AL/alAuxEffectSlot.h:6,
from engine/core/audio/fife_openal.h:35,
from engine/core/audio/soundmanager.h:35,
from engine/core/controller/engine.cpp:37:
/usr/include/AL/alu.h:124:52: error: expected ‘,’ or ‘...’ before ‘data’
/usr/include/AL/alu.h:204:17: error: ‘ALint64’ does not name a type
/usr/include/AL/alu.h:206:17: error: ‘ALint64’ does not name a type
/usr/include/AL/alu.h:208:17: error: ‘ALint64’ does not name a type
In file included from engine/core/audio/fife_openal.h:35:0,
from engine/core/audio/soundmanager.h:35,
from engine/core/controller/engine.cpp:37:
/usr/include/AL/alAuxEffectSlot.h:30:5: error: ‘RefCount’ does not name a type

I happens when I include alAuxEffectSlot.h to my sources. When I dont include this alu.h compiles ok. I used openal linux libraries. Whats wrong here? How I can solve it?
Michael Zucchi
2012-04-04 22:52:45 UTC
Permalink
/usr/include/AL/alu.h:124:52: error: expected‘,’ or‘...’ before‘data’
/usr/include/AL/alu.h:204:17: error:‘ALint64’ does not name a type
/usr/include/AL/alu.h:206:17: error:‘ALint64’ does not name a type
/usr/include/AL/alu.h:208:17: error:‘ALint64’ does not name a type
In file included from engine/core/audio/fife_openal.h:35:0,
from engine/core/audio/soundmanager.h:35,
/usr/include/AL/alAuxEffectSlot.h:30:5: error:‘RefCount’ does not name a type
You have to include al.h and alc.h first?

Loading...