Can anyone build techdemo in Visual C++? 100 errors...

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
Wolf Dreamer
Posts: 121
Joined: Tue Feb 10, 2004 6:39 am
Location: the land of chaotic dreams
Contact:

Can anyone build techdemo in Visual C++? 100 errors...

Post by Wolf Dreamer »

Can anyone build techdemo in Visual C++?

I tried with the irrlicht version .5, the latest download, copying the most recent .dll into the windows\system\ and windows\system32\ just in case that mattered. But, alas, it doesn't compile.

When I first tried to load up the project it asked if I wanted to update it so I could use it with the current version of Visual Studios, and otherwise I could do nothing with it. So I agreed.

I have Microsoft Visual C++ .net Standard 2003.


------ Build started: Project: Techdemo, Configuration: Debug Win32 ------

Compiling...
main.cpp
h:\irrlicht-0.5\examples\Techdemo\main.cpp(23) : error C2039: 'EDT_DIRECTX8' : is not a member of 'irr::video'
h:\irrlicht-0.5\examples\Techdemo\main.cpp(23) : error C2065: 'EDT_DIRECTX8' : undeclared identifier
CMainMenu.cpp
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(17) : error C2039: 'EDT_SOFTWARE' : is not a member of 'irr::video'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(17) : error C2065: 'EDT_SOFTWARE' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(45) : error C2039: 'IGUITabControl' : is not a member of 'irr::gui'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(45) : error C2065: 'IGUITabControl' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(45) : error C2065: 'tabctrl' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(45) : error C2039: 'addTabControl' : is not a member of 'irr::gui::IGUIEnvironment'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\IGUIEnvironment.h(39) : see declaration of 'irr::gui::IGUIEnvironment'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(47) : error C2039: 'IGUITab' : is not a member of 'irr::gui'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(47) : error C2065: 'IGUITab' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(47) : error C2065: 'optTab' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(47) : error C2227: left of '->addTab' must point to class/struct/union
type is ''unknown-type''
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(47) : error C3861: 'tabctrl': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(48) : error C2039: 'IGUITab' : is not a member of 'irr::gui'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(48) : error C2065: 'aboutTab' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(48) : error C2227: left of '->addTab' must point to class/struct/union
type is ''unknown-type''
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(48) : error C3861: 'IGUITab': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(48) : error C3861: 'tabctrl': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(52) : error C3861: 'optTab': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(61) : error C3861: 'optTab': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(66) : error C3861: 'optTab': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(68) : error C3861: 'optTab': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(70) : error C3861: 'optTab': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(72) : error C3861: 'optTab': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(81) : error C3861: 'optTab': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(94) : error C3861: 'aboutTab': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(142) : error C2039: 'EDT_OPENGL' : is not a member of 'irr::video'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(142) : error C2065: 'EDT_OPENGL' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(143) : error C2039: 'EDT_DIRECTX8' : is not a member of 'irr::video'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(143) : error C2065: 'EDT_DIRECTX8' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(144) : error C2039: 'EDT_DIRECTX9' : is not a member of 'irr::video'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(144) : error C2065: 'EDT_DIRECTX9' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(145) : error C2039: 'EDT_SOFTWARE' : is not a member of 'irr::video'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(145) : error C3861: 'EDT_SOFTWARE': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(159) : error C2039: 'IGUIContextMenu' : is not a member of 'irr::gui'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(159) : error C2065: 'IGUIContextMenu' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(159) : error C2065: 'menu' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(159) : error C2039: 'addContextMenu' : is not a member of 'irr::gui::IGUIEnvironment'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\IGUIEnvironment.h(39) : see declaration of 'irr::gui::IGUIEnvironment'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(160) : error C2227: left of '->addItem' must point to class/struct/union
type is ''unknown-type''
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(160) : error C3861: 'menu': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(161) : error C2227: left of '->addItem' must point to class/struct/union
type is ''unknown-type''
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(161) : error C3861: 'menu': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(162) : error C2227: left of '->addSeparator' must point to class/struct/union
type is ''unknown-type''
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(162) : error C3861: 'menu': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(163) : error C2227: left of '->addItem' must point to class/struct/union
type is ''unknown-type''
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(163) : error C3861: 'menu': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(172) : error C2039: 'EGET_MENU_ITEM_SELECTED' : is not a member of 'irr::gui'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(172) : error C2065: 'EGET_MENU_ITEM_SELECTED' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(172) : error C2676: binary '==' : 'irr::gui::EGUI_EVENT_TYPE' does not define this operator or a conversion to a type acceptable to the predefined operator
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(174) : error C2039: 'IGUIContextMenu' : is not a member of 'irr::gui'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(174) : error C2059: syntax error : ')'
h:\irrlicht-0.5\examples\Techdemo\CMainMenu.cpp(174) : error C3861: 'IGUIContextMenu': identifier not found, even with argument-dependent lookup
CDemo.cpp
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(216) : error C2039: 'createFollowSplineAnimator' : is not a member of 'irr::scene::ISceneManager'
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\ISceneManager.h(87) : see declaration of 'irr::scene::ISceneManager'
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(247) : error C2065: 'SKeyMap' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(247) : error C2146: syntax error : missing ';' before identifier 'keyMap'
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(247) : error C2065: 'keyMap' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(248) : error C2228: left of '.Action' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(248) : error C2065: 'EKA_MOVE_FORWARD' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(248) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(249) : error C2228: left of '.KeyCode' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(249) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(250) : error C2228: left of '.Action' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(250) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(250) : error C3861: 'EKA_MOVE_FORWARD': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(251) : error C2228: left of '.KeyCode' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(251) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(253) : error C2228: left of '.Action' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(253) : error C2065: 'EKA_MOVE_BACKWARD' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(253) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(254) : error C2228: left of '.KeyCode' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(254) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(255) : error C2228: left of '.Action' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(255) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(255) : error C3861: 'EKA_MOVE_BACKWARD': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(256) : error C2228: left of '.KeyCode' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(256) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(258) : error C2228: left of '.Action' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(258) : error C2065: 'EKA_STRAFE_LEFT' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(258) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(259) : error C2228: left of '.KeyCode' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(259) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(260) : error C2228: left of '.Action' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(260) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(260) : error C3861: 'EKA_STRAFE_LEFT': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(261) : error C2228: left of '.KeyCode' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(261) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(263) : error C2228: left of '.Action' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(263) : error C2065: 'EKA_STRAFE_RIGHT' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(263) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(264) : error C2228: left of '.KeyCode' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(264) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(265) : error C2228: left of '.Action' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(265) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(265) : error C3861: 'EKA_STRAFE_RIGHT': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(266) : error C2228: left of '.KeyCode' must have class/struct/union type
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(266) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(268) : error C3861: 'keyMap': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(316) : error C2039: 'EMT_LIGHTMAP_ADD' : is not a member of 'irr::video'
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(316) : error C2065: 'EMT_LIGHTMAP_ADD' : undeclared identifier
h:\irrlicht-0.5\examples\Techdemo\CDemo.cpp(498) : error C2664: 'irr::gui::IGUIEnvironment::addStaticText' : cannot convert parameter 2 from 'irr::core::rect<T>' to 'bool'
with
[
T=irr::s32
]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

