[c++][Ogre3D] Problemy z kompilacją


(system) #1

Mam problem z kompilacją przykładu http://pl.wikibooks.org/wiki/OGRE/kody/MyApp4.ccp wcześniejsze przykłady odpaliły się bez problemu jednak w tym wywala błędy z obsługi klawiatury i myszki:

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

Compiling...

test.cpp

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(38) : error C2065: 'mInputDevice' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(38) : error C2227: left of '->capture' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(40) : error C2227: left of '->getMouseButton' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(53) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(53) : error C2065: 'KC_1' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(62) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(62) : error C2065: 'KC_2' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(74) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(74) : error C2065: 'KC_UP' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(74) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(74) : error C2065: 'KC_W' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(77) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(77) : error C2065: 'KC_DOWN' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(77) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(77) : error C2065: 'KC_S' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(80) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(80) : error C2065: 'KC_LEFT' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(80) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(80) : error C2065: 'KC_A' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(82) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(82) : error C2065: 'KC_RIGHT' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(82) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(82) : error C2065: 'KC_D' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(85) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(85) : error C2065: 'KC_PGUP' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(85) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(85) : error C2065: 'KC_Q' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(87) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(87) : error C2065: 'KC_PGDOWN' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(87) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(87) : error C2065: 'KC_E' : undeclared identifier

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(92) : error C2227: left of '->getMouseButton' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(94) : error C2227: left of '->getMouseRelativeX' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(95) : error C2227: left of '->getMouseRelativeY' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(98) : error C2227: left of '->isKeyDown' must point to class/struct//generic type

        type is ''unknown-type''

c:\documents and settings\*\moje dokumenty\visual studio 2005\projects\testogr\testogr\test.cpp(98) : error C2065: 'KC_ESCAPE' : undeclared identifier

Build log was saved at "file://c:\Documents and Settings\*\Moje dokumenty\Visual Studio 2005\Projects\testOGR\testOGR\Debug\BuildLog.htm"

testOGR - 36 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Czy ktoś jest mi w stanie pomóc??