Is there any way to play AVI in Irrlicht v1.3?

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
consruiz
Posts: 2
Joined: Fri Oct 19, 2007 4:40 pm

Post by consruiz »

help I've tried to include the aviplayer
and it gives me this error

1>c:\program files\microsoft directx sdk (april 2007)\include\dinput.h(325) : error C2872: 'IUnknown' : ambiguous symbol
1> could be 'c:\program files\microsoft visual studio 8\vc\platformsdk\include\unknwn.h(110) : IUnknown'
1> or 'c:\irrlicht-1.3.1\include\iunknown.h(42) : irr::IUnknown'


I know its because i used the use namespace irr;

but is there another way other that putting irr:: on all my variable declarations?

thanks
Ico
Posts: 289
Joined: Tue Aug 22, 2006 11:35 pm

Post by Ico »

Get 1.4 from SVN or keep 1.3.1 for a while and just rename all of Irrlicht's "IUnknown" to something different (don't remember it's new official name atm).
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

Ico wrote:(don't remember it's new official name atm)
IReferenceCounted
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You can simply change the include order of windows.h and the irrlicht headers. This will also fix the problems with IUnknown (except if you do using namespace too much).
consruiz
Posts: 2
Joined: Fri Oct 19, 2007 4:40 pm

AVI player

Post by consruiz »

Thanks for the reply guys, I've tried to rearrange the headers
but I've used using namespace a lot and it still gives me problems.

All I want is to play a video at the beginning as intro cinematic, nothing fancy, in full screen, what's the fastest way of doing it in irrlitch

or can I just call another exe to play it or use media player somehow?

Sorry this is my first time using irrlicht and my first game. I need a quick fix my deadline is next week :cry:
Post Reply