TexelOne
26-04-2008 00:17:36
Hi,
I'm new to OGRE and I'm trying to build PLSM2 without success .
I followed the instructions from: http://www.ogre3d.org/wiki/index.php/Paging_Scene_Manager_Installation, under section "Ogre SDK Compatible Install" and then "VC8.0 Install".
I extracted the PLSM2 source zip into C:\OGRESDK\ and so far been able to build Tool_MapSplitter from the solution correctly, but when building the Plugin_PagingLandScapeSceneManager2 project, I get these errors:
These are the project properties I have:
What am I missing here ? Please help...
Thanks in advance!
I'm new to OGRE and I'm trying to build PLSM2 without success .
I followed the instructions from: http://www.ogre3d.org/wiki/index.php/Paging_Scene_Manager_Installation, under section "Ogre SDK Compatible Install" and then "VC8.0 Install".
I extracted the PLSM2 source zip into C:\OGRESDK\ and so far been able to build Tool_MapSplitter from the solution correctly, but when building the Plugin_PagingLandScapeSceneManager2 project, I get these errors:
Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
PagingLandScape.cpp
c:\ogresdk\samples\common\include\PagingLandScape2Overlay.h(67) : error C2061: syntax error : identifier 'MouseEvent'
c:\ogresdk\samples\common\include\PagingLandScape2Overlay.h(73) : error C2061: syntax error : identifier 'MouseEvent'
c:\ogresdk\samples\common\include\PagingLandScape2Overlay.h(69) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2Overlay.h(69) : error C2227: left of '->getX' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2Overlay.h(70) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2Overlay.h(70) : error C2227: left of '->getY' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2Overlay.h(75) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(5) : error C2504: 'KeyListener' : base class undefined
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(6) : error C2504: 'MouseListener' : base class undefined
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(7) : error C2504: 'MouseMotionListener' : base class undefined
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(105) : error C2061: syntax error : identifier 'MouseEvent'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(114) : error C2061: syntax error : identifier 'MouseEvent'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(119) : error C2061: syntax error : identifier 'MouseEvent'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(124) : error C2061: syntax error : identifier 'MouseEvent'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(139) : error C2061: syntax error : identifier 'MouseEvent'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(152) : error C2061: syntax error : identifier 'MouseEvent'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(161) : error C2061: syntax error : identifier 'MouseEvent'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(423) : error C2061: syntax error : identifier 'KeyEvent'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(430) : error C2061: syntax error : identifier 'KeyEvent'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(501) : error C2061: syntax error : identifier 'KeyEvent'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(596) : error C2143: syntax error : missing ';' before '*'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(596) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(596) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(597) : error C2143: syntax error : missing ';' before '*'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(597) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(597) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(36) : error C2614: 'PagingLandScapeFrameListener' : illegal member initialization: 'mInputDevice' is not a base or member
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(36) : error C2614: 'PagingLandScapeFrameListener' : illegal member initialization: 'mEventProcessor' is not a base or member
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(51) : error C2065: 'mEventProcessor' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(51) : error C2061: syntax error : identifier 'EventProcessor'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(52) : error C2065: 'mEventProcessor' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(52) : error C2227: left of '->initialise' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(55) : error C2065: 'mEventProcessor' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(55) : error C2227: left of '->startProcessingEvents' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(56) : error C2065: 'mEventProcessor' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(56) : error C2227: left of '->addKeyListener' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(57) : error C2065: 'mEventProcessor' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(57) : error C2227: left of '->addMouseListener' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(58) : error C2065: 'mEventProcessor' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(58) : error C2227: left of '->addMouseMotionListener' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(59) : error C2065: 'mInputDevice' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(59) : error C2065: 'mEventProcessor' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(59) : error C2227: left of '->getInputReader' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(77) : error C2065: 'mInputDevice' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(77) : error C2653: 'PlatformManager' : is not a class or namespace name
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(77) : error C2228: left of '.createInputReader' must have class/struct/union
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(77) : error C3861: 'getSingleton': identifier not found
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(78) : error C2065: 'mInputDevice' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(78) : error C2227: left of '->initialise' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(96) : error C2065: 'mEventProcessor' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(96) : error C2541: 'delete' : cannot delete objects that are not pointers
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(107) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(107) : error C2227: left of '->getButtonID' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(107) : error C2653: 'MouseEvent' : is not a class or namespace name
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(107) : error C2065: 'BUTTON0_MASK' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(111) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(111) : error C2227: left of '->consume' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(116) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(116) : error C2227: left of '->consume' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(121) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(121) : error C2227: left of '->consume' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(126) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(126) : error C2227: left of '->getButtonID' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(128) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(128) : error C2227: left of '->getX' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(129) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(129) : error C2227: left of '->getY' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(134) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(136) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(136) : error C2227: left of '->consume' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(142) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(142) : error C2227: left of '->getButtonID' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(142) : error C2653: 'MouseEvent' : is not a class or namespace name
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(142) : error C2065: 'BUTTON0_MASK' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(144) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(144) : error C2227: left of '->getX' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(145) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(145) : error C2227: left of '->getY' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(148) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(149) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(149) : error C2227: left of '->consume' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(154) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(154) : error C2227: left of '->getButtonID' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(154) : error C2653: 'MouseEvent' : is not a class or namespace name
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(154) : error C2065: 'BUTTON0_MASK' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(158) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(158) : error C2227: left of '->consume' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(164) : error C2065: 'e' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(164) : error C2227: left of '->consume' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(187) : error C2039: 'setDebugText' : is not a member of 'Ogre::RenderWindow'
c:\ogresdk\include\OgreRenderWindow.h(55) : see declaration of 'Ogre::RenderWindow'
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(195) : error C2065: 'mInputDevice' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(195) : error C2227: left of '->capture' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(202) : error C2065: 'mInputDevice' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(202) : error C2227: left of '->isKeyDown' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(202) : error C2065: 'KC_ESCAPE' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(209) : error C2065: 'mInputDevice' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(209) : error C2227: left of '->isKeyDown' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(209) : error C2065: 'KC_LCONTROL' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(215) : error C2065: 'mInputDevice' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(215) : error C2227: left of '->isKeyDown' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(215) : error C2065: 'KC_SPACE' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(223) : error C2065: 'mInputDevice' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(223) : error C2227: left of '->isKeyDown' must point to class/struct/union/generic type
type is ''unknown-type''
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(223) : error C2065: 'KC_A' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(224) : error C2065: 'mInputDevice' : undeclared identifier
c:\ogresdk\samples\common\include\PagingLandScape2FrameListener.h(224) : fatal error C1003: error count exceeds 100; stopping compilation
These are the project properties I have:
C/C++ - General - Additional Include Directories:
..\include;"$(OGRE_HOME)\include";"$(OGRE_HOME)\Plugins\PagingLandScape2\include";..\..\..\Dependencies\include
Linker - General - Additional Library Directories:
"$(OGRE_HOME)\lib\"
Linker - Input - Additional Dependencies:
OgreMain_d.lib OIS_d.lib (using also OgreMain.lib OIS.lib for release)
What am I missing here ? Please help...
Thanks in advance!