[Openal] Failed to Open Device in Linux

Casey Borders thebeast.13 at gmail.com
Sun Dec 9 20:10:26 PST 2007


Ok, here's what I am doing and I can't get my app to find the new version of
OpenAL.  Please forgive these noobish issues, I am not that experienced with
developing on Linux.

$ svn co http://www.openal.org/repos/openal/branches/openal_linux openal
$ cd openal/linux
$ sh autogen.sh
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see
the
autoheader: WARNING: documentation.
$ ./configure --prefix=/usr/local
$ make
$ sudo make install
$ sudo ldconfig

Then I go to my app and do:
$ ./bootstrap
$ ./configure
...
checking for OPENAL... configure: error: Package requirements (openal) were
not met:

No package 'openal' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables OPENAL_CFLAGS
and OPENAL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

libopenal.a and libopenal.so are in /usr/local/lib so I don't think that's a
non-standard location, but I set up a OPENAL_LIBS environment variable that
pointed there just incase, but it case the same thing. :(

On Dec 9, 2007 7:11 AM, Chris Robinson <chris.kcat at gmail.com> wrote:

> On Sunday 09 December 2007 03:42:55 am Casey Borders wrote:
> > This is the code I use to initialize OpenAL and it works fine on
> Windows,
> > but crashes every time in Linux when the call to alcOpenDevice() fails.
>  I
> > have even tried hard coding the NULL and that still fails.  It says
> "OGRE
> > EXCEPTION(40961:): Failed to open Device: OpenAL Error: The specified
> > source name is not valid in initializeDevice"
>
> What version of OpenAL? The last release (0.0.8) doesn't support device
> enumeration, I don't think. The latest SVN version should work, but a
> better
> idea might be to try OpenAL Soft <http://kcat.strangesoft.net/openal.html
> >.
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20071209/bbb99737/attachment.html


More information about the Openal mailing list