Author Topic: ERROR: 'Unknow sound factory:OpenAL' [Solved!]  (Read 1811 times)

yaoyansi

  • Guest
ERROR: 'Unknow sound factory:OpenAL' [Solved!]
« on: 15 March 2008, 03:32:20 »
hi,all
I follow this thread
http://www.glest.org/glest_board/viewtopic.php?t=3271
and build glest-source-3.1.2 in both debug and release mode.

The difference is that i append xerces-c_static_2.lib to 'Linker -> Input -> Additional Dependencies ' becuase of some link errors.
Now, my Additional Dependencies are
dsound.lib
dxguid.lib
ogg_static.lib
vorbis_static.lib
vorbisfile_static.lib
xerces-c_2.lib
opengl32.lib
glu32.lib
wsock32.lib
libglest.lib
mmc.lib
libcmt.lib
xerces-c_static_2.lib

Then game.exe is generated.

I extract the data files to  glest-source-3.1.2\ directory, and copy deps\bin\*.dll and game.exe to glest-source-3.1.2\.

But, when i run game.exe(both debug and release mode), it complains "Unknow sound factory :OpenAL".
Could anyone tell me why? and what can i do now?
Thanks.
« Last Edit: 15 March 2008, 05:52:36 by yaoyansi »

Duke

  • Guest
(No subject)
« Reply #1 on: 15 March 2008, 04:02:44 »
is there a special reason you are recompiling?
otherwise you could simply use the official version.
And If you want to play multiplayer you even have to.
« Last Edit: 1 January 1970, 00:00:00 by Duke »

yaoyansi

  • Guest
(No subject)
« Reply #2 on: 15 March 2008, 05:56:39 »
It is solved!

Comparing with the official version, i find there is a difference in glest.ini.

so, open glest-source-3.1.2\glest.ini
change
'FactorySound=OpenAL'
to
'FactorySound=DirectSound8'

And, it works well now.   :)
« Last Edit: 1 January 1970, 00:00:00 by yaoyansi »

yaoyansi

  • Guest
(No subject)
« Reply #3 on: 15 March 2008, 06:00:31 »
Quote from: "Duke"

is there a special reason you are recompiling?
otherwise you could simply use the official version.
And If you want to play multiplayer you even have to.


yeah, but i wanna to go further to find out how the developers designe such a wonderful 3d RTS game! :)
« Last Edit: 1 January 1970, 00:00:00 by yaoyansi »