Build log was saved at "file://h:\irrlicht-0.5\examples\Techdemo\Debug\BuildLog.htm"
Techdemo - 100 error(s), 0 warning(s)


---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped
The last sane human being in a world gone mad

http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Maybe you did not update your include directories in Visual Studio?
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

I can tell by your StaticText error, that you're still linking against the old 0.4 version of the IrrLicht headers.
a screen cap is worth 0x100000 DWORDS
Wolf Dreamer
Posts: 121
Joined: Tue Feb 10, 2004 6:39 am
Location: the land of chaotic dreams
Contact:

curse you Microsoft demons and your accursed unclickable....

Post by Wolf Dreamer »

I click on View, I see property pages dulled out, me unable to select it.

I've been looking through the help, and apparently I need to be able to click that to update my include directories.

Any idea what to do?

The Visual C++ help files tell me to do something I can not do... its just odd.
The last sane human being in a world gone mad

http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
Wolf Dreamer
Posts: 121
Joined: Tue Feb 10, 2004 6:39 am
Location: the land of chaotic dreams
Contact:

got to click on solutions menu to access view property pages

Post by Wolf Dreamer »

Got to click on solutions menu to access view property pages. Doh!

If you have last clicked on the area with the code- or the code window is we technically sophisticated people call it- then its faded out in the View menu and you can not select it.

But clicking over on the solutions menu, provided it is open, then allows it to be selected in the View menu.

OK. Everything should work now. Thats just a rather strange error.

I posted over at game dev and stumbled upon it.
http://www.gamedev.net/community/forums ... _id=208160
The last sane human being in a world gone mad

http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
Wolf Dreamer
Posts: 121
Joined: Tue Feb 10, 2004 6:39 am
Location: the land of chaotic dreams
Contact:

found the real problem

Post by Wolf Dreamer »

Back when using 4.0 ... or was it 4.1... anyway, I had copied all the header files .h into the Visual Studios\include\ folder. Doh! I erased them, and all the errors went away.


Although the battle was long and hard, mostly do to personal stupidity, I have alas emerged victorious. I will now go forth and begin my great adventure in game making, sure to take on many epic battles along the way, before slaying the evil beast that is reality, and make a dream take form with a kick ass massive multiplayer game.
The last sane human being in a world gone mad

http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
Post Reply