(Updated) OpenAL; Unable to load Dependencies
Hello,
I'm developing an OpenAL app using the Tao Framework, which worked fine up untill I had to reinstall Windows.
I reinstalled the framework + VC#, loaded the project, which had the same dependencies, but now I get this:
InnerException : {"Unable to load DLL 'alut.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}
Souce : Tao.OpenAL
The reference to Tao.OpenAL is still in the project and its install path is the same as before (C:\Program Files\TaoFramework). I get no error at compile-time, saying "Alut.something" is not defined, and yet a fresh installation of TF 2.1.0 doesn't seem to find it..
Can anyone please tell me what I'm omitting and point me in the right direction ?
Thank you,
Alex.

Do you have alut installed?
Do you have alut installed? If not, you can find the missing dll in C:\Program Files\TaoFramework (there should be a folder named win32 depenencies). You can either place that in the same folder as the exe you are trying to run, or copy it to the C:\Windows\System32 folder, to install it for all applications.
------
OpenTK
That's it! Thanks a lot for
That's it!
Thanks a lot for the swift response
That's what I forgot to do ...copy the .dll into \System32.
It works fine now.
Thanks again!
Alex.
Hate to be a pest.. I'm
Hate to be a pest..
I'm sorry to bother again, but now I seem to get similar problems, because an alcIsExtensionPresent() call now returns ALC_FALSE.
I've downloaded & ran oalinst.exe from Creative, which I thought would solve the problem, but it didn't.
I also saw that the Tao \lib\OpenAL32.dll and \lib\wrap_oal.dll differ than that of Creative's.
I replaced the ones installed with these ones, in \system32, but again, with no effect.
Dependencies are a headache...
Can you please help ?
10x,
Alex.
It is likely that the
It is likely that the extension you are checking for isn't supported by your audio chipset/drivers. Try updating your drivers.
If this doesn't help (and it generally doesn't, unless you are using a creative sound card), try downloading OpenAL Soft - it's a much more up to date and stable implementation (this is set to replace the SI).
------
OpenTK
Actually, I do own a
Actually, I do own a Creative X-Fi Xtreme Audio, which surely supports "AL_EXT_EFX" - the effects extension, and I have my drivers up-to-date.
I had all this working for me, but I was doomed to reinstall Windows, and it all came crashing down 8-|. I didn't have any problems of this sort before, and I'm kinda reluctant, thinking that I have to download/install OpenAL Soft, Cmake, Visual Studio 2005 (because I only have VC#), gigabytes of Microsoft Platform SDK and so-forth, just to resolve a dependency issue...
I'll keep tryin' stuff out, and if I can't find the root of my problem, I guess I'll have no choice...
Regardless, I thank you for the advice, Stephen.
Alex.
Then it should have
Then it should have worked... Maybe you could try reinstalling the drivers?
If you decide to go the OpenAL Soft way, you could "just" install VC++ 2008 Express (which includes the Platform SDK) and the DirectX SDK (for dsound.h and dsound.lib). Or, if you prefer, PM me with an email, and I can mail you the binaries.
------
OpenTK
To properly use your X-Fi
To properly use your X-Fi you should be installing the X-Fi drivers, they come with a hardware supported OpenAL (better clean up all OpenAL stuff first). What audio device does OpenAL says it's using?
----------------------
Download Tao svn snapshot build
Experimental Tao rpms (OpenSUSE Build Service)
..I know reckon that's the
..I know reckon that's the thing...the device seems to be "Generic Hardware" ..so it seems my OpenAL router isn't finding my native implementation.
..I've searched for ctoal.dll, and it's not to be found...My X-Fi drivers don't install it, and neither does the OpenAL Installer from the Creative site.
Could this be the root of my troubles ? and if so, where can I get it ?
As a follow-up to my
As a follow-up to my previous post...
With the help of mailing lists, I found out My X-Fi Xtreme Audio Notebook is a host-based X-Fi card so some of the filenames are different compared to a hardware-based X-Fi card (ct_oal is actually sens_oal - which again, is missing, nothing seems to install it)
Further more, On Windows XP the "Generic Hardware" device can be used to get EAX 2,3,4 and EFX Extension support on the X-Fi Xtreme Audio card, so it's ok, after all.
I've additionally disabled by on board card, and still "GH" is returned as the opened device..it has to be the right one...
Found the problem : At the
Found the problem :
At the time I began to work on my app, I've referenced the old Tao Framework 2.0.0 in the VC# project. The .dlls then got saved in the projects \Release folder, and somehow didn't get updated (& worked!) when I installed the new version (2.1.0)
... Upon Win reinstallation, I installed only v2.1.0, and the projects' own libraries (although linked to the new installation) remained the same.
I took a look at the Tao dlls in the projects' folders, and saw there was a size difference between them and the ones in the Tao install directory. I replaced them, and everything is now going fine.
Thanks for the support.
Best regards,
Alex.
You are absolutely right !!!
You are absolutely right !!!