Difference between revisions of "BuildingWithOpenAL"

From SfzWiki
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
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)
+
run "scons SOUND_SYSTEM=openal" instead of just "scons"
 
+
* open lugre/src/lugre_sound.cpp in an editor
+
 
+
** replace
+
 
+
  #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
+

Latest revision as of 12:47, 25 August 2007

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

run "scons SOUND_SYSTEM=openal" instead of just "scons"