help needed

devangnegandhi

18-02-2009 11:26:59

hi,
I am a newbie in the world of OGRE. I have a need of playing a video file on a plane in OGRE. I have been hitting my head for the past 3 days trying to figure out how to import a plugin in OGRE. I have downloaded the TheoraVideo folder from the svn. I am running on Ubuntu 8.04 and have installed Ogre 1.6. the ./configure is returning no errors but during the make it returns the following error

make all-recursive
make[1]: Entering directory `/media/Others/ogre/ogrestuff/TheoraVideo'
Making all in src
make[2]: Entering directory `/media/Others/ogre/ogrestuff/TheoraVideo/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DOGRE_GUI_gtk -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/local/include -I/usr/local/include/OGRE -g -O2 -MT TheoraMovieClip.o -MD -MP -MF ".deps/TheoraMovieClip.Tpo" -c -o TheoraMovieClip.o TheoraMovieClip.cpp; \
then mv -f ".deps/TheoraMovieClip.Tpo" ".deps/TheoraMovieClip.Po"; else rm -f ".deps/TheoraMovieClip.Tpo"; exit 1; fi
In file included from TheoraMovieClip.cpp:37:
../include/TheoraMovieClip.h:45:27: error: ptypes/pasync.h: No such file or directory
In file included from TheoraMovieClip.cpp:37:
../include/TheoraMovieClip.h:117: error: ‘pt’ has not been declared
../include/TheoraMovieClip.h:117: error: expected `{' before ‘thread’
../include/TheoraMovieClip.h:117: error: function definition does not declare parameters
TheoraMovieClip.cpp:46: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:86: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:105: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:121: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:146: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:161: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:174: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:294: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:307: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:350: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:398: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:473: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:550: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:609: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:614: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:639: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
TheoraMovieClip.cpp:675: error: invalid use of incomplete type ‘class Ogre::TheoraMovieClip’
../include/TheoraPlayerPreReqs.h:43: error: forward declaration of ‘class Ogre::TheoraMovieClip’
make[2]: *** [TheoraMovieClip.o] Error 1
make[2]: Leaving directory `/media/Others/ogre/ogrestuff/TheoraVideo/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/Others/ogre/ogrestuff/TheoraVideo'
make: *** [all] Error 2


any help on this.

Also how am I suppose to configure in Ogre once if this gets compiled.
and I know that ffmpeg support has been stopped, but I am really in need of other formats to play too and cant figure out how to do it. I know about the issues related to patents in ffmpeg, but i am doing a research project and I desperately need support for other formats too. any help on that also is welcomed

Kreso

19-02-2009 17:07:35

I haven't really tackled linux building yet. Where did you get the configure script for TheoraVideoPlugin? Did you by any chance download the old pjcast's plugin?