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 game engine - http://pvle.sourceforge.net/ Le Mon, 05 Jan 2009 12:11:30 +0100, Sukender <suky0...@free.fr> a écrit: > 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 <wangra...@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 <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 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org