[Openal] OpenAL Soft's alcOpenDevice returns null

Chris Robinson chris.kcat at gmail.com
Thu Mar 13 08:23:28 PDT 2008


On Thursday 13 March 2008 07:51:13 am stapostol wrote:
> Chris, could this be a bug in OpenAL Soft?

Double check that OpenAL Soft built with DirectSound support. When you ran 
cmake, it should say things like:

-- Looking for dsound.h
-- Looking for dsound.h - found
-- Performing Test HAVE_LIBDSOUND
-- Performing Test HAVE_LIBDSOUND - Success

If it says not found and/or failed, then you need to find where to get them 
for your compiler and rebuild the lib (make sure to clear out CMakeConf first 
so cmake will re-check system libs).

If it doesn't even test those (if windows.h fails) and you're using VC, you 
may need to get the latest GIT version. VC doesn't seem to like projects 
simply including windows.h without defining _WIN32_WINNT to >=0x0500.


More information about the Openal mailing list