Difference between revisions of "BuildingWithOpenAL"

From SfzWiki
Jump to: navigation, search
Line 1: Line 1:
 
you can also try  using openal instead of fmod, to do that :
 
you can also try  using openal instead of fmod, to do that :
  
* delete lugre/src/lugre_sound_fmod.cpp (so scons doesn't try to compile it)
+
* edit the file SConstruct
 +
* replace
 +
  SOUND_SYSTEM = 'fmod'
 +
  #SOUND_SYSTEM = 'openal'
 +
* by
 +
  #SOUND_SYSTEM = 'fmod'
 +
  SOUND_SYSTEM = 'openal'
  
* open lugre/src/lugre_sound.cpp  in an editor
+
* recompile (run scons)
  
** replace
+
[[User:Ghoulsblade|Ghoulsblade]] 00:03, 13 August 2007 (CEST) : warning we still have some problems with openal, so only use this if fmod doesn't work for you
 
+
  #define USE_FMOD 1
+
  //#define USE_OPENAL 1
+
 
+
** by
+
 
+
  //#define USE_FMOD 1
+
  #define USE_OPENAL 1
+
 
+
* open SConstruct in an editor
+
 
+
** replace
+
  libs = 'fmodex SDL'
+
** by
+
  libs = 'SDL'
+
 
+
** repace
+
  includes = '/usr/local/include/fmodex /usr/include/SDL /usr/include /usr/local/include include src lugre/include lugre/src'
+
** by
+
  includes = '/usr/include/SDL /usr/include /usr/local/include include src lugre/include lugre/src'
+
 
+
* recompile
+

Revision as of 22:03, 12 August 2007

you can also try using openal instead of fmod, to do that :

  • edit the file SConstruct
  • replace
 SOUND_SYSTEM = 'fmod'
 #SOUND_SYSTEM = 'openal'
  • by
 #SOUND_SYSTEM = 'fmod'
 SOUND_SYSTEM = 'openal'
  • recompile (run scons)

Ghoulsblade 00:03, 13 August 2007 (CEST) : warning we still have some problems with openal, so only use this if fmod doesn't work for you