Hi Sukender,

I have just built osgAL on my Windows XP and VS9. It works for me after some
modifications. I had put the ogg, vorbis and openal headers into 3 different
directories. The structure is:

3rdParty -> include -> AL, ogg, vorbis
             -> lib -> ...

And there were building errors while using the CMake 2.6 system to generate
Makefiles, simply because some projects couldn't find the vorbis header
"vorbis/vorbisfile.h". I modified the CMakeLists.txt of src/osgAL and all
example directories and solved them.

For example, in examples/osgal/CMakeLists.txt, change the line

INCLUDE_WITH_VARIABLES( ${EXE_NAME} OPENAL ALUT)

into

INCLUDE_WITH_VARIABLES( ${EXE_NAME} OPENAL ALUT VORBIS )

Hope that helps. Best wishes,

Wang Rui

2009/1/5 Sukender <suky0...@free.fr>

> Hi all,
>
> I created a CMake script for osgAL, so that it would be much easier to
> build.
> However, I need testing! So if you're interested in audio (and maybe in the
> osgAudio layer, in the future), please test building (and using if you have
> enough time) osgAL *from the trunk*. I personally tested it under
> Windows+MSVC8 (out-of-the-source build) and it works fine. Feel free to
> email me directly.
>
> Thank you.
>
>
> Checkout osgAL SVN trunk at
> https://osgal.svn.sourceforge.net/svnroot/osgal
>
> Dependencies:
> - OpenAL or OpenAL-Soft ( http://kcat.strangesoft.net/openal.html#download)
> - ALUT or freeALUT ( Maybe
> http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx?RootFolder=%2fopenal%2fDownloads%2fALUT&FolderCTID=&View=%7b6A9700C6%2d7248%2d4CD2%2d83F5%2d268F2C176072%7d)
> - libOGG and libVorbis ( http://xiph.org/downloads/ )
> - And of course OSG!
>
> Sukender
> PVLE - Lightweight cross-platform game engine -
> http://pvle.sourceforge.net/
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to