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 AudioBase.  Tried extensions .c .C .c++ .cc .cpp
  .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

I am using .NET2003 and Cmake 2.6.3

Thanks,
Vikas

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9895#9895





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/


Le Wed, 08 Apr 2009 12:48:19 +0200, Sukender suky0...@free.fr a écrit:

 Investigation process start.. OK

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


 Le Wed, 08 Apr 2009 12:17:24 +0200, Msrsas cgvr.msr...@gmail.com a écrit:

 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 AudioBase.  Tried extensions .c .C .c++ .cc .cpp
   .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

 I am using .NET2003 and Cmake 2.6.3

 Thanks,
 Vikas

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=9895#9895





 ___
 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


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
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/


Le Wed, 08 Apr 2009 12:48:19 +0200, Sukender suky0...@free.fr a écrit:

 Investigation process start.. OK

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


 Le Wed, 08 Apr 2009 12:17:24 +0200, Msrsas cgvr.msr...@gmail.com a écrit:

 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 AudioBase.  Tried extensions .c .C .c++ .cc .cpp
   .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

 I am using .NET2003 and Cmake 2.6.3

 Thanks,
 Vikas

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=9895#9895





 ___
 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


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 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 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 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


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 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%2fALUTFolderCTID=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


[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 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%2fALUTFolderCTID=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


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
)

Otherwise I got lots of compile errors because of missing the OpenAL
version. The OPENAL_VERSION macro had been defined in the configure.in before
and maybe it could be made as an CMake option to users from now on.

And I would suggest do a few changes to the FindOGG.cmake, especially the
FIND_LIBRARY(OGG_LIBRARY ...) macro, to make it work in Linux. See
attachment for details.
Cheers,

Wang Rui
2009/1/5 Sukender suky0...@free.fr

 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/

# Locate OGG
# This module defines
# OGG_LIBRARY
# OGG_FOUND, if false, do not try to link to OGG 
# OGG_INCLUDE_DIR, where to find the headers
#
# $OGGDIR is an environment variable that would
# correspond to the ./configure --prefix=$OGGDIR
# used in building OGG.
#
# Created by Sukender (Benoit Neil). Based on FindOGG.cmake module.

FIND_PATH(OGG_INCLUDE_DIR
NAMES ogg/ogg.h ogg/os_types.h
HINTS
$ENV{OGGDIR}
$ENV{OGG_PATH}
PATH_SUFFIXES include
PATHS
~/Library/Frameworks
/Library/Frameworks
/usr/local
/usr
/sw # Fink
/opt/local # DarwinPorts
/opt/csw # Blastwave
/opt
)

FIND_LIBRARY(OGG_LIBRARY 
ogg
HINTS
$ENV{OGGDIR}
$ENV{OGG_PATH}
PATH_SUFFIXES win32/Dynamic_Release lib
PATHS
~/Library/Frameworks
/Library/Frameworks
/usr/local
/usr
/sw
/opt/local
/opt/csw
/opt
)

FIND_LIBRARY(OGG_LIBRARY_DEBUG 
ogg_d
HINTS
$ENV{OGGDIR}
$ENV{OGG_PATH}
PATH_SUFFIXES win32/Dynamic_Debug lib
PATHS
~/Library/Frameworks
/Library/Frameworks
/usr/local
/usr
/sw
/opt/local
/opt/csw
/opt
)


SET(OGG_FOUND NO)
IF(OGG_LIBRARY AND OGG_INCLUDE_DIR)
  SET(OGG_FOUND YES)
ENDIF(OGG_LIBRARY AND OGG_INCLUDE_DIR)

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 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%2fALUTFolderCTID=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


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 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%2fALUTFolderCTID=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


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.

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


Le Mon, 05 Jan 2009 14:30:50 +0100, Wang Rui wangra...@gmail.com a écrit:

 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
 )

 Otherwise I got lots of compile errors because of missing the OpenAL
 version. The OPENAL_VERSION macro had been defined in the configure.in before
 and maybe it could be made as an CMake option to users from now on.

 And I would suggest do a few changes to the FindOGG.cmake, especially the
 FIND_LIBRARY(OGG_LIBRARY ...) macro, to make it work in Linux. See
 attachment for details.
 Cheers,

 Wang Rui
 2009/1/5 Sukender suky0...@free.fr

 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/

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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 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 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


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 cross-platform game engine - http://pvle.sourceforge.net/


Le Mon, 05 Jan 2009 15:42:48 +0100, Sukender suky0...@free.fr a écrit:

 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.

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


 Le Mon, 05 Jan 2009 14:30:50 +0100, Wang Rui wangra...@gmail.com a écrit:

 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
 )

 Otherwise I got lots of compile errors because of missing the OpenAL
 version. The OPENAL_VERSION macro had been defined in the configure.in before
 and maybe it could be made as an CMake option to users from now on.

 And I would suggest do a few changes to the FindOGG.cmake, especially the
 FIND_LIBRARY(OGG_LIBRARY ...) macro, to make it work in Linux. See
 attachment for details.
 Cheers,

 Wang Rui
 2009/1/5 Sukender suky0...@free.fr

 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/

 ___
 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