Re: [osg-users] osgAL now has a CMake script

2009-04-08 Thread Msrsas
Hi all, I am new to OSG and doing some school project using OSG. I am interested in adding audio in my osg application. I have tried to build osgal using CMakeList provided by Sukender. but it is giving me following error CMake Error in src/openalpp/CMakeLists.txt: Cannot find source file

Re: [osg-users] osgAL now has a CMake script

2009-04-08 Thread Sukender
Hi Vikas, That sounds strange since I don't have the error. I added quotes to paths (in case your path contains spaces). Please update and test, and then contact me directly by email to report if it worked or not (since we may not pollute osg mailing lists with it). See you later! Sukender

Re: [osg-users] osgAL now has a CMake script

2009-04-08 Thread Sukender
Hi Vikas, That sounds strange since I don't have the error. I added quotes to paths (in case your path contains spaces). Please update and test, and then contact me directly by email to report if it worked or not (since we may not pollute osg mailing lists with it). See you later! Sukender

Re: [osg-users] osgAL now has a CMake script

2009-01-05 Thread Sukender
Yep! Good idea! Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ Le Mon, 05 Jan 2009 16:39:38 +0100, Wang Rui wangra...@gmail.com a écrit: Hi Sukender, Thanks. I always make an out-of-source build, to keep the source tree clean. Glad to see that osgAudio

Re: [osg-users] osgAL now has a CMake script

2009-01-05 Thread Sukender
Hi again, I commited the INCLUDE_WITH_VARIABLES changes and fixed a few bugs. I also tested with dependencies in a single directory and now it works. I hope that's ok under linux/gcc (and other platforms/compilers); could you test it please? Thanks. Sukender PVLE - Lightweight cross-platform

[osg-users] osgAL now has a CMake script

2009-01-05 Thread Sukender
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

Re: [osg-users] osgAL now has a CMake script

2009-01-05 Thread Wang Rui
Hi Sukender, I have tested osgAL on Arch Linux 0.72 and GCC 4.0.3. It also works after some changes. :-) First, I think there should be an important definition for openalpp. Modify the CMakeLists.txt in src/openalpp: add_definitions( -DOPENALPP_EXPORTS -DOPENAL_VERSION=2007 #-D_USRDLL )

Re: [osg-users] osgAL now has a CMake script

2009-01-05 Thread Sukender
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

Re: [osg-users] osgAL now has a CMake script

2009-01-05 Thread Wang Rui
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

Re: [osg-users] osgAL now has a CMake script

2009-01-05 Thread Sukender
Hi Wang, I commited your FindOGG. I forgot a few things in that module and you found them! Thanks. About OPENAL_VERSION, I'm a bit embarassed since I don't know why it's not defined for linux (see WindowsStuff header). I asked the author, and I'll change the source according to his answer.

Re: [osg-users] osgAL now has a CMake script

2009-01-05 Thread Wang Rui
Hi Sukender, Thanks. I always make an out-of-source build, to keep the source tree clean. Glad to see that osgAudio goes well on its way. Maybe we'd better also start the osgPhysics project a few days later? :-) Wang Rui 2009/1/5 Sukender suky0...@free.fr Hi Wang, That's okay! I made some

Re: [osg-users] osgAL now has a CMake script

2009-01-05 Thread Sukender
Hi Wang, That's okay! I made some modifications to the source files and commited; now it should be okay. If you test, please delete your CMake cache since I did some modifications. Oh, I forgot: did you make an in-source or out-of-the-source build? Thanks. Sukender PVLE - Lightweight