Critter compilation errors

joaopccosta

25-10-2010 14:49:46

Hi there.

I can't seem to get Critter to compile properly. Dunno what's wrong :\


1>------ Build started: Project: Critter, Configuration: DebugStatic Win32 ------
1>Performing Pre-Build Event...
1>Compiling...
1>CritterStable.cpp
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(71) : error C2470: 'TerrainLayerSamplerElement' : looks like a function definition, but there is no parameter list; skipping apparent body
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(96) : error C2143: syntax error : missing ';' before '<'
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(96) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(96) : error C2039: 'type' : is not a member of '`global namespace''
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(101) : error C2470: 'TerrainLayerSampler' : looks like a function definition, but there is no parameter list; skipping apparent body
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(119) : warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(119) : error C2143: syntax error : missing ';' before '<'
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(119) : error C2059: syntax error : '<'
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(119) : error C2039: 'type' : is not a member of '`global namespace''
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(126) : error C2470: 'TerrainLayerDeclaration' : looks like a function definition, but there is no parameter list; skipping apparent body
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(155) : warning C4099: 'Ogre::_OgreTerrainExport' : type name first seen using 'struct' now seen using 'class'
1> c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(71) : see declaration of 'Ogre::_OgreTerrainExport'
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(155) : error C2470: 'TerrainMaterialGenerator' : looks like a function definition, but there is no parameter list; skipping apparent body
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(388) : error C2065: 'TerrainMaterialGenerator' : undeclared identifier
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainlayerblendmap.h(61) : warning C4099: 'Ogre::_OgreTerrainExport' : type name first seen using 'struct' now seen using 'class'
1> c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainmaterialgenerator.h(71) : see declaration of 'Ogre::_OgreTerrainExport'
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainlayerblendmap.h(61) : error C2470: 'TerrainLayerBlendMap' : looks like a function definition, but there is no parameter list; skipping apparent body
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainlayerblendmap.h(190) : warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainlayerblendmap.h(190) : error C2143: syntax error : missing ';' before '<'
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainlayerblendmap.h(190) : error C2059: syntax error : '<'
1>c:\projects\ogre\plugins\octreescenemanager\include\ogreterrainlayerblendmap.h(190) : error C2039: 'type' : is not a member of '`global namespace''
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(144) : error C2039: 'destroy' : is not a member of 'Ogre::Any'
1> c:\projects\ogre\ogremain\include\ogreany.h(52) : see declaration of 'Ogre::Any'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(448) : error C2143: syntax error : missing ';' before '<'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(448) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(448) : error C2039: 'type' : is not a member of '`global namespace''
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(448) : error C2238: unexpected token(s) preceding ';'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(449) : error C2059: syntax error : '<'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(449) : error C2039: 'type' : is not a member of '`global namespace''
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(449) : error C2238: unexpected token(s) preceding ';'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(450) : error C2146: syntax error : missing ';' before identifier 'mRequestQueue'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(450) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(450) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(451) : error C2146: syntax error : missing ';' before identifier 'mProcessQueue'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(451) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(451) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(452) : error C2146: syntax error : missing ';' before identifier 'mResponseQueue'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(452) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(452) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(456) : error C2079: 'Ogre::DefaultWorkQueueBase::OGRE_THREAD_WORKER_INHERIT' uses undefined struct 'Ogre::WorkerFunc'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(456) : error C2473: 'OGRE_THREAD_WORKER_INHERIT' : looks like a function definition, but there is no parameter list.
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(459) : error C2590: 'WorkerFunc' : only a constructor can have a base/member initializer list
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(407) : error C2065: 'mShuttingDown' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(475) : error C2061: syntax error : identifier 'mRWMutex'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(475) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(475) : warning C4183: 'OGRE_RW_MUTEX': missing return type; assumed to be a member function returning 'int'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(476) : error C2143: syntax error : missing ';' before '*'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(476) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(476) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(478) : error C2061: syntax error : identifier 'RequestHandler'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(492) : error C2143: syntax error : missing ';' before '*'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(492) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(492) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(492) : warning C4183: 'getHandler': missing return type; assumed to be a member function returning 'int'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(497) : error C2143: syntax error : missing ';' before '*'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(497) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(497) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(497) : error C2143: syntax error : missing ',' before '*'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(498) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(511) : warning C4183: 'handleRequest': missing return type; assumed to be a member function returning 'int'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(478) : error C2065: 'handler' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(478) : error C2614: 'Ogre::RequestHandlerHolder' : illegal member initialization: 'mHandler' is not a base or member
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(485) : error C2065: 'mRWMutex' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(485) : error C3861: 'OGRE_LOCK_RW_MUTEX_WRITE': identifier not found
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(486) : error C2065: 'mHandler' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(492) : error C2065: 'mHandler' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(501) : error C2065: 'mRWMutex' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(501) : error C3861: 'OGRE_LOCK_RW_MUTEX_READ': identifier not found
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(502) : error C2065: 'Response' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(502) : error C2065: 'response' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(503) : error C2065: 'mHandler' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(505) : error C2065: 'mHandler' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(505) : error C2227: left of '->canHandleRequest' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(505) : error C2065: 'req' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(505) : error C2065: 'srcQ' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(507) : error C2065: 'response' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(507) : error C2065: 'mHandler' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(507) : error C2227: left of '->handleRequest' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(507) : error C2065: 'req' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(507) : error C2065: 'srcQ' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(510) : error C2065: 'response' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(517) : error C2143: syntax error : missing ';' before '<'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(517) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(517) : error C2039: 'type' : is not a member of '`global namespace''
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(518) : warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(518) : error C2143: syntax error : missing ';' before '<'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(518) : error C2059: syntax error : '<'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(518) : error C2039: 'type' : is not a member of '`global namespace''
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(519) : error C2143: syntax error : missing ';' before '<'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(519) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(519) : error C2039: 'type' : is not a member of '`global namespace''
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(520) : warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(520) : error C2143: syntax error : missing ';' before '<'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(520) : error C2059: syntax error : '<'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(520) : error C2039: 'type' : is not a member of '`global namespace''
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(522) : error C2146: syntax error : missing ';' before identifier 'mRequestHandlers'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(522) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(522) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(523) : error C2146: syntax error : missing ';' before identifier 'mResponseHandlers'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(523) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(523) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(524) : error C2146: syntax error : missing ';' before identifier 'mRequestCount'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(524) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(524) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(532) : error C2065: 'mRequestHandlerMutex' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(532) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(535) : error C2065: 'Request' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(535) : error C2065: 'r' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(535) : error C2062: type 'bool' unexpected
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(536) : error C2143: syntax error : missing ';' before '*'
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(536) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(536) : error C2065: 'Request' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(536) : error C2065: 'r' : undeclared identifier
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(536) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\projects\ogre\ogremain\include\ogreworkqueue.h(536) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>Build log was saved at "file://c:\Users\João Costa\Downloads\NxOgre Critter\build\vc9\Critter\DebugStatic\BuildLog.htm"
1>Critter - 103 error(s), 9 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Any help? :\

betajaen

25-10-2010 15:47:41

What version of Ogre are you using?

spacegaier

25-10-2010 15:49:53

Correct me if I am wrong. But could it be that the project name is the only thing related to Critter here ;) ?

At least the errors seem to have nothing to do with it. They are caused by the OctreeSceneManagerPlugin. Never saw something like "TerrainLayerSampler" in NxOgre.

joaopccosta

25-10-2010 17:04:21

@ betajaen - I'm not really sure right now because i'm not on front of my computer now but... i guess it's 1.6. and it was source compiled, not the sdk version. will that be a hassle? :?

@ spacegaier - i opened the solution for vc9, tried to compile a couple of time and got some messages saying that some .h files were missing. turns out my ogre version didn't have those headers so i got the latest sdk which had them, and added to the ogre includes.

plus i'm kinda new to ogre/nxogre :P so please forgive my ignorance regarding the subject

betajaen

25-10-2010 17:54:27

Critter was written in 1.7 in mind, due to the new Terrain plugin. Looks like that's the problem from that log there.

However, it may work if you go into "CritterConfiguration.h" and change:

#define Critter_UsesOgreTerrain 1

to

#define Critter_UsesOgreTerrain 0

Then recompile Critter.

joaopccosta

26-10-2010 10:25:41

Good morning everyone :P

Well betajaen, i tried what you said and:

1>------ Build started: Project: Critter, Configuration: DebugStatic Win32 ------
1>Performing Pre-Build Event...
1>Compiling...
1>CritterStable.cpp
1>Compiling...
1>CritterBodyDescription.cpp
1>CritterKinematicBody.cpp
1>CritterMeshFunctions.cpp
1>CritterOgreResource.cpp
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(83) : error C2039: 'isReadable' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(83) : error C2039: 'isWriteable' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(175) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(181) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(187) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(193) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(199) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(205) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(211) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(217) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(223) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(229) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(235) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(241) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(247) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(253) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(259) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(265) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(271) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(277) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(283) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(289) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(295) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(301) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(309) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(315) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterogreresource.cpp(321) : error C2039: 'write' : is not a member of 'Ogre::DataStream'
1> c:\projects\ogre\ogremain\include\ogredatastream.h(58) : see declaration of 'Ogre::DataStream'
1>CritterOgreResourceProtocol.cpp
1>CritterParticleRenderable.cpp
1>CritterPointRenderable.cpp
1>CritterRenderable.cpp
1>CritterRenderSystem.cpp
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterrendersystem.cpp(353) : error C2661: 'Ogre::SceneManager::createEntity' : no overloaded function takes 1 arguments
1>c:\users\joão costa\downloads\nxogre critter\build\source\critterrendersystem.cpp(360) : error C2661: 'Ogre::SceneManager::createEntity' : no overloaded function takes 1 arguments
1>CritterTerrainDescription.cpp
1>CritterBody.cpp
1>Generating Code...
1>Build log was saved at "file://c:\Users\João Costa\Downloads\NxOgre Critter\build\vc9\Critter\DebugStatic\BuildLog.htm"
1>Critter - 29 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

:( :( :(

betajaen

26-10-2010 11:22:18

Oh, those are Ogre 1.7 specific. Can't really fix anything with that with defines. You may have to upgrade I'm afraid.

joaopccosta

26-10-2010 11:45:20

*sigh*
the tragedy!

thanks for your help anyway ;)

spacegaier

26-10-2010 18:04:33

*sigh*
the tragedy!


It won't hurt (much) ;) . Will only get better...

joaopccosta

27-10-2010 14:37:20

True :P

It has been done! (It works :P now I can finally work on the real project!)
Thanks for your help!