heelp viz erors

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
narx

heelp viz erors

Post by narx »

i haw erors on compiling in c++ bulder



[C++ Error] IRRLICHT.H(226): E2108 Improper use of typedef 'video::EDriverType'
[C++ Error] IRRLICHT.H(226): E2293 ) expected
[C++ Warning] irrMath.h(15): W8058 Cannot create pre-compiled header: initialized data in header
[C++ Error] systobj.h(336): E2015 Ambiguity between 'IUnknown' and 'irr::IUnknown'
[C++ Error] systvar.h(58): E2015 Ambiguity between 'IUnknown' and 'irr::IUnknown'
[C++ Error] systvar.h(76): E2015 Ambiguity between 'IUnknown' and 'irr::IUnknown'
[C++ Error] systvar.h(89): E2015 Ambiguity between 'IUnknown' and 'irr::IUnknown'

************************************************************

IRRLICHT_API IrrlichtDevice* createDevice(
video::EDriverType deviceType = video::DT_SOFTWARE,
const core::dimension2d<s32>& windowSize = core::dimension2d<s32>(640,480),
u32 bits = 16,
bool fullscreen = false,
bool stencilbuffer=false,
IEventReceiver* receiver = 0);
***********************************************************
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

What you have there is namespace issues.

When I had this issue, I fixed it by removing the DirectX9 SDK directory include from my project properties.

Seems like some other include path that you have may be wanting to use IUnknown also.
Crud, how do I do this again?
Post Reply