[osg-users] osgAL now has a CMake script

Sukender suky0001 at free.fr
Mon Jan 5 03:11:30 PST 2009


Hi Wang

Thank you very much.

Dependencies are normally in different directories. But if you put all of them together, then you may change inlude and lib dirs variables in CMake... I have to chek it.
And thanks for the "INCLUDE_WITH_VARIABLES" modification. I'll write it and commit soon (this afternoon for me ~= 12:30 PM GMT).

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/


Le Mon, 05 Jan 2009 11:45:24 +0100, Wang Rui <wangray84 at gmail.com> a écrit:

> 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 <suky0001 at 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 at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




More information about the osg-users mailing